Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems installing WineCVS
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
Jenden
n00b
n00b


Joined: 14 Nov 2004
Posts: 59

PostPosted: Sat Jun 25, 2005 3:44 am    Post subject: Problems installing WineCVS Reply with quote

Ok, I'm trying to install wine from CVS, but I keep running in to a compile error. Anyone have any suggestions?
Code:

...
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libXext.so when searching for -lXext
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libXext.a when searching for -lXext
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status
winegcc: gcc failed.
make[2]: *** [ddraw.dll.so] Error 2
make[2]: Leaving directory `/home/dspaid/src/wine/dlls/ddraw'
make[1]: *** [ddraw] Error 2
make[1]: Leaving directory `/home/dspaid/src/wine/dlls'
make: *** [dlls] Error 2

Compilation failed, aborting install.
Back to top
View user's profile Send private message
Jenden
n00b
n00b


Joined: 14 Nov 2004
Posts: 59

PostPosted: Mon Jun 27, 2005 1:51 am    Post subject: Reply with quote

Got that one figured out, had to set --x-libraries=/emul/linux/x86/usr/lib/
when doing the ./config. Now I'm getting a similar error with -lfreetype instead of -lXext. I've tried all the various combinations of the config settings (setting the appropriate paths) and its not working. It is looking in directory /usr/lib/ but the actual file it needs is in /emul/linux/x86/usr/lib/

Any suggestions?
Back to top
View user's profile Send private message
crazycat
l33t
l33t


Joined: 26 Aug 2003
Posts: 838
Location: Hamburg, Germany

PostPosted: Mon Jun 27, 2005 2:08 am    Post subject: Reply with quote

I think it's partially a gentoo problem of creating an emul mess. I think the only solution is to maintain /usr/lib32 oneself and have all needed 32bit libs there. Btw dont forget to try the standard command mess when compiling 32 apps which is:
Code:

CFLAGS="-m32" CXXFLAGS="-m32" LDFLAGS="-m32 -L<insert your 32bit dirs here>" ./configure --prefix=/usr  --x-libraries=/emul/linux/x86/usr/lib/

Doing "linux32 bash" before compilation helps with some software. Also note that sometimes -m32 in LDFLAGS doesn't work and it asks for something like -melf_i386. And thats not all , some software doesn't add CFLAGS and LDFLAGS everywhere sparing the fun of adding the parameters in Makefiles and other obscure places oneself (I think wine is one of those). Have fun.
Back to top
View user's profile Send private message
Jenden
n00b
n00b


Joined: 14 Nov 2004
Posts: 59

PostPosted: Mon Jun 27, 2005 2:29 am    Post subject: Reply with quote

thankfully this one was a bit easier of a fix. For the libfreetype you have to modify the tools/Makefile to look in the appropriate emul library (defaults back to /usr/lib64). After that, you run into a problem with libz. As it turns out the libraries pointed to in /usr/emul/linux/x86/... were symbolic links to the 64 bit libraries. I just changed the link (backing up the original just in case) and it worked ok. Now, in doing so I think I messed up (deleted) the original 64bit freetype libraries. Anyone know which package those come in so I can re-install them.
Back to top
View user's profile Send private message
dom_cyrus
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jun 2005
Posts: 102

PostPosted: Mon Jun 27, 2005 2:01 pm    Post subject: Reply with quote

maybe this one --> media-libs/freetype
Otherwise you can look here http://www.rommel.stw.uni-erlangen.de/~fejf/pfs/. This is really a good source if you search any special libs or packages :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum