aMule Forum

English => Compilation problems => Topic started by: rftghost on July 17, 2008, 09:47:11 AM

Title: Wx Problem while bulding on Slackware 11.0 (x86_64)
Post by: rftghost on July 17, 2008, 09:47:11 AM
Hi,

I'm trying to compile aMule-2.2.1 on a Slackware 11.0.0 (x86_64).

Here is the output of the make: http://pastebin.com/m5c35e9eb (http://pastebin.com/m5c35e9eb)
The output of:
# ls -l /usr/bin/wx*
ls: /usr/bin/wx*: No such file or directory
#ls -l /usr/local/bin/wx*
lrwxrwxrwx 1 root root     52 2008-07-17 10:27 /usr/local/bin/wx-config -> /usr/local/lib/wx/config/x11univ-unicode-release-2.8
lrwxrwxrwx 1 root root      8 2008-07-17 10:27 /usr/local/bin/wxrc -> wxrc-2.8
-rwxr-xr-x 1 root root 103783 2008-07-17 10:27 /usr/local/bin/wxrc-2.8
# rpm -qa | grep wx

The wxAll was compiled with:
# ./configure --enable-plugins --enable-shared --enable-optimise --enable-unicode --with-x11 --enable-compat24
from sources wxWidgets-2.8.8.tar.bz2

I've modified src/Scanner.l to fix the lex problem (included Scanner.h.in).

Thanks,
Bogdan.
Title: Re: Wx Problem while bulding on Slackware 11.0 (x86_64)
Post by: GonoszTopi on July 17, 2008, 03:34:47 PM
I don't think we support wxX11. Do you really want to use the X11 port of wxWidgets?
Title: Re: Wx Problem while bulding on Slackware 11.0 (x86_64)
Post by: rftghost on July 18, 2008, 10:05:31 PM
Hmm... I was under the impression that wxWidgets has a developer side that is constant and only the look changes with the target port.
I'm going to compile the GTK port, maybe it will work better....

Bogdan.
Title: Re: Wx Problem while bulding on Slackware 11.0 (x86_64)
Post by: Stu Redman on July 18, 2008, 10:22:57 PM
wx is relying on native controls which makes it fast and similiar to native apps in look. Other than, say, QT, which uses only canvas and draws everything itself.
The downside are some inconsistencies in GUI behaviour, and some API differences between the different platforms.
Title: Re: Wx Problem while bulding on Slackware 11.0 (x86_64)
Post by: rftghost on July 18, 2008, 11:09:24 PM
With flex updated to 2.5.35 and wxWidgets compiled to GTK, it worked.

Thanks all for your assistance,
Bogdan.