Hi!
I had and still have problems with amule crashing and already posted in this thread:
http://forum.amule.org/thread.php?threadid=4624&sid=As recommended, I wanted to compile a daily snapshot, as the error should be fixed in this one. Now I got a compilation error I don't understand.
I explicitely removed the Suse 9.1 version of wxBase, wxGTK and wxGTK-devel and replaced them with the wx-files from this site. I got serveral compilation errors before, but the all were telling me what was "wrong", e.g. which software was needed to go on. This one is different.
Please, can anyone help me with this? I really appreciate all of you spending so much time in this. All I want is finally a stable amule... :-(
Here the error output:
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for bison... no
checking for byacc... no
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for ar... ar
checking for ld... ld
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for curl >= 7.9.5... yes (version 7.11.0)
checking for libpng-config... /usr/bin/libpng-config
checking for libpng version >= 1.2.0... yes (version 1.2.5)
checking gd.h usability... no
checking gd.h presence... no
checking for gd.h... no
configure:
WARNING: libpng-devel >= 1.2.0 is needed for amuleweb
checking for gdlib-config... /usr/bin/gdlib-config
checking for gdlib version >= 2.0.0... yes (version 2.0.22)
checking for gd.h... (cached) no
configure:
WARNING: gd-lib >= 2.0.0, or a functional gd.h (from gd-devel)
not found.
gd-lib is needed for fully funtional cas. If you don't have
gd-lib,
cas will be compiled, but you won't be able to create that cool
status image (text mode however will work). Also note that you
should
upgrade to gd-lib >= 2.0.22 if you intend to use it, other
versions have not been tested and therefore are unsupported at
the moment.
Please check that gdlib-config is in your default path, check
out
LD_LIBRARY_PATH or equivalent variable.
Or this might also be that your gdlib-config has other name.
Please try again with --with-gdlib-config=/usr/bin/gdlib-config
(replace /usr/bin/gdlib-config with a valid path to your
gdlib-config).
If you use compiled packages check if you have devel pack
installed.
To download the lastest version check
http://www.boutell.com/gd for sources.
checking whether we need the GUI... yes
checking for wx-config... /usr/bin/wx-config
checking for wxWidgets version >= 2.4.2... yes (version 2.4.2)
checking for wxbase-2.4-config... /usr/bin/wxbase-2.4-config
checking for wxWidgets base version >= 2.4.2... yes (version 2.4.2)
checking if wxWidgets was linked with GTK2... no
checking for gtk-config... no
checking for GTK - version >= 1.2.0... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
./configure: line 1: no: command not found
checking if wxWidgets version >=2.5.0 ... no
crypto check disabled, using embedded libs
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for working alloca.h... yes
checking for alloca... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking stdio_ext.h usability... yes
checking stdio_ext.h presence... yes
checking for stdio_ext.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uid_t in sys/types.h... yes
checking for working volatile... yes
checking for ptrdiff_t... yes
checking whether closedir returns void... no
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for strerror in -lcposix... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking whether integer division by zero raises SIGFPE... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for ld used by GCC... ld
checking if the linker (ld) is GNU ld... yes
checking for shared library run path origin... done
checking for argz.h... (cached) yes
checking for limits.h... (cached) yes
checking for locale.h... (cached) yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking for malloc.h... (cached) yes
checking for stddef.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getc_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t
*inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... no
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking for getmntent in -lsun... no
checking for getmntent in -lseq... no
checking for getmntent in -lgen... no
checking for getmntent... yes
checking whether gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for function prototypes... yes
checking whether setvbuf arguments are reversed... no
checking return type of signal handlers... void
checking whether lstat dereferences a symlink specified with a trailing
slash... yes
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for working strtod... yes
checking for __argz_count... (cached) yes
checking for __argz_next... (cached) yes
checking for __argz_stringify... (cached) yes
checking for endpwent... yes
checking for floor... no
checking for ftruncate... yes
checking for getcwd... (cached) yes
checking for gethostbyaddr... yes
checking for gethostbyname... yes
checking for gethostname... yes
checking for getmntent... (cached) yes
checking for getmntinfo... no
checking for getpass... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for memchr... yes
checking for memmove... yes
checking for mempcpy... (cached) yes
checking for memset... yes
checking for munmap... (cached) yes
checking for nl_langinfo... yes
checking for select... yes
checking for setlocale... (cached) yes
checking for socket... yes
checking for sqrt... no
checking for stpcpy... (cached) yes
checking for strcasecmp... (cached) yes
checking for strchr... yes
checking for strcspn... yes
checking for strdup... (cached) yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtoul... (cached) yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for mkdir... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking whether SysTray should be compiled... yes
checking whether SysTray should use UTF-8 strings... no
checking whether pure GTK code should be compiled... yes
checking for a readline compatible library... -lreadline
checking readline.h usability... no
checking readline.h presence... no
checking for readline.h... no
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking whether readline supports history... yes
checking history.h usability... no
checking history.h presence... no
checking for history.h... no
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking whether ccache support should be added... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating intl/Makefile
config.status: creating m4/Makefile
config.status: creating src/Makefile
config.status: creating src/kademlia/Makefile
config.status: creating src/kademlia/utils/Makefile
config.status: creating src/pixmaps/Makefile
config.status: creating src/utils/Makefile
config.status: creating src/utils/aLinkCreator/Makefile
config.status: creating src/utils/aLinkCreator/src/Makefile
config.status: creating src/utils/cas/Makefile
config.status: creating src/utils/wxCas/Makefile
config.status: creating src/utils/wxCas/src/Makefile
config.status: creating src/utils/xas/Makefile
config.status: creating src/webserver/Makefile
config.status: creating po/Makefile.in
config.status: creating Compilation.flags
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
Configure script has finished system check.
Configured aMule CVS for 'i686-pc-linux-gnu'.
aMule enabled options:
**** aMule Core ****
Should aMule be compiled in debug mode? no
Should aMule be compiled with verbose console output? no
Should aMule be compiled with upload speed sense? no
Should aMule be compiled with profiling? no
Should aMule be compiled with optimizations? yes
Should aMule be compiled with systray? yes
Should aMule be compiled with UTF-8 systray? no
Should aMule be compiled with pure GTK code? yes
Should aMule be linked against patched gsocket? yes
Should aMule monolithic application be built? yes
Should aMule daemon version be built? (EXPERIMENTAL) no
Should aMule remote gui be built? (EXPERIMENTAL) no
Crypto++ library/headers style? embeded
**** aMule TextClient ****
Should aMule Command Line Client be built? no
Should aMule GUI Client be built? no
**** aMule WebServer ****
Should aMule WebServer be built? no
Should aMule WebServer GUI be built? no
**** aMule ED2K Links Handler ****
Should aMule ED2K Links Handler be built? yes
**** aMuleLinkCreator ****
Should aMuleLinkCreator GUI version (alc) be built? no
Should aMuleLinkCreator for console (alcc) be built? no
**** aMule Statistics ****
Should C aMule Statistics (CAS) be built? no
Should aMule GUI Statistics (wxCas) be built? no
**** General Libraries and Tools ****
Should ccache support be enabled? no
Libraries aMule will use to build:
wxWidgets 2.4.2
GTK Not detected
NOTICE: With wxWidgets versions prior 2.5, you need wxBase library to
compile: amuleweb amulecmd and alcc
make all-recursive
make[1]: Entering directory `/home/mkrueger/amule/amule-cvs'
Making all in m4
make[2]: Entering directory `/home/mkrueger/amule/amule-cvs/m4'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Leaving directory `/home/mkrueger/amule/amule-cvs/m4'
Making all in intl
make[2]: Entering directory `/home/mkrueger/amule/amule-cvs/intl'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Leaving directory `/home/mkrueger/amule/amule-cvs/intl'
Making all in po
make[2]: Entering directory `/home/mkrueger/amule/amule-cvs/po'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Leaving directory `/home/mkrueger/amule/amule-cvs/po'
Making all in docs
make[2]: Entering directory `/home/mkrueger/amule/amule-cvs/docs'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Leaving directory `/home/mkrueger/amule/amule-cvs/docs'
Making all in src
make[2]: Entering directory `/home/mkrueger/amule/amule-cvs/src'
make all-recursive
make[3]: Entering directory `/home/mkrueger/amule/amule-cvs/src'
Making all in utils
make[4]: Entering directory `/home/mkrueger/amule/amule-cvs/src/utils'
Making all in xas
make[5]: Entering directory
`/home/mkrueger/amule/amule-cvs/src/utils/xas'
make[5]: Für das Ziel »all« ist nichts zu tun.
make[5]: Leaving directory
`/home/mkrueger/amule/amule-cvs/src/utils/xas'
make[5]: Entering directory `/home/mkrueger/amule/amule-cvs/src/utils'
make[5]: Für das Ziel »all-am« ist nichts zu tun.
make[5]: Leaving directory `/home/mkrueger/amule/amule-cvs/src/utils'
make[4]: Leaving directory `/home/mkrueger/amule/amule-cvs/src/utils'
Making all in pixmaps
make[4]: Entering directory
`/home/mkrueger/amule/amule-cvs/src/pixmaps'
make[4]: Für das Ziel »all« ist nichts zu tun.
make[4]: Leaving directory `/home/mkrueger/amule/amule-cvs/src/pixmaps'
Making all in kademlia
make[4]: Entering directory
`/home/mkrueger/amule/amule-cvs/src/kademlia'
Making all in utils
make[5]: Entering directory
`/home/mkrueger/amule/amule-cvs/src/kademlia/utils'
make[5]: Für das Ziel »all« ist nichts zu tun.
make[5]: Leaving directory
`/home/mkrueger/amule/amule-cvs/src/kademlia/utils'
make[5]: Entering directory
`/home/mkrueger/amule/amule-cvs/src/kademlia'
make[5]: Für das Ziel »all-am« ist nichts zu tun.
make[5]: Leaving directory
`/home/mkrueger/amule/amule-cvs/src/kademlia'
make[4]: Leaving directory
`/home/mkrueger/amule/amule-cvs/src/kademlia'
make[4]: Entering directory `/home/mkrueger/amule/amule-cvs/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/wx/include/gtk-2.4
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-DUSE_EMBEDDED_CRYPTO -O2 -MT amule-listctrl.o -MD -MP -MF
".deps/amule-listctrl.Tpo" \
-c -o amule-listctrl.o `test -f 'listctrl.cpp' || echo
'./'`listctrl.cpp; \
then mv -f ".deps/amule-listctrl.Tpo" ".deps/amule-listctrl.Po"; \
else rm -f ".deps/amule-listctrl.Tpo"; exit 1; \
fi
listctrl.cpp:89:25: gtk/gtk.h: Datei oder Verzeichnis nicht gefunden
In file included from listctrl.cpp:90:
/usr/include/wx/gtk/win_gtk.h:18:21: gdk/gdk.h: Datei oder Verzeichnis
nicht gefunden
/usr/include/wx/gtk/win_gtk.h:19:22: gdk/gdkx.h: Datei oder Verzeichnis
nicht gefunden
/usr/include/wx/gtk/win_gtk.h:20:30: gtk/gtkcontainer.h: Datei oder
Verzeichnis nicht gefunden
/usr/include/wx/gtk/win_gtk.h:21:31: gtk/gtkadjustment.h: Datei oder
Verzeichnis nicht gefunden
/usr/include/wx/gtk/win_gtk.h:23:29: gtk/gtkfeatures.h: Datei oder
Verzeichnis nicht gefunden
In file included from listctrl.cpp:90:
/usr/include/wx/gtk/win_gtk.h:54: error: 'GtkContainer' is used as a
type, but
is not defined as a type.
/usr/include/wx/gtk/win_gtk.h:55: error: syntax error before `*' token
/usr/include/wx/gtk/win_gtk.h:66: error: 'GdkVisibilityState' is used
as a
type, but is not defined as a type.
/usr/include/wx/gtk/win_gtk.h:71: error: 'gboolean' is used as a type,
but is
not defined as a type.
/usr/include/wx/gtk/win_gtk.h:72: error: 'gboolean' is used as a type,
but is
not defined as a type.
/usr/include/wx/gtk/win_gtk.h:73: error: 'gboolean' is used as a type,
but is
not defined as a type.
/usr/include/wx/gtk/win_gtk.h:78: error: 'GtkContainerClass' is used as
a type,
but is not defined as a type.
/usr/include/wx/gtk/win_gtk.h:92: error: type specifier omitted for
parameter `
gboolean'
/usr/include/wx/gtk/win_gtk.h:92: error: syntax error before `)' token
/usr/include/wx/gtk/win_gtk.h:95: error: type specifier omitted for
parameter `
gboolean'
/usr/include/wx/gtk/win_gtk.h:95: error: syntax error before `)' token
/usr/include/wx/gtk/win_gtk.h:98: error: type specifier omitted for
parameter `
gboolean'
/usr/include/wx/gtk/win_gtk.h:98: error: syntax error before `)' token
listctrl.cpp: In member function `void
wxODListHeaderWindow::DoDrawRect(wxDC*,
int, int, int, int)':
listctrl.cpp:1953: error: `GtkStateType' undeclared (first use this
function)
listctrl.cpp:1953: error: (Each undeclared identifier is reported only
once for
each function it appears in.)
listctrl.cpp:1953: error: syntax error before `=' token
listctrl.cpp:1958: error: invalid use of undefined type `struct
_GtkWidget'
/usr/include/wx/defs.h:2079: error: forward declaration of `struct
_GtkWidget'
listctrl.cpp:1958: error: syntax error before `)' token
listctrl.cpp:1958: error: `GTK_CHECK_CAST' undeclared (first use this
function)
listctrl.cpp:1959: error: `state' undeclared (first use this function)
listctrl.cpp:1959: error: `GTK_SHADOW_OUT' undeclared (first use this
function)
listctrl.cpp:1960: error: `GdkRectangle' undeclared (first use this
function)
listctrl.cpp:1960: error: syntax error before `)' token
make[4]: *** [amule-listctrl.o] Fehler 1
make[4]: Leaving directory `/home/mkrueger/amule/amule-cvs/src'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/home/mkrueger/amule/amule-cvs/src'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory `/home/mkrueger/amule/amule-cvs/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/mkrueger/amule/amule-cvs'
make: *** [all] Fehler 2