|
From: Johannes M. <js...@su...> - 2005-01-18 14:28:09
|
Hello,
what we did up to now to get HPLIP built on 64-bit platforms:
1.
Add /usr/lib64 to CUPSSEARCHPATH to get the CUPS backend "hp"
installed under /usr/lib64/cups/backend on 64-bit architectures.
This is the directory where the other CUPS backends are
installed on 64-bit architectures.
Here the diff (too long lines are wrapped here):
------------------------------------------------------------------
--- backend/hp/configure.in.ORG 2004-12-16 01:13:19.000000000 +0100
+++ backend/hp/configure.in 2005-01-12 10:35:37.079406203 +0100
@@ -20,7 +20,7 @@
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
-CUPSSEARCHPATH="/usr/share /usr/local/share /usr/lib
/usr/local/lib /usr/libexec /opt"
+CUPSSEARCHPATH="/usr/share /usr/local/share /usr/lib
/usr/local/lib /usr/lib64 /usr/libexec /opt"
AC_MSG_CHECKING("for cups backend path")
CUPS_BACKEND_PATH="/usr/lib/cups/backend"
------------------------------------------------------------------
I recommend to change backend/hp/configure.in in your next version
accordingly.
2.
Add --libdir=%_libdir to the ./configure call.
%_libdir expands to /usr/lib on 32-bit architectures
and to /usr/lib64 on 64--bit architectures.
I recommend to add at least a note to the installation instructions
regarding 64-bit architectures.
Regards,
Johannes Meixner
--
SUSE LINUX Products GmbH, Maxfeldstrasse 5 Mail: js...@su...
90409 Nuernberg, Germany WWW: http://www.suse.de/
|