aMule Forum

English => Compilation problems => Topic started by: Nemesis on November 05, 2006, 11:08:49 AM

Title: Compiling against GTK1.2
Post by: Nemesis on November 05, 2006, 11:08:49 AM
Hi all,
I'm trying to compile Amule2.1.3 against GTK1.2 cause the rpm builded against Wx2.6 crashes a lot.

I used this configure line:
[root@orion ~/sources/aMule-2.1.3]# ./configure  --prefix=/usr --disable-gtk2 --with-gtk --enable-debug --with-wx-config=/usr/bin/wx-2.4-config

but I got:
checking for wxWidgets version >= 2.6.0... no (version 2.4.2 is not new enough)
configure: error:
                wxWidgets must be installed on your system but wx-config
                script couldn't be found. Please check that wx-config is
                in path or specified by --with-wx-config=path flag, the
                directory where wxWidgets libraries are installed (returned
                by 'wx-config --libs' command) is in LD_LIBRARY_PATH or
                equivalent variable and wxWidgets version is 2.6.0 or above.

But in the README I read that wx.2.4.2 is supported, How can I build aMule against it?

Regards.
Title: Re: Compiling against GTK1.2
Post by: wuischke on November 05, 2006, 11:18:07 AM
wx 2.4 was supported, but is not anymore.
Title: Re: Compiling against GTK1.2
Post by: Gerd78 on November 05, 2006, 03:30:08 PM
Why do you believe that the reason of your crash is caused by wxGTK 2.6?

Can you please post *when* it crashes?

If it crashes when closing a search tab,

(1) you are not alone, this happens to all users of very recent distros,
(2) it is not the fault of a wxGTK RPM because it crashes for everybody, whether RPM or compiled from source or whatever,
(3) You might be able to work around it by building wxGTK against GTK 1.2 instead of 2.10, but it must still be wxGTK 2.6 and not 2.4.