| Summary: | Wine-20030508 fails to compile: Unknown option '-pthread' (with kde-cvs) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Sander Balkenende <sbalk> |
| Component: | Current packages | Assignee: | Wine Maintainers <wine> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | danarmak, mike, sbh, stormlabs |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Bug Depends on: | 24385 | ||
| Bug Blocks: | |||
|
Description
Sander Balkenende
2003-05-28 06:20:51 UTC
do you have perl compiled with thread support ? this isn't working for many ebuilds As far as I know, I didn't do anything special with perl. I just emerged it. I am not a
developer. Maybe it is compiled with thread support:
======
sander@herman sander $ perl -V | grep thread
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
libs=-lpthread -lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lcrypt -lutil
perllibs=-lpthread -lnsl -ldl -lm -lc -lcrypt -lutil
======
How do I compile perl without thread support?
#USE="-threads" emerge perl this has nothing to do with perl threads, it a problem with kde-cvs, i get it here and i dont use perl threads. removing "-pthread" from the winearts Makefile fixes it without any known side effects. I get that too. Will remove -pthread and see if it works. If it does, we should make the wine ebuild remove pthread. Is it needed to kde <=3.1.x ? Whoops - my mistake - artsc-config --libs includes -pthread in its output, which os obviously wrong (it should only be in the --libs output), hence the unknown option error. I'll look into fixing it in the cvs arts ebuild. Traced it to a problem in the glib2 .pc. Cf bug #24385 which I've just submitted about it. Can't do anything further on this myself atm as I'm leaving linuxtag for home but won't get there for a couple of days. hmm... alex@SUKA alex $ artsc-config --libs -L/usr/kde/cvs/lib -ldl -lartsc -lpthread -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 no -pthread here and I still get the error while emerging wine, kde-cvs compiled about a week ago, I think I had glib 2.2.2 when I emerged kde-cvs but I am not sure. Doh, alex@SUKA alex $ artsc-config --cflags -I/usr/kde/cvs/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include here it is... how about just mark this as dupe of bug #24385 ? *** This bug has been marked as a duplicate of 24385 *** |