aMule Forum

English => Compilation problems => Topic started by: spy_k on May 28, 2006, 07:51:46 PM

Title: can't compile wxGTK 2.6.3
Post by: spy_k on May 28, 2006, 07:51:46 PM
hi , i have a problem when compiling wxGTK 2.6.3 so i searched for a forum  about aMule and i found .
these are the outputs i read in the READ ME FITST thread :
Code: [Select]
[root@localhost aMule-2.1.1]# ls -I /usr/bin/wx*
/usr/bin/wxcas*  /usr/bin/wx-config@  /usr/bin/wxgtk-2.4-config*  /usr/bin/wxrc-2.6*
[root@localhost aMule-2.1.1]# ls -I /usr/l
lib/        local/      lost+found/
[root@localhost aMule-2.1.1]# ls -I /usr/bin/wx*
/usr/bin/wxcas*  /usr/bin/wx-config@  /usr/bin/wxgtk-2.4-config*  /usr/bin/wxrc-2.6*
[root@localhost aMule-2.1.1]# ls -I /usr/local/bin/wx*
ABOUT-NLS       amule.ico    Compilation.flags.in  config.sub*     docs/        missing*
acinclude.m4    amule.msp*   compile*              configure*      install-sh*  mkinstalldirs*
aclocal.m4      amule.rc     config.guess*         configure.in    intl/        po/
aMule.app/      aMule.spec   config.h.in           configWIN32.h*  m4/          src/
aMule-CVS.spec  amule.xpm    config.log            convert.ico     Makefile.am  unittests/
amule.desktop   autogen.sh*  config.rpath*         depcomp*        Makefile.in
[root@localhost aMule-2.1.1]# rpm -qa | grep wx
wxGTK-2.4.2-8mdk
libwxgtku2.6-2.6.1-1mdk
wxGTK2.6-2.6.1-1mdk
wxBase-2.4.2-1
wxGTK-devel-2.4.2-1
[root@localhost aMule-2.1.1]#                      

and here is the error message when i try to compile wxGTK2.6.3
Code: [Select]
checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error:
The development files for GTK+ were not found. For GTK+ 2, please
ensure that pkg-config is in the path and that gtk+-2.0.pc is
installed. For GTK+ 1.2 please check that gtk-config is in the path,
and that the version is 1.2.3 or above. Also check that the
libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
--libs' are in the LD_LIBRARY_PATH or equivalent.

[root@localhost buildgtk]#                                                  

but i have installed the GTK+2.0.0 packages , i don't understand !!!!!!!!

thanx for your help
Title: Re: can't compile wxGTK 2.6.3
Post by: Gerd78 on May 28, 2006, 07:56:02 PM
Maybe you have GTK+2.0 installed, but not the matching -devel package. ;)
Title: Re: can't compile wxGTK 2.6.3
Post by: spy_k on May 28, 2006, 08:19:39 PM
i installed all GTK+2 packages including -develp ones ( there's only one that wont' get installed ) but i still have the problem   ;(
Title: Re: can't compile wxGTK 2.6.3
Post by: Gerd78 on May 28, 2006, 08:44:02 PM
Which is the one that won't get installed? You definitely need libgtk2.0-devel - wxGTK cannot be compiled without that one.
Title: Re: can't compile wxGTK 2.6.3
Post by: spy_k on May 28, 2006, 08:55:02 PM
yes you're rignt man , in dl the GTK+2 -devel package , installed it , and it compiles  :D