aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 [2] 3

Author Topic: wont compile  (Read 21441 times)

Orlan

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
    • http://sta.ctf.pl
Re: wont compile
« Reply #15 on: December 06, 2005, 11:39:08 AM »

Could you compile amule with all libraries needed as monolit for me with prefix /usr/local/ with options
--enable-profile \
--enable-monolithic \
--enable-ccache \
--enable-debug \
--enable-optimize \
--enable-static \
--enable-amule-daemon \
--enable-amulecmd \
--enable-amulecmdgui \
--enable-webserver \
--enable-webservergui \
--enable-amule-gui \
--enable-cas \
--enable-wxcas \
--with-x \
--enable-alc \
--enable-alcc \
--enable-systray \
--enable-utf8-systray \
--enable-embedded-crypto \
--enable-nls \
--with-included-gettext \
« Last Edit: December 06, 2005, 11:39:45 AM by Orlan »
Logged
"Fascism should more properly be called corporatism because it is the merger of state and corporate power." - Benito Mussolini
It IS MY NO TO FASCIST IRAQ OCCUPATION !

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: wont compile
« Reply #16 on: December 06, 2005, 03:15:57 PM »

Please don't use --enable-static. It doesn't work with GTK.
Logged

thedude0001

  • evil bugfinder ;)
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 827
Re: wont compile
« Reply #17 on: December 06, 2005, 04:28:49 PM »

Well, with a certain ammount of PITA it does actually work. Xaignar tried it some time ago and it "only" took him ~2 days to get amule to compile static :)

But that's somewhat like "digging a hole only using plastic explosives": It is certainly doable, but you should know EXACTLY what you are doing :)
Logged
Das Schlimme auf dieser Welt ist
daß die Dummen so selbstsicher sind
und die Gescheiten so voller Zweifel.

Orlan

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
    • http://sta.ctf.pl
Re: wont compile
« Reply #18 on: December 06, 2005, 05:09:46 PM »

--disable-static   (wx GTK1)



Code: [Select]
make
......
.......
make[4]: Nie nic do roboty w `all'.
make[4]: Opuszczam katalog `/usr/src/aMule-2.0.3/src/webserver/default'
Making all in chicane
make[4]: Wchodz katalog `/usr/src/aMule-2.0.3/src/webserver/chicane'
make[4]: Nie nic do roboty w `all'.
make[4]: Opuszczam katalog `/usr/src/aMule-2.0.3/src/webserver/chicane'
make[4]: Wchodz katalog `/usr/src/aMule-2.0.3/src/webserver'
make[4]: Nie nic do roboty w `all-am'.
make[4]: Opuszczam katalog `/usr/src/aMule-2.0.3/src/webserver'
make[3]: Opuszczam katalog `/usr/src/aMule-2.0.3/src/webserver'
make[3]: Wchodz katalog `/usr/src/aMule-2.0.3/src'
if /usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/local/lib/wx/include/gtk-ansi-debug-static-2.6 -I/usr/local/include/wx-2.6 -D__WXDEBUG__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1   -DwxUSE_GUI=0 -I/usr/local/include/libpng12 -DPNG_THREAD_UNSAFE_OK -DPNG_USE_PNGGCCRD -DWITH_LIBPNG -DHAVE_BFD -DEC_REMOTE -DWEBSERVERDIR="\"/usr/local/share/amule/webserver\"" -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -O2 -pg -MT amuleweb-WebServer.o -MD -MP -MF ".deps/amuleweb-WebServer.Tpo" \
  -c -o amuleweb-WebServer.o `test -f 'WebServer.cpp' || echo './'`WebServer.cpp; \
then mv -f ".deps/amuleweb-WebServer.Tpo" ".deps/amuleweb-WebServer.Po"; \
else rm -f ".deps/amuleweb-WebServer.Tpo"; exit 1; \
fi
WebServer.h: In function `bool operator<(const T&, const T&) [with T = wxString]':
/usr/include/c++/3.3.2/bits/stl_function.h:197:   instantiated from `bool std::less<_Tp>::operator()(const _Tp&, const _Tp&) const [with _Tp = wxString]'
/usr/include/c++/3.3.2/bits/stl_tree.h:1323:   instantiated from `std::_Rb_tree_iterator<_Val, _Val&, _Val*> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::lower_bound(const _Key&) [with _Key = wxString, _Val = std::pair, _KeyOfValue = std::_Select1st >, _Compare = std::less, _Alloc = std::allocator >]'
/usr/include/c++/3.3.2/bits/stl_map.h:508:   instantiated from `typename std::_Rb_tree<_Key, std::pair, std::_Select1st >, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::lower_bound(const _Key&) [with _Key = wxString, _Tp = CAnyImage*, _Compare = std::less, _Alloc = std::allocator >]'
/usr/include/c++/3.3.2/bits/stl_map.h:316:   instantiated from `_Tp& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const _Key&) [with _Key = wxString, _Tp = CAnyImage*, _Compare = std::less, _Alloc = std::allocator >]'
WebServer.cpp:3377:   instantiated from here
WebServer.h:235: error: 'class wxString' has no member named 'GetContainerInstance'
make[3]: *** [amuleweb-WebServer.o] BBd 1
make[3]: Opuszczam katalog `/usr/src/aMule-2.0.3/src'
make[2]: *** [all-recursive] BBd 1
make[2]: Opuszczam katalog `/usr/src/aMule-2.0.3/src'
make[1]: *** [all-recursive] BBd 1
make[1]: Opuszczam katalog `/usr/src/aMule-2.0.3'
make: *** [all] BBd 2

Thanx anyway. I gona chnge sys to gentoo
« Last Edit: December 06, 2005, 05:12:55 PM by Orlan »
Logged
"Fascism should more properly be called corporatism because it is the merger of state and corporate power." - Benito Mussolini
It IS MY NO TO FASCIST IRAQ OCCUPATION !

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: wont compile
« Reply #19 on: December 06, 2005, 05:13:36 PM »

Which GTK version did he use? Orlan is obviously using GTK 2.8. The problem is that GTK 2.8 uses cairo for everything. That's not a problem when using shared GTK libraries because the GTK library will load cairo even if aMule is not linked to cairo because aMule is linked to GTK and then loads cairo through GTK, but it's a problem if using static GTK libraries because the objects in "libgtk-x11-2.0.a" have references to cairo, therefore cairo must be linked in, too. This was not the case with GTK 2.6, but it's needed with GTK 2.8.

Unfortunately, the most important thing, the linker command, it again missing - we only have the error message. That's not optimal because there are several potential reasons: It could be that cairo is simply missing from the linker command, but it could also be that all libraries are present in the wrong order. In any case, it looks like a local configuration problem for me. GTK should really add cairo automatically at the right place, and it does so on my system:
Code: [Select]
$ pkg-config --libs gtk+-2.0
-L/usr/X11R6/lib -L/opt/gnome/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lfreetype -lfontconfig -lXrender -lX11 -lXext -lpng12 -lz -lglitz -lm
I have a different suggestion: Do not use "./configure --enable-static". Link aMule to static wx libraries instead. That's really a difference: The first will link all libraries static and produce an incredibly large executable, the latter will produce a dynamic executable with only wx statically linked. This will probably work better - a little fix for it was recently added to the source - and you will get a reasonably small executable.

It's really easy: Install wx with something like this:
Code: [Select]
./configure --disable-shared --prefix=/opt/wxGTK
make
make install
And now build aMule with this wx installation:
Code: [Select]
./configure --with-wx-config=/opt/wxGTK/bin/wx-configIf no other errors occur, a dynamic executable that doesn't depend on shared wx libraries will be produced. I think this should really do the trick because all other libraries used by aMule are more or less standard on every system. I don't think it's useful to link them statically.

EDIT: @Orlan: Sorry, I began writing before you finished your last post. Which "./configure" flags did you use for your wx? The following ones work for me:

./configure \
   --disable-shared \
   --enable-unicode \
   --without-libpng \
   --without-libjpeg \
   --without-libtiff \
   --without-libxpm \
   --without-libmspack \
   --without-sdl \
   --without-gnomeprint \
   --without-opengl \
   --without-dmalloc \
   --with-regex \
   --with-zlib \
   --without-odbc \
   --without-expat

Please note that "--enable-unicode" is not available when using GTK 1.
« Last Edit: December 06, 2005, 05:24:57 PM by Gerd78 »
Logged

Orlan

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
    • http://sta.ctf.pl
Re: wont compile
« Reply #20 on: December 07, 2005, 11:21:03 AM »

Code: [Select]
(root@10:57:02)[/]$ pkg-config --libs gtk+-2.0
-Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr -lXrender -lXi -lXinerama -lXext -lX11 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lXcursor -lcairo -lpangoft2-1.0 -lfontconfig -lfreetype -lz -lpango-1.0 -lm -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -liconv  

I try to make shared gtk 2.8 & recompile with patched 2.6 wx as you suggest It is good idea
(my previous post was compilation  wx 2.6 with gtk 1.2 but it not solved problem)

amule

Code: [Select]
./configure \
--with-wx-config=/opt/wxGTK/bin/wx-config \
--enable-profile \
--disable-monolithic \
--enable-ccache \
--enable-debug \
--enable-optimize \
--disable-static \
--enable-amule-daemon \
--enable-amulecmd \
--enable-amulecmdgui \
--enable-webserver \
--enable-webservergui \
--enable-amule-gui \
--disable-cas \
--enable-wxcas \
--with-x \
--enable-alc \
--enable-alcc \
--enable-systray \
--enable-utf8-systray \
--enable-embedded-crypto \
--disable-rpath \
--enable-nls


gtk 2.8.8
Code: [Select]
./configure \
--enable-largefile \
--with-x \
--enable-shadowfb \
--enable-fbmanager \
--with-xinput=yes \
--with-x \
--with-libtiff \
--with-libpng \
--with-libjpeg \
--enable-shared \
--disable-static \
--disable-shm \
--enable-gtk-doc \
--enable-man \
--enable-modules \
--enable-glibtest


wx 2.6 patched
Code: [Select]
./configure \
--enable-gui \
--enable-debug \
--enable-optimise \
--enable-gtk2 \
--with-gtk=2 \
--with-x \
--disable-compat24 \
--enable-unicode \
--enable-profile \
--with-sdl \
--without-libmspack \
--enable-plugins \
--disable-shared \
--prefix=/opt/wxGTK \
--disable-monolitic \
--disable-gpe \
--with-odbc \
--enable-metafile \
--enable-longlong \
--enable-cmdline \
--with-opengl \
--disable-universal \
--with-gnomeprint \
--enable-tabdialog \
--disable-accessibility \
--enable-controls \
--disable-resources \
--disable-wxprintfv \
--enable-mediactrl \
--disable-prologio \
--enable-stl \
--enable-iff \
--enable-largefile \
--without-dmalloc


results will be posted in a few hours :-)
« Last Edit: December 07, 2005, 12:03:22 PM by Orlan »
Logged
"Fascism should more properly be called corporatism because it is the merger of state and corporate power." - Benito Mussolini
It IS MY NO TO FASCIST IRAQ OCCUPATION !

Orlan

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
    • http://sta.ctf.pl
Re: wont compile
« Reply #21 on: December 07, 2005, 12:13:46 PM »

AMULE


./configure \
--with-wx-config=/opt/wxGTK/bin/wx-config \
--enable-profile \
--disable-monolithic \
--enable-ccache \
--enable-debug \
--enable-optimize \
--disable-static \
--enable-amule-daemon \
--enable-amulecmd \
--enable-amulecmdgui \
--enable-webserver \
--enable-webservergui \
--enable-amule-gui \
--disable-cas \
--enable-wxcas \
--with-x \
--enable-alc \
--enable-alcc \
--enable-systray \
--enable-utf8-systray \
--enable-embedded-crypto \
--disable-rpath \
--enable-nls





(root@12:26:40)[/usr/src/aMule-2.0.3]$ ./\!configure
checking build system type... i686-redhat-linux-gnu
checking host system type... i686-redhat-linux-gnu
checking target system type... i686-redhat-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
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... bison -y
checking whether ln -s works... yes
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 for zlib >= 1.1.4... yes (version 1.2.3)
checking for libpng-config... /usr/local/bin/libpng-config
checking for libpng version >= 1.2.0... yes (version 1.2.8)
checking gd.h usability... yes
checking gd.h presence... yes
checking for gd.h... yes
checking whether we need the GUI... yes
checking for wx-config... /opt/wxGTK/bin/wx-config
checking for wxWidgets version >= 2.4.2... yes (version 2.6.2)
configure: WARNING: wxWidgets >=2.5.0: Using wx-config --libs base,net
checking for GUI toolkit to use... GTK
checking if wxWidgets was linked with GTK2... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking for GTK+ - version >= 2.0.3... yes (version 2.8.8)
checking whether to use embedded Crypto... yes
checking for bfd headers... yes
checking for autopoint... yes (4.5)
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 sys/wait.h that is POSIX.1 compatible... 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/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
checking for msgmerge... /usr/local/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 how to link with libiconv... /usr/local/lib/libiconv.so
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... bison
checking version of bison... 1.875, ok
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 pid_t... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether lstat accepts an empty string... no
checking whether lstat dereferences a symlink specified with a trailing slash... (cached) yes
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 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 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 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 taskbar icon support should be compiled... yes
checking whether taskbar icon should use UTF-8 strings... yes
UTF-8 GTK SysTray disabled, wx native settings will be used
checking if the applications should be statically linked... no
checking if this is a FreeBSD 4 or earlier system... no
checking for a readline compatible library... -lreadline -ltermcap
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... yes
checking for ccache presence... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating docs/man/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/kademlia/io/Makefile
config.status: creating src/kademlia/kademlia/Makefile
config.status: creating src/kademlia/routing/Makefile
config.status: creating src/kademlia/net/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/docs/Makefile
config.status: creating src/utils/aLinkCreator/src/Makefile
config.status: creating src/utils/cas/Makefile
config.status: creating src/utils/cas/docs/Makefile
config.status: creating src/utils/wxCas/Makefile
config.status: creating src/utils/wxCas/docs/Makefile
config.status: creating src/utils/wxCas/src/Makefile
config.status: creating src/utils/xas/Makefile
config.status: creating src/utils/xas/docs/Makefile
config.status: creating src/webserver/Makefile
config.status: creating src/webserver/default/Makefile
config.status: creating src/webserver/chicane/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 2.0.3 for 'i686-redhat-linux-gnu'.

 aMule enabled options:

  **** aMule Core ****
  Prefix where aMule should be installed?                    /usr/local
  Should aMule be compiled with i18n support?                yes
  Should aMule be compiled in debug mode?                    yes
  Should aMule be compiled with profiling?                   yes
  Should aMule be compiled with optimizations?               yes
  Should aMule be compiled with taskbar icon support?        yes
  Should aMule be compiled with old GTK taskbar icon?        no
  Should aMule be compiled with UTF-8 taskbar icon support?  no
  Should aMule be linked against patched gsocket?            no
  Should aMule monolithic application be built?              no
  Should aMule daemon version be built?                      yes
  Should aMule remote gui be built? (EXPERIMENTAL)           yes
  Crypto++ library/headers style?                            embedded

  **** aMule TextClient ****
  Should aMule Command Line Client be built?                 yes
  Should aMule GUI Client be built?                          yes

  **** aMule WebServer ****
  Should aMule WebServer be built?                           yes
  Should aMule WebServer GUI be built?                       yes

  **** aMule ED2K Links Handler ****
  Should aMule ED2K Links Handler be built?                  yes

  **** aMuleLinkCreator ****
  Should aMuleLinkCreator GUI version (alc) be built?        yes
  Should aMuleLinkCreator for console (alcc) be built?       yes

  **** aMule Statistics ****
  Should C aMule Statistics (CAS) be built?                  no
  Should aMule GUI Statistics (wxCas) be built?              yes

  **** General Libraries and Tools ****
  Should ccache support be enabled?                          yes
  Libraries aMule will use to build:
                                       wxWidgets             2.6.2
                                       crypto++              embedded
                                       libpng                1.2.8
                                       zlib                  1.2.3


 WARNING! gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
 amuleweb will be compiled but file download progress bar images will NOT be generated.
 See the above error on gd check for solutions.

make in the next post
Logged
"Fascism should more properly be called corporatism because it is the merger of state and corporate power." - Benito Mussolini
It IS MY NO TO FASCIST IRAQ OCCUPATION !

Orlan

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
    • http://sta.ctf.pl
Re: wont compile
« Reply #22 on: December 07, 2005, 12:17:31 PM »

make
....
.....
Making all in default
make[4]: Wchodz katalog `/usr/src/aMule-2.0.3/src/webserver/default'
make[4]: Nie nic do roboty w `all'.
make[4]: Opuszczam katalog `/usr/src/aMule-2.0.3/src/webserver/default'
Making all in chicane
make[4]: Wchodz katalog `/usr/src/aMule-2.0.3/src/webserver/chicane'
make[4]: Nie nic do roboty w `all'.
make[4]: Opuszczam katalog `/usr/src/aMule-2.0.3/src/webserver/chicane'
make[4]: Wchodz katalog `/usr/src/aMule-2.0.3/src/webserver'
make[4]: Nie nic do roboty w `all-am'.
make[4]: Opuszczam katalog `/usr/src/aMule-2.0.3/src/webserver'
make[3]: Opuszczam katalog `/usr/src/aMule-2.0.3/src/webserver'
make[3]: Wchodz katalog `/usr/src/aMule-2.0.3/src'
if /usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/wxGTK/lib/wx/include/gtk2-unicode-debug-static-2.6 -I/opt/wxGTK/include/wx-2.6 -D__WXDEBUG__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1   -DwxUSE_GUI=0 -I/usr/local/include/libpng12 -DPNG_THREAD_UNSAFE_OK -DPNG_USE_PNGGCCRD -DWITH_LIBPNG -DHAVE_BFD -DEC_REMOTE -DWEBSERVERDIR="\"/usr/local/share/amule/webserver\"" -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -O2 -pg -MT amuleweb-WebServer.o -MD -MP -MF ".deps/amuleweb-WebServer.Tpo" \
  -c -o amuleweb-WebServer.o `test -f 'WebServer.cpp' || echo './'`WebServer.cpp; \
then mv -f ".deps/amuleweb-WebServer.Tpo" ".deps/amuleweb-WebServer.Po"; \
else rm -f ".deps/amuleweb-WebServer.Tpo"; exit 1; \
fi
WebServer.h: In function `bool operator<(const T&, const T&) [with T = wxString]':
/usr/include/c++/3.3.2/bits/stl_function.h:197:   instantiated from `bool std::less<_Tp>::operator()(const _Tp&, const _Tp&) const [with _Tp = wxString]'
/usr/include/c++/3.3.2/bits/stl_tree.h:1323:   instantiated from `std::_Rb_tree_iterator<_Val, _Val&, _Val*> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::lower_bound(const _Key&) [with _Key = wxString, _Val = std::pair, _KeyOfValue = std::_Select1st >, _Compare = std::less, _Alloc = std::allocator >]'
/usr/include/c++/3.3.2/bits/stl_map.h:508:   instantiated from `typename std::_Rb_tree<_Key, std::pair, std::_Select1st >, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::lower_bound(const _Key&) [with _Key = wxString, _Tp = CAnyImage*, _Compare = std::less, _Alloc = std::allocator >]'
/usr/include/c++/3.3.2/bits/stl_map.h:316:   instantiated from `_Tp& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const _Key&) [with _Key = wxString, _Tp = CAnyImage*, _Compare = std::less, _Alloc = std::allocator >]'
WebServer.cpp:3377:   instantiated from here
WebServer.h:235: error: 'class wxString' has no member named 'GetContainerInstance'
make[3]: *** [amuleweb-WebServer.o] BBd 1
make[3]: Opuszczam katalog `/usr/src/aMule-2.0.3/src'
make[2]: *** [all-recursive] BBd 1
make[2]: Opuszczam katalog `/usr/src/aMule-2.0.3/src'
make[1]: *** [all-recursive] BBd 1
make[1]: Opuszczam katalog `/usr/src/aMule-2.0.3'
make: *** [all] BBd 2


amule compile with no error with standard ./configure flags but I need webserver and daemon

I give U root if you have time to play with it, may be it is more simle. What do U think of it Gerd78 ? If you refuse I gonna format all that shit & try new sys instal with gentoo.
« Last Edit: December 07, 2005, 12:27:54 PM by Orlan »
Logged
"Fascism should more properly be called corporatism because it is the merger of state and corporate power." - Benito Mussolini
It IS MY NO TO FASCIST IRAQ OCCUPATION !

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: wont compile
« Reply #23 on: December 07, 2005, 10:07:55 PM »

Why do you build all these complex libraries like GTK yourself? Doesn't your distro have *-devel packages? If it doesn't, using another one might indeed be a better idea.

Sorry, I wouldn't mind helping with libraries as much as I can and as much as it makes sense, but installing GTK from source looks really exaggerated for me. First try another distro.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: wont compile
« Reply #24 on: December 07, 2005, 10:20:58 PM »

no wonder why noone heard ever about Aurox linux  :]
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: wont compile
« Reply #25 on: December 07, 2005, 10:25:41 PM »

Aurox is derived from Fedora + multimedia and scientific packages. But I'd consider it really strange if it had no *-devel packages.

BTW: As a general hint, it's sometimes a good idea not to use every available ./configure switch. Most of them are reasonable by default, using them without a good reason can make things more difficult sometimes.
Logged

Orlan

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
    • http://sta.ctf.pl
Re: wont compile
« Reply #26 on: December 08, 2005, 11:37:15 AM »

I just simply do not know with one switch made the trick so I try to do all possibe :) i know it is mad but it was last chance.  Aurox is hopless  I dont to want to loose any more time with it.  Thanx for help. Next post will be from nonaurox distro ..
Logged
"Fascism should more properly be called corporatism because it is the merger of state and corporate power." - Benito Mussolini
It IS MY NO TO FASCIST IRAQ OCCUPATION !

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: wont compile
« Reply #27 on: December 08, 2005, 11:39:37 AM »

Now it's a good moment for...

Logged

Orlan

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
    • http://sta.ctf.pl
Re: wont compile
« Reply #28 on: December 12, 2005, 04:09:15 PM »

Hi it is me again i changes sys to trustix 2.2 and added xc X11R6.8.2, wx 2.7.0, gtk 2.8.9, glib 2.9.1, cairo-1.0.2.tar.gz, expat-1.95.8.tar.gz, atk-1.10.3.tar.gz, fontconfig-2.2.3.tar.gz, freetype-2.1.10.tar.bz2, gd-2.0.33.tar.gz all was compiled by my self with more or less  standards options with no problem. (prefix /usr/local/ )

Amule was CVS aMule-CVS-20051210.tar.bz2  

amule configure
./configure \
--enable-profile \
--disable-monolithic \
--disable-ccache \
--enable-debug \
--enable-optimize \
--disable-static \
--enable-amule-daemon \
--enable-amulecmd \
--enable-amulecmdgui \
--enable-webserver \
--enable-webservergui \
--enable-amule-gui \
--enable-cas \
--enable-wxcas \
--with-x \
--enable-alc \
--enable-alcc \
--disable-systray \
--enable-utf8-systray \
--enable-embedded-crypto \
--disable-rpath \
--enable-nls

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
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... bison -y
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 for zlib >= 1.1.4... yes (version 1.2.3)
checking for gdlib-config... /usr/bin/gdlib-config
checking for gdlib version >= 2.0.0... yes (version 2.0.33)
checking gd.h usability... yes
checking gd.h presence... yes
checking for gd.h... yes
checking for libpng-config... /usr/bin/libpng-config
checking for libpng version >= 1.2.0... yes (version 1.2.7)
checking for gd.h... (cached) yes
checking whether we need the GUI... yes
checking for wx-config... /usr/bin/wx-config
checking for wxWidgets version >= 2.6.0... yes (version 2.7.0)
checking that wxWidgets has support for large files... yes
checking that wxBase has support for large files... yes
checking whether to use embedded Crypto... yes
checking for bfd headers... yes
checking for autopoint... yes (0.14.1)
checking for extended flex capabilities... no
configure: Your flex version doesn't support --header-file flag. This is not critical, but an upgrade is recomended
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 sys/wait.h that is POSIX.1 compatible... 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 library containing strerror... none required
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... bison
checking version of bison... 1.875, ok
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 pid_t... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether lstat accepts an empty string... no
checking whether lstat dereferences a symlink specified with a trailing slash... (cached) yes
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 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 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 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 if the applications should be statically linked... no
checking for CVSDATE... Sat Dec 10 07:01:50 CET 2005
checking if this is a FreeBSD 4 or earlier system... no
checking for a readline compatible library... -lreadline -ltermcap
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 docs/man/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/kademlia/io/Makefile
config.status: creating src/kademlia/kademlia/Makefile
config.status: creating src/kademlia/routing/Makefile
config.status: creating src/kademlia/net/Makefile
config.status: creating src/pixmaps/Makefile
config.status: creating src/libs/Makefile
config.status: creating src/libs/ec/Makefile
config.status: creating src/libs/common/Makefile
config.status: creating src/utils/Makefile
config.status: creating src/utils/aLinkCreator/Makefile
config.status: creating src/utils/aLinkCreator/docs/Makefile
config.status: creating src/utils/aLinkCreator/src/Makefile
config.status: creating src/utils/cas/Makefile
config.status: creating src/utils/cas/docs/Makefile
config.status: creating src/utils/wxCas/Makefile
config.status: creating src/utils/wxCas/docs/Makefile
config.status: creating src/utils/wxCas/src/Makefile
config.status: creating src/utils/xas/Makefile
config.status: creating src/utils/xas/docs/Makefile
config.status: creating src/webserver/Makefile
config.status: creating src/webserver/src/Makefile
config.status: creating src/webserver/default/Makefile
config.status: creating src/webserver/php-default/Makefile
config.status: creating src/webserver/chicane/Makefile
config.status: creating unittests/Makefile
config.status: creating unittests/muleunit/Makefile
config.status: creating unittests/tests/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 ****
  Prefix where aMule should be installed?                    /usr/local
  Should aMule be compiled with i18n support?                yes
  Should aMule be compiled in debug mode?                    yes
  Should aMule be compiled with profiling?                   yes
  Should aMule be compiled with optimizations?               yes
  Should aMule monolithic application be built?              no
  Should aMule daemon version be built?                      yes
  Should aMule remote gui be built? (EXPERIMENTAL)           yes
  Crypto++ library/headers style?                            embedded

  **** aMule TextClient ****
  Should aMule Command Line Client be built?                 yes

  **** aMule WebServer ****
  Should aMule WebServer be built?                           yes

  **** aMule ED2K Links Handler ****
  Should aMule ED2K Links Handler be built?                  yes

  **** aMuleLinkCreator ****
  Should aMuleLinkCreator GUI version (alc) be built?        yes
  Should aMuleLinkCreator for console (alcc) be built?       yes

  **** aMule Statistics ****
  Should C aMule Statistics (CAS) be built?                  yes
  Should aMule GUI Statistics (wxCas) be built?              yes

  **** General Libraries and Tools ****
  Should ccache support be enabled?                          no
  Libraries aMule will use to build:
                                       wxWidgets             2.7.0
                                       crypto++              embedded
                                       libpng                1.2.7
                                       libgd                 2.0.33
                                       zlib                  1.2.3

make ......

[CODE}
......
.......
g++  -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC -O2 -pg  -pg -lpthread -o amulecmd  amulecmd-TextClient.o amulecmd-ExternalConnector.o amulecmd-OtherFunctions.o -Llibs/common -Llibs/ec -lmulecommon -lec_noevt -L/usr/local/lib -pthread   -L/usr/X11R6/lib  -pg /usr/local/lib/libwx_baseud_net-2.7.a /usr/local/lib/libwx_baseud-2.7.a -lwxregexud-2.7 -lz -ldl -lm  -lreadline -ltermcap -lz  -lbfd -liberty
if g++ -DHAVE_CONFIG_H -I. -I. -I..     -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC -O2 -pg -MT ED2KLinkParser.o -MD -MP -MF ".deps/ED2KLinkParser.Tpo" -c -o ED2KLinkParser.o ED2KLinkParser.cpp; \
then mv -f ".deps/ED2KLinkParser.Tpo" ".deps/ED2KLinkParser.Po"; else rm -f ".deps/ED2KLinkParser.Tpo"; exit 1; fi
g++  -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC -O2 -pg  -pg -lpthread -o ed2k  ED2KLinkParser.o  
if g++ -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/local/lib/wx/include/gtk2-unicode-debug-static-2.7 -I/usr/local/include/wx-2.7 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXDEBUG__ -D__WXGTK__ -pthread  -I./libs -Ilibs -DCLIENT_GUI -DEC_REMOTE -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC -O2 -pg -MT amulegui-amule-remote-gui.o -MD -MP -MF ".deps/amulegui-amule-remote-gui.Tpo" -c -o amulegui-amule-remote-gui.o `test -f 'amule-remote-gui.cpp' || echo './'`amule-remote-gui.cpp; \
then mv -f ".deps/amulegui-amule-remote-gui.Tpo" ".deps/amulegui-amule-remote-gui.Po"; else rm -f ".deps/amulegui-amule-remote-gui.Tpo"; exit 1; fi
amule-remote-gui.cpp:414:10: warning: #warning TODO: Add remote command
amule-remote-gui.cpp: In member function `bool CSearchListRem::StartNewSearch(uint32*, SearchType, wxString&, wxString&, wxString&, unsigned int, unsigned int, unsigned int)':
amule-remote-gui.cpp:1331: warning: `EC_SEARCH_TYPE ec_search_type' might be used uninitialized in this function
if g++ -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/local/lib/wx/include/gtk2-unicode-debug-static-2.7 -I/usr/local/include/wx-2.7 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXDEBUG__ -D__WXGTK__ -pthread  -I./libs -Ilibs -DCLIENT_GUI -DEC_REMOTE -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC -O2 -pg -MT amulegui-amule-gui.o -MD -MP -MF ".deps/amulegui-amule-gui.Tpo" -c -o amulegui-amule-gui.o `test -f 'amule-gui.cpp' || echo './'`amule-gui.cpp; \
then mv -f ".deps/amulegui-amule-gui.Tpo" ".deps/amulegui-amule-gui.Po"; else rm -f ".deps/amulegui-amule-gui.Tpo"; exit 1; fi
amule-gui.cpp:31:69: X11/Xlib.h: No such file or directory
amule-gui.cpp: In member function `virtual int CamuleGuiBase::InitGui(bool, wxString&)':
amule-gui.cpp:186: error: `XParseGeometry' undeclared (first use this function)
amule-gui.cpp:186: error: (Each undeclared identifier is reported only once for each function it appears in.)
make[3]: *** [amulegui-amule-gui.o] Error 1
make[3]: Leaving directory `/install/amule-cvs/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/install/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/install/amule-cvs'
make: *** [all] Error 2
root@ozon /usr#
[/CODE]
but infact  there is /usr/X11R6/include/X11/Xlib.h

What to do ?
« Last Edit: December 12, 2005, 04:52:36 PM by Orlan »
Logged
"Fascism should more properly be called corporatism because it is the merger of state and corporate power." - Benito Mussolini
It IS MY NO TO FASCIST IRAQ OCCUPATION !

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: wont compile
« Reply #29 on: December 12, 2005, 08:01:31 PM »

Quote
Originally posted by Orlan
but infact  there is /usr/X11R6/include/X11/Xlib.h
Maybe it's there, but it must also be picked up by ./configure and added to the compilation flags.

I don't know why it doesn't happen, but you can do it yourself. Instead of running ./configure, try this:
Code: [Select]
env CPPFLAGS="-I /usr/X11R6/include" ./configure
Logged
Pages: 1 [2] 3