View previous topic :: View next topic |
Author |
Message |
Jenden n00b
Joined: 14 Nov 2004 Posts: 59
|
Posted: Sat Jun 25, 2005 3:44 am Post subject: Problems installing WineCVS |
|
|
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 |
|
|
Jenden n00b
Joined: 14 Nov 2004 Posts: 59
|
Posted: Mon Jun 27, 2005 1:51 am Post subject: |
|
|
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 |
|
|
crazycat l33t
Joined: 26 Aug 2003 Posts: 838 Location: Hamburg, Germany
|
Posted: Mon Jun 27, 2005 2:08 am Post subject: |
|
|
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 |
|
|
Jenden n00b
Joined: 14 Nov 2004 Posts: 59
|
Posted: Mon Jun 27, 2005 2:29 am Post subject: |
|
|
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 |
|
|
dom_cyrus Tux's lil' helper
Joined: 06 Jun 2005 Posts: 102
|
|
Back to top |
|
|
|