[Bug 14635] Regression - Cups printer not showing after upgrade to 1.1.2

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jul 27 14:06:35 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=14635





--- Comment #9 from max at veneto.com  2008-07-27 14:06:34 ---
(In reply to comment #8)
> Attach the relevant pat of the configure.log after line
> configure:15162: checking for -lcups
> 

configure:15162: checking for -lcups
configure:15197: ccache gcc-4.2 -m32 -o conftest -g -O2   -L/lib32 -L/usr/lib32
-L/home/massimo/sources/wine/lib32 -Wl,-rpath,/lib32 -Wl,-rpath,/usr/lib32
conftest.c -lcups  -lcups -L/usr/lib -g -O2 -g -Wall -O2
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
-DDBUS_API_SUBJECT_TO_CHANGE -Wl,-Bsymbolic-functions -lgssapi_krb5 -lkrb5
-lk5crypto -lcom_err -lgnutls -lz -lpthread -lm -lcrypt  >&5
/usr/bin/ld: skipping incompatible /usr/lib/libgnutls.so when searching for
-lgnutls
/usr/bin/ld: skipping incompatible /usr/lib/libgnutls.a when searching for
-lgnutls
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-linux-gnu/4.2.3/../../../libgnutls.so when searching for
-lgnutls
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-linux-gnu/4.2.3/../../../libgnutls.a when searching for
-lgnutls
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libgnutls.so when searching
for -lgnutls
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libgnutls.a when searching
for -lgnutls
/usr/bin/ld: skipping incompatible /usr/lib/libgnutls.so when searching for
-lgnutls
/usr/bin/ld: skipping incompatible /usr/lib/libgnutls.a when searching for
-lgnutls
/usr/bin/ld: cannot find -lgnutls
collect2: ld returned 1 exit status


The problem is that ./configure is looking for cups libraries in /lib and not
in /lib32.
For the rest of configure script the problem is solved passing /lib32 as
library search path in command line, but using cups-config returns the "normal"
path for 64 bit executables "/usr/lib", no way to tell him we're searching for
32 bit libs.
So, the problem is just for build on 64 bit ubuntu (and maybe some other 64 bit
linuxes).

BTW, as build on ubuntu64 bits already needs a workaround (the lib32 folder in
source three containing simlinks to 32 bit libraries), I guess the config
script need some rework.
By now the temporary solution would be check for 64 bit machine and skip the
cups-config stuff. POr, restore the old way of finding cups until a better one
is found...

Ciao

Max


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list