aMule Forum
English => Compilation problems => Topic started by: helrunar on July 07, 2007, 08:40:26 PM
-
Hello
I get errors when compiling wxWidgets 2.8.4
./configure --prefix=/usr/
gives me following error at the end:
checking for png.h > 0.90... no
checking for png.h... (cached) no
configure: WARNING: system png library not found or too old, will use built-in instead
checking for jpeglib.h... no
configure: WARNING: system jpeg library not found, will use built-in instead
checking for tiffio.h... no
configure: WARNING: system tiff library not found, will use built-in instead
checking for expat.h... no
configure: WARNING: system expat library not found, will use built-in instead
checking for mspack.h... no
checking for GTK+ version...
checking for pkg-config... /usr/bin/pkg-config
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.
Is there a deb Package to get GTK+ installed via apt-get install?
Please help me I'm totally noob to get libraries installed
thanks..
-
libgtk2.0-dev
-
Thank you. GTK is installed now but for any reason I get an error with make?!
checking if make is GNU make... yes
checking for dependency tracking method... gcc
checking if the compiler supports precompiled headers... no
checking whether make sets $(MAKE)... (cached) yes
checking for cppunit-config... no
checking for Cppunit - version >= 1.8.0... no
configure: creating ./config.status
config.status: creating lib/wx/config/gtk2-ansi-release-2.8
config.status: creating lib/wx/config/inplace-gtk2-ansi-release-2.8
config.status: creating version-script
config.status: creating Makefile
config.status: creating samples/console/Makefile
config.status: error: cannot find input file: samples/Makefile.in
debian:~/wxBase-2.8.4# make
make: *** No rule to make target `src/png/png.c', needed by `wxpng_png.o'. Stop.
debian:~/wxBase-2.8.4#
-
You are trying to compile wxBase, which AFAIK will let you compile only the non-graphical part of aMule (amuled, amulecmd and maybe the web server). I suggest you try compiling the wxGTK package, which includes the libraries for everything included in aMule. But beyond that, which configure line did you use?
Regards.
-
hi
GTK is installed
apt-get install libgtk2.0-dev
After that i tried to compile wxWidgets with
./configure --prefix=/usr/
but i get this error at the end:
checking whether make sets $(MAKE)... (cached) yes
checking for cppunit-config... no
checking for Cppunit - version >= 1.8.0... no
configure: creating ./config.status
config.status: creating lib/wx/config/gtk2-ansi-release-2.8
config.status: creating lib/wx/config/inplace-gtk2-ansi-release-2.8
config.status: creating version-script
config.status: creating Makefile
config.status: creating samples/console/Makefile
config.status: error: cannot find input file: samples/Makefile.in
debian:~/wxBase-2.8.4#
makefile.in is missing but i don't know what to do
thanks forhelp
-
Hi helrunar:
You try to compile wxBase, but you have to compile wxGTK: http://downloads.sourceforge.net/wxwindows/wxGTK-2.8.4.tar.bz2
-
hi
i just downloaded an older ver of wxwidgets
compiling worked fine without errors with wxwidgets 2.8.0 ....
so the rest was no problem, amule works fine now
thanks for your helps
-
hi
i just downloaded an older ver of wxwidgets
compiling worked fine without errors with wxwidgets 2.8.0 ....
so the rest was no problem, amule works fine now
thanks for your helps
Please helrunar where you got your wxBase 2.8.0 working?
I tried from sourceforge and ftp from wxWidgets site and i couldn't compile any 2.8.x version (2.8.0 included)
Please post your link to wxBase or your solution.
Same error than yours, samples/Makefile.in is missing, I tried:
$ touch Makefile.in
With that i run configure sucessfully, but fails make saying:
make: *** No rule to make target `src/xml/xml.cpp', needed by `xmldll_xml.o'. Stop.
There is a few files named *xml* which are missing :(
I tried editing Makefile.in for remove missing *xml* files, but that file is refreshed in each time i try to compile (i don't know how bakefile works) Any ideas for removing dependencies? Maybe it don't work too, but I haven't got anymore ideas :(:(:(
Please, wuischke, in new amule-CVS versions i couldn't compile with wxBase anymore? I worked only with wxBase at this time (amuled only, true)
Thanks all and have fun.
-
Hi,
please try the following configure lines.
wxBase: ./configure --enable-unicode --without-subdirs --disable-gui --disable-expat
aMule: ./configure --disable-monolithic --enable-amule-daemon --with-toolkit=base
-
Thanks wuischke, doing --without-subdirs I didn't need doing "touch" anymore, but I left wxBase because multiples missing files (too long and boring to doing by hand) I download wxWidgets inestead and it compiled at the first time (thanks Kry!)
Thanks a lot for your (very convenient) --with-toolkit=base, in so long time without compiling I didn't take care of changes :)