Open forum for end-user questions about
Wine . Before asking questions, check out the
Wiki as a first step.
Forum Rules
Gargi
Level 2
Posts: 13 Joined: Sat Jul 26, 2008 4:03 pm
Post
by Gargi » Sat Jul 26, 2008 4:47 pm
Just tried to compile WINE on opensuse 11 64bit. I did everything as described here:
WineOn64bit - The Official Wine Wiki
But running the configure script I'm getting that message:
Code: Select all
configure: libcups development files not found, CUPS won't be supported.
That means that the printer output isn't working after compiling it.
Strange thing is, that the header files were found and are available:
Code: Select all
/Work/wine-1.1.2> cat fehler.txt | grep cups
checking cups/cups.h usability... yes
checking cups/cups.h presence... yes
checking for cups/cups.h... yes
checking for -lcups... not found
Did anyone have the same problem? I guess that a package is still missing, but I nearly installed everything looking like having something to do with cups and its development packages.
Thanks for any help!
cu
Gargi
vitamin
Moderator
Posts: 6605 Joined: Sat Feb 23, 2008 2:29 pm
Post
by vitamin » Sat Jul 26, 2008 6:04 pm
Gargi wrote: Just tried to compile WINE on opensuse 11 64bit. I did everything as described here:
WineOn64bit - The Official Wine Wiki
But running the configure script I'm getting that message:
Code: Select all
configure: libcups development files not found, CUPS won't be supported.
That is not complete list. It's missing quite some number of packages. In your case you need cups-devel.
Gargi
Level 2
Posts: 13 Joined: Sat Jul 26, 2008 4:03 pm
Post
by Gargi » Sat Jul 26, 2008 6:07 pm
cups-devel is still installed using the 1.3.7 version. Strange thing is that the headers are found.
cu
Gargi
Gargi
Level 2
Posts: 13 Joined: Sat Jul 26, 2008 4:03 pm
Post
by Gargi » Sat Jul 26, 2008 6:20 pm
also switched the cups-devel package to 32bit. It also won't be accepted.
cu
Gargi
vitamin
Moderator
Posts: 6605 Joined: Sat Feb 23, 2008 2:29 pm
Post
by vitamin » Sat Jul 26, 2008 6:26 pm
Gargi wrote: cups-devel is still installed using the 1.3.7 version. Strange thing is that the headers are found.
cu
Gargi
Did you created those symlinks?
Gargi
Level 2
Posts: 13 Joined: Sat Jul 26, 2008 4:03 pm
Post
by Gargi » Sat Jul 26, 2008 6:29 pm
Yes I did:
Code: Select all
:/usr/lib> dir | grep cups
-rw-r--r-- 1 root root 328192 7. Jun 00:44 libcups.a
-rw-r--r-- 1 root root 144242 7. Jun 00:44 libcupsimage.a
lrwxrwxrwx 1 root root 17 27. Jul 01:18 libcupsimage.so -> libcupsimage.so.2
-rwxr-xr-x 1 root root 101904 7. Jun 00:45 libcupsimage.so.2
lrwxrwxrwx 1 root root 12 27. Jul 01:18 libcups.so -> libcups.so.2
-rwxr-xr-x 1 root root 223244 7. Jun 00:45 libcups.so.2
vitamin
Moderator
Posts: 6605 Joined: Sat Feb 23, 2008 2:29 pm
Post
by vitamin » Sat Jul 26, 2008 6:31 pm
Gargi wrote: Yes I did:
Code: Select all
:/usr/lib> dir | grep cups
-rw-r--r-- 1 root root 328192 7. Jun 00:44 libcups.a
-rw-r--r-- 1 root root 144242 7. Jun 00:44 libcupsimage.a
lrwxrwxrwx 1 root root 17 27. Jul 01:18 libcupsimage.so -> libcupsimage.so.2
-rwxr-xr-x 1 root root 101904 7. Jun 00:45 libcupsimage.so.2
lrwxrwxrwx 1 root root 12 27. Jul 01:18 libcups.so -> libcups.so.2
-rwxr-xr-x 1 root root 223244 7. Jun 00:45 libcups.so.2
Then post _relevant_ part of the configure.log (where it says it can't find -lcups
Gargi
Level 2
Posts: 13 Joined: Sat Jul 26, 2008 4:03 pm
Post
by Gargi » Sat Jul 26, 2008 6:40 pm
I took the lines containg "cups"
Code: Select all
~/Work/wine-1.1.2> cat config.log | grep cups
configure:15037: checking cups/cups.h usability
configure:15078: checking cups/cups.h presence
configure:15146: checking for cups/cups.h
configure:15162: checking for -lcups
configure:15197: gcc -m32 -o conftest -g -O2 conftest.c -lcups -lcups -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lkeyutils -lresolv -ldl -lssl -lcrypto -lz -lpthread -lm -lcrypt >&5
| char cupsGetDefault ();
| return cupsGetDefault ();
configure:24483: libcups development files not found, CUPS won't be supported.
ac_cv_header_cups_cups_h=yes
Gargi
Level 2
Posts: 13 Joined: Sat Jul 26, 2008 4:03 pm
Post
by Gargi » Sat Jul 26, 2008 6:43 pm
That also could be interesting:
Code: Select all
configure:15162: checking for -lcups
configure:15197: gcc -m32 -o conftest -g -O2 conftest.c -lcups -lcups -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lkeyutils -lresolv -ldl -lssl -lcrypto -lz -lpthread -lm -lcrypt >&5
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../libcom_err.so when searching for -lcom_err
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../libcom_err.a when searching for -lcom_err
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libcom_err.so when searching for -lcom_err
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libcom_err.a when searching for -lcom_err
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: cannot find -lcom_err
collect2: ld returned 1 exit status
Gargi
Level 2
Posts: 13 Joined: Sat Jul 26, 2008 4:03 pm
Post
by Gargi » Sat Jul 26, 2008 7:00 pm
After installing libcom_err_devel-32bit it looks like that now:
Code: Select all
configure:15037: checking cups/cups.h usability
configure:15054: gcc -m32 -c -g -O2 conftest.c >&5
configure:15060: $? = 0
configure:15074: result: yes
configure:15078: checking cups/cups.h presence
configure:15093: gcc -m32 -E conftest.c
configure:15099: $? = 0
configure:15113: result: yes
configure:15146: checking for cups/cups.h
configure:15154: result: yes
configure:15162: checking for -lcups
configure:15197: gcc -m32 -o conftest -g -O2 conftest.c -lcups -lcups -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lkeyutils -lresolv -ldl -lssl -lcrypto -lz -lpthread -lm -lcrypt >&5
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../libkeyutils.so when searching for -lkeyutils
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libkeyutils.so when searching for -lkeyutils
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: cannot find -lkeyutils
collect2: ld returned 1 exit status
Gargi
Level 2
Posts: 13 Joined: Sat Jul 26, 2008 4:03 pm
Post
by Gargi » Sat Jul 26, 2008 7:09 pm
I got it!
Following link did the trick:
Code: Select all
cd /lib
ln -s libkeyutils.so.1 libkeyutils.so
The result now:
Code: Select all
cat config.log | grep cups
configure:15037: checking cups/cups.h usability
configure:15078: checking cups/cups.h presence
configure:15146: checking for cups/cups.h
configure:15162: checking for -lcups
configure:15197: gcc -m32 -o conftest -g -O2 conftest.c -lcups -lcups -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lkeyutils -lresolv -ldl -lssl -lcrypto -lz -lpthread -lm -lcrypt >&5
configure:15230: result: libcups.so.2
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
| #define SONAME_LIBCUPS "libcups.so.2"
ac_cv_header_cups_cups_h=yes
ac_cv_lib_soname_cups=libcups.so.2
#define SONAME_LIBCUPS "libcups.so.2"
But thank you very much for the hint to look at the config.log
cu
Gargi
vitamin
Moderator
Posts: 6605 Joined: Sat Feb 23, 2008 2:29 pm
Post
by vitamin » Sat Jul 26, 2008 7:23 pm
Gargi wrote: After installing libcom_err_devel-32bit it looks like that now:
Code: Select all
configure:15037: checking cups/cups.h usability
configure:15054: gcc -m32 -c -g -O2 conftest.c >&5
configure:15060: $? = 0
configure:15074: result: yes
configure:15078: checking cups/cups.h presence
configure:15093: gcc -m32 -E conftest.c
configure:15099: $? = 0
configure:15113: result: yes
configure:15146: checking for cups/cups.h
configure:15154: result: yes
configure:15162: checking for -lcups
configure:15197: gcc -m32 -o conftest -g -O2 conftest.c -lcups -lcups -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lkeyutils -lresolv -ldl -lssl -lcrypto -lz -lpthread -lm -lcrypt >&5
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../libkeyutils.so when searching for -lkeyutils
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libkeyutils.so when searching for -lkeyutils
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: cannot find -lkeyutils
collect2: ld returned 1 exit status
Oh I see, I was one day behind the GIT. It's the new addition:
http://source.winehq.org/git/wine.git/? ... ddf604a68c
Code: Select all
$ cups-config --libs
-lcups -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lkeyutils -lresolv -ldl -lssl -lcrypto -lz -lpthread -lm -lcrypt
So you'll need all those libraries. And this:
Code: Select all
sudo ln -s /lib/libkeyutils.so.1 /usr/lib/libkeyutils.so
Gargi
Level 2
Posts: 13 Joined: Sat Jul 26, 2008 4:03 pm
Post
by Gargi » Sat Jul 26, 2008 7:29 pm
vitamin wrote:
Oh I see, I was one day behind the GIT. It's the new addition:
http://source.winehq.org/git/wine.git/? ... ddf604a68c
Code: Select all
$ cups-config --libs
-lcups -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lkeyutils -lresolv -ldl -lssl -lcrypto -lz -lpthread -lm -lcrypt
So you'll need all those libraries. And this:
Code: Select all
sudo ln -s /lib/libkeyutils.so.1 /usr/lib/libkeyutils.so
To link it into the same path ( /lib) will also do it
I think it would be a good idea to update the wiki reffering the opensuse 11 64bit tutorial
cu
Gargi