aMule Forum

English => Compilation problems => Topic started by: ciucius on April 26, 2005, 06:14:19 PM

Title: No chance to compile
Post by: ciucius on April 26, 2005, 06:14:19 PM
I've installed wxGTK-2.4.2 and wxBase-2.4.2 (according to: http://www.amule.org/wiki/index.php/Compilation_Installation )
without problems and tried to compile amule either 2.0.0rc8 or 2.0.0rc5.
But it fails.
Output for ls -l /usr/local/bin/wx*
 -rwxr-xr-x  1 root root   4870 kwi 23 15:13 /usr/local/bin/wxbase-2.4-config -rwxr-xr-x  1 root root 369121 kwi 23 15:24 /usr/local/bin/wxcas
lrwxrwxrwx  1 root root     17 kwi 23 15:13 /usr/local/bin/wx-config -> wxbase-2.4-config
-rwxr-xr-x  1 root root   5049 kwi 23 15:03 /usr/local/bin/wxgtk-2.4-config
Output for rpm -qa | grep wx
wxGTK-gl-2.4.2-9.3.aur.1
wxBase-2.4.2-1
wxpythongtk-2.4.2.4-1.rhfc2.nr
wxGTK-devel-2.4.2-9.3.aur.1
wxGTK-2.4.2-9.3.aur.1

looking for help, thanks.
Title: Re: No chance to compile
Post by: stefanero on April 26, 2005, 06:57:03 PM
well ok you missed 2 set to symlinks for compilation

# ln -sf /usr/bin/wxgtk-2.4-config /usr/bin/wx-config
# ln -sf /usr/bin/wxbase-2.4-config /usr/bin/wxbase-config

set those 2 symlinks run

ldconfig

and rerun configure and make....

should fix this hopefully
Title: Re: No chance to compile
Post by: deltaHF on April 26, 2005, 07:48:11 PM
Quote
Originally posted by stefanero
well ok you missed 2 set to symlinks for compilation

# ln -sf /usr/bin/wxgtk-2.4-config /usr/bin/wx-config
# ln -sf /usr/bin/wxbase-2.4-config /usr/bin/wxbase-config

set those 2 symlinks run

ldconfig

and rerun configure and make....

should fix this hopefully

ehm no.. it will not ;)

he has installed it in /usr/local/bin, so:

ln -sf /usr/local/bin/wxgtk-2.4-config /usr/bin/wx-config
ln -sf /usr/local/bin/wxbase-2.4-config /usr/bin/wxbase-config

btw ciucius.. your wxgtk rpm's may cause problems anyway. uninstall them.

and did you compiled or installed wxGTK and wxBase?
Title: Re: No chance to compile
Post by: stefanero on April 26, 2005, 08:00:05 PM
ups I just lookd at the rpms...
Title: Re: No chance to compile
Post by: ciucius on April 27, 2005, 06:42:52 PM
Well, I tried compiling with both options of symlinks  for the user and root  and still nothing. Compilation was made exactly according to guides give at http://www.amule.org/wiki/index.php/Compilation_Installation
I have message:
usrbin/ld cannot find -lidn
I need Your help, please
Title: Re: No chance to compile
Post by: stefanero on April 27, 2005, 06:47:08 PM
you need idn-devel for this
Title: Re: No chance to compile
Post by: ciucius on April 27, 2005, 08:19:58 PM
I'm trying to find idn-devel package but I find it only for Mandrake. My Linux is Fedora Core 3 - based. Have You got any ideas where to look for?
Title: Re: No chance to compile
Post by: phoenix on April 28, 2005, 02:20:00 AM
ciucius,

FC3 here.

$ rpm -qa | grep idn
libidn-0.5.6-1
libidn-devel-0.5.6-1

Cheers!
Title: Re: No chance to compile
Post by: stefanero on April 28, 2005, 08:00:13 AM
or dl from here:
http://mirror.mcs.anl.gov/fedora-linux-core/3/i386/os/Fedora/RPMS/

these are FC3 packages but if your distro is based on FC3 they should work, I think ;)
Title: Re: No chance to compile
Post by: ciucius on April 28, 2005, 06:44:19 PM
finally I've installed those rpms and amule compiled.
Thank You Stefanero deltaHF and phoenix.
Cheers!
Title: Re: No chance to compile
Post by: stefanero on April 28, 2005, 07:54:32 PM
see there is always a chance to compile  :D