aMule Forum
English => Compilation problems => Topic started by: Orlan on December 04, 2005, 02:14:07 PM
-
> configure
wx_config_args="--toolkit=gtk"
#--with-wx-config=/usr/local/bin/wx-config \
./configure \
--with-wx-config=/usr/local/bin/wx-config \
--enable-profile \
--disable-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 \
--disable-rpath \
--with-wx-prefix=/usr/local/lib/ \
--enable-nls \
--with-included-gettext \
--with-crypto-prefix=/usr/local/lib/ \
--with-libpng-prefix=/usr/local/lib/ \
--with-libiconv-prefix=/usr/local/lib/
configure >...
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? yes
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.7.0
crypto++ embedded
libpng 1.2.8
libgd 2.0.33
zlib 1.2.3
make......
/usr/local/lib/libgd.a(gdft.o)(.text+0x16c5):/usr/src/gd-2.0.33/gdft.c:1434: undefined reference to `FcConfigSubstitute'
/usr/local/lib/libgd.a(gdft.o)(.text+0x16cd):/usr/src/gd-2.0.33/gdft.c:1435: undefined reference to `FcDefaultSubstitute'
/usr/local/lib/libgd.a(gdft.o)(.text+0x16dc):/usr/src/gd-2.0.33/gdft.c:1437: undefined reference to `FcFontMatch'
/usr/local/lib/libgd.a(gdft.o)(.text+0x1758): In function `find_postscript_font':
/usr/src/gd-2.0.33/gdft.c:1452: undefined reference to `FcPatternBuild'
/usr/local/lib/libgd.a(gdft.o)(.text+0x176e):/usr/src/gd-2.0.33/gdft.c:1458: undefined reference to `FcPatternDestroy'
/usr/local/lib/libgd.a(gdft.o)(.text+0x178b):/usr/src/gd-2.0.33/gdft.c:1460: undefined reference to `FcPatternGetString'
/usr/local/lib/libgd.a(gdft.o)(.text+0x17c0):/usr/src/gd-2.0.33/gdft.c:1465: undefined reference to `FcPatternDestroy'
/usr/local/lib/libgd.a(gdft.o)(.text+0x180f): In function `font_pattern':
/usr/src/gd-2.0.33/gdft.c:1494: undefined reference to `FcNameParse'
/usr/local/lib/libgd.a(gdft.o)(.text+0x1824):/usr/src/gd-2.0.33/gdft.c:1496: undefined reference to `FcPatternDestroy'
/usr/local/lib/libgd.a(gdft.o)(.text+0x1841):/usr/src/gd-2.0.33/gdft.c:1501: undefined reference to `FcPatternGetString'
/usr/local/lib/libgd.a(gdft.o)(.text+0x1865):/usr/src/gd-2.0.33/gdft.c:1506: undefined reference to `FcPatternDestroy'
/usr/local/lib/libgd.a(gdkanji.o)(.text+0x57c): In function `do_convert':
/usr/src/gd-2.0.33/gdkanji.c:381: undefined reference to `libiconv_open'
/usr/local/lib/libgd.a(gdkanji.o)(.text+0x5b9):/usr/src/gd-2.0.33/gdkanji.c:395: undefined reference to `libiconv'
/usr/local/lib/libgd.a(gdkanji.o)(.text+0x5c8):/usr/src/gd-2.0.33/gdkanji.c:412: undefined reference to `libiconv_close'
collect2: ld returned 1 exit status
make[5]: *** [cas] BBd 1
make[5]: Opuszczam katalog `/usr/src/aMule-2.0.3/src/utils/cas'
make[4]: *** [all-recursive] BBd 1
make[4]: Opuszczam katalog `/usr/src/aMule-2.0.3/src/utils/cas'
make[3]: *** [all-recursive] BBd 1
make[3]: Opuszczam katalog `/usr/src/aMule-2.0.3/src/utils'
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
How to fix it?
-
Unfortunately, the most important thing (i.e. the actual linker command) is missing in your post.
Looks like a problem with the gd library. Either it's broken or there's a linking order problem (your gd library is static and linking order does matter with static libraries).
You can try to work around this by:
- disabling cas (--disable-cas), or
- using a shared gd library (rebuild it and make sure that libgd.so is installed).
-
U mean --disable-static --enable-sheared in gd-2.0.33 configure and recompile wx and next compile amule with --disable-cas ? I gona do that. I will post results in hour
-
No, I don't mean all of them at once, just different ideas how to solve the problem. You should try one of them, then the next and so on. The first thing you could try is building shared gd libraries. It's not necessary to rebuild wx afterwards, rebuilding aMule is sufficient.
By the way: You can always run
make -i
instead of
make
if you don't need the failed programs. This will simply ignore errors and continue with the next target.
-
I'm sure if I were a better command-line tool geek than I am, I could figure this stuff out myself, but all of the makefile and config and bootstrap stuff is pretty cryptic to me. I've been spoiled by Windows for far too long. :) So thanks for help !
-
./configure amule (gdlib 2.00.33 --disable-static --enable-sheared)
I have found old libgd.so in /usr/lib and i link it against new /usr/local/lib/libgd.so.2.0.0
configure options for amule
wx_config_args="--toolkit=gtk"
#--with-wx-config=/usr/local/bin/wx-config \
./configure \
--with-wx-config=/usr/local/bin/wx-config \
--enable-profile \
--disable-monolithic \
--enable-ccache \
--enable-debug \
--enable-optimize \
--enable-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 \
--with-wx-prefix=/usr/local/lib/ \
--enable-nls \
--with-included-gettext \
--with-crypto-prefix=/usr/local/lib/ \
--with-libpng-prefix=/usr/local/lib/ \
--with-libiconv-prefix=/usr/local/lib/
(root@16:45:20)[/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 whether we need the GUI... yes
checking for wx-config... /usr/local/bin/wx-config
checking for wxWidgets version >= 2.4.2... yes (version 2.7.0)
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_nchecking 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... 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... yes
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.7.0
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 at next page
-
make
(root@16:46:03)[/usr/src/aMule-2.0.3]$ make
make all-recursive
make[1]: Wchodz katalog `/usr/src/aMule-2.0.3'
Making all in m4
make[2]: Wchodz katalog `/usr/src/aMule-2.0.3/m4'
make[2]: Nie nic do roboty w `all'.
make[2]: Opuszczam katalog `/usr/src/aMule-2.0.3/m4'
Making all in docs
make[2]: Wchodz katalog `/usr/src/aMule-2.0.3/docs'
Making all in man
make[3]: Wchodz katalog `/usr/src/aMule-2.0.3/docs/man'
make[3]: Nie nic do roboty w `all'.
make[3]: Opuszczam katalog `/usr/src/aMule-2.0.3/docs/man'
make[3]: Wchodz katalog `/usr/src/aMule-2.0.3/docs'
make[3]: Nie nic do roboty w `all-am'.
make[3]: Opuszczam katalog `/usr/src/aMule-2.0.3/docs'
make[2]: Opuszczam katalog `/usr/src/aMule-2.0.3/docs'
Making all in src
make[2]: Wchodz katalog `/usr/src/aMule-2.0.3/src'
Making all in utils
make[3]: Wchodz katalog `/usr/src/aMule-2.0.3/src/utils'
Making all in xas
make[4]: Wchodz katalog `/usr/src/aMule-2.0.3/src/utils/xas'
Making all in docs
make[5]: Wchodz katalog `/usr/src/aMule-2.0.3/src/utils/xas/docs'
make[5]: Nie nic do roboty w `all'.
make[5]: Opuszczam katalog `/usr/src/aMule-2.0.3/src/utils/xas/docs'
make[5]: Wchodz katalog `/usr/src/aMule-2.0.3/src/utils/xas'
make[5]: Nie nic do roboty w `all-am'.
make[5]: Opuszczam katalog `/usr/src/aMule-2.0.3/src/utils/xas'
make[4]: Opuszczam katalog `/usr/src/aMule-2.0.3/src/utils/xas'
Making all in wxCas
make[4]: Wchodz katalog `/usr/src/aMule-2.0.3/src/utils/wxCas'
Making all in src
make[5]: Wchodz katalog `/usr/src/aMule-2.0.3/src/utils/wxCas/src'
if /usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I/usr/local/lib//lib/wx/include/gtk2-unicode-release-static-2.7 -I/usr/local/lib//include/wx-2.7 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D_IODBC_ -D__WXGTK__ -pthread -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -O2 -pg -MT wxcas-onlinesig.o -MD -MP -MF ".deps/wxcas-onlinesig.Tpo" \
-c -o wxcas-onlinesig.o `test -f 'onlinesig.cpp' || echo './'`onlinesig.cpp; \
then mv -f ".deps/wxcas-onlinesig.Tpo" ".deps/wxcas-onlinesig.Po"; \
else rm -f ".deps/wxcas-onlinesig.Tpo"; exit 1; \
fi
In file included from /usr/local/include/wx/defs.h:23,
from /usr/local/include/wx/wxprec.h:13,
from onlinesig.cpp:35:
/usr/local/include/wx/platform.h:85:22: wx/setup.h: Nie ma takiego pliku ani katalogu
In file included from /usr/local/include/wx/platform.h:88,
from /usr/local/include/wx/defs.h:23,
from /usr/local/include/wx/wxprec.h:13,
from onlinesig.cpp:35:
/usr/local/include/wx/chkconf.h:47:9: #error "wxUSE_DYNLIB_CLASS must be defined."
/usr/local/include/wx/chkconf.h:55:9: #error "wxUSE_FILESYSTEM must be defined."
/usr/local/include/wx/chkconf.h:68:9: #error "wxUSE_DYNAMIC_LOADER must be defined."
/usr/local/include/wx/chkconf.h:76:9: #error "wxUSE_LOG must be defined."
/usr/local/include/wx/chkconf.h:84:9: #error "wxUSE_LONGLONG must be defined."
/usr/local/include/wx/chkconf.h:92:9: #error "wxUSE_MIMETYPE must be defined."
/usr/local/include/wx/chkconf.h:100:9: #error "wxUSE_PROLOGIO must be defined."
/usr/local/include/wx/chkconf.h:108:9: #error "wxUSE_PROTOCOL must be defined."
/usr/local/include/wx/chkconf.h:150:9: #error "wxUSE_REGEX must be defined."
/usr/local/include/wx/chkconf.h:158:9: #error "wxUSE_SOCKETS must be defined."
/usr/local/include/wx/chkconf.h:166:9: #error "wxUSE_STREAMS must be defined."
/usr/local/include/wx/chkconf.h:174:9: #error "wxUSE_STOPWATCH must be defined."
/usr/local/include/wx/chkconf.h:182:9: #error "wxUSE_TEXTBUFFER must be defined."
/usr/local/include/wx/chkconf.h:190:9: #error "wxUSE_TEXTFILE must be defined."
/usr/local/include/wx/chkconf.h:198:9: #error "wxUSE_UNICODE must be defined."
/usr/local/include/wx/chkconf.h:206:9: #error "wxUSE_URL must be defined."
/usr/local/include/wx/chkconf.h:224:9: #error "wxUSE_ACCEL must be defined."
/usr/local/include/wx/chkconf.h:232:9: #error "wxUSE_BMPBUTTON must be defined."
/usr/local/include/wx/chkconf.h:240:9: #error "wxUSE_BUTTON must be defined."
/usr/local/include/wx/chkconf.h:248:9: #error "wxUSE_CALENDARCTRL must be defined."
/usr/local/include/wx/chkconf.h:256:9: #error "wxUSE_CARET must be defined."
/usr/local/include/wx/chkconf.h:264:9: #error "wxUSE_CHECKBOX must be defined."
/usr/local/include/wx/chkconf.h:272:9: #error "wxUSE_CHECKLISTBOX must be defined."
/usr/local/include/wx/chkconf.h:280:9: #error "wxUSE_CHOICE must be defined."
/usr/local/include/wx/chkconf.h:288:9: #error "wxUSE_CHOICEDLG must be defined."
/usr/local/include/wx/chkconf.h:296:9: #error "wxUSE_CLIPBOARD must be defined."
/usr/local/include/wx/chkconf.h:304:9: #error "wxUSE_COLOURDLG must be defined."
/usr/local/include/wx/chkconf.h:312:9: #error "wxUSE_COMBOBOX must be defined."
/usr/local/include/wx/chkconf.h:320:9: #error "wxUSE_DATAOBJ must be defined."
/usr/local/include/wx/chkconf.h:328:9: #error "wxUSE_DOC_VIEW_ARCHITECTURE must be defined."
/usr/local/include/wx/chkconf.h:336:9: #error "wxUSE_FILEDLG must be defined."
/usr/local/include/wx/chkconf.h:344:9: #error "wxUSE_FONTDLG must be defined."
/usr/local/include/wx/chkconf.h:352:9: #error "wxUSE_FONTMAP must be defined."
/usr/local/include/wx/chkconf.h:360:9: #error "wxUSE_GAUGE must be defined."
/usr/local/include/wx/chkconf.h:368:9: #error "wxUSE_GRID must be defined."
/usr/local/include/wx/chkconf.h:376:9: #error "wxUSE_HELP must be defined."
/usr/local/include/wx/chkconf.h:384:9: #error "wxUSE_HTML must be defined."
/usr/local/include/wx/chkconf.h:392:9: #error "wxUSE_ICO_CUR must be defined."
/usr/local/include/wx/chkconf.h:400:9: #error "wxUSE_IFF must be defined."
/usr/local/include/wx/chkconf.h:408:9: #error "wxUSE_IMAGLIST must be defined."
/usr/local/include/wx/chkconf.h:416:9: #error "wxUSE_JOYSTICK must be defined."
/usr/local/include/wx/chkconf.h:424:9: #error "wxUSE_LISTBOX must be defined."
/usr/local/include/wx/chkconf.h:432:9: #error "wxUSE_LISTCTRL must be defined."
/usr/local/include/wx/chkconf.h:440:9: #error "wxUSE_LOGGUI must be defined."
/usr/local/include/wx/chkconf.h:448:9: #error "wxUSE_LOGWINDOW must be defined."
/usr/local/include/wx/chkconf.h:456:9: #error "wxUSE_LOG_DIALOG must be defined."
/usr/local/include/wx/chkconf.h:464:9: #error "wxUSE_MDI_ARCHITECTURE must be defined."
/usr/local/include/wx/chkconf.h:472:9: #error "wxUSE_MENUS must be defined."
/usr/local/include/wx/chkconf.h:480:9: #error "wxUSE_MSGDLG must be defined."
/usr/local/include/wx/chkconf.h:488:9: #error "wxUSE_NEW_GRID must be defined."
/usr/local/include/wx/chkconf.h:496:9: #error "wxUSE_NOTEBOOK must be defined."
/usr/local/include/wx/chkconf.h:504:9: #error "wxUSE_PALETTE must be defined."
/usr/local/include/wx/chkconf.h:512:9: #error "wxUSE_POPUPWIN must be defined."
/usr/local/include/wx/chkconf.h:520:9: #error "wxUSE_PRINTING_ARCHITECTURE must be defined."
/usr/local/include/wx/chkconf.h:528:9: #error "wxUSE_RADIOBOX must be defined."
/usr/local/include/wx/chkconf.h:536:9: #error "wxUSE_RADIOBTN must be defined."
/usr/local/include/wx/chkconf.h:544:9: #error "wxUSE_SASH must be defined."
/usr/local/include/wx/chkconf.h:552:9: #error "wxUSE_SCROLLBAR must be defined."
/usr/local/include/wx/chkconf.h:560:9: #error "wxUSE_SLIDER must be defined."
/usr/local/include/wx/chkconf.h:568:9: #error "wxUSE_SPINBTN must be defined."
/usr/local/include/wx/chkconf.h:576:9: #error "wxUSE_SPINCTRL must be defined."
/usr/local/include/wx/chkconf.h:584:9: #error "wxUSE_SPLASH must be defined."
/usr/local/include/wx/chkconf.h:592:9: #error "wxUSE_SPLITTER must be defined."
/usr/local/include/wx/chkconf.h:600:9: #error "wxUSE_STATBMP must be defined."
/usr/local/include/wx/chkconf.h:608:9: #error "wxUSE_STATBOX must be defined."
/usr/local/include/wx/chkconf.h:616:9: #error "wxUSE_STATLINE must be defined."
/usr/local/include/wx/chkconf.h:624:9: #error "wxUSE_STATTEXT must be defined."
/usr/local/include/wx/chkconf.h:632:9: #error "wxUSE_STATUSBAR must be defined."
/usr/local/include/wx/chkconf.h:640:9: #error "wxUSE_TAB_DIALOG must be defined."
/usr/local/include/wx/chkconf.h:648:9: #error "wxUSE_TEXTCTRL must be defined."
/usr/local/include/wx/chkconf.h:656:9: #error "wxUSE_TIPWINDOW must be defined."
/usr/local/include/wx/chkconf.h:664:9: #error "wxUSE_TOOLBAR must be defined."
/usr/local/include/wx/chkconf.h:672:9: #error "wxUSE_TOOLTIPS must be defined."
/usr/local/include/wx/chkconf.h:680:9: #error "wxUSE_TREECTRL must be defined."
/usr/local/include/wx/chkconf.h:688:9: #error "wxUSE_WX_RESOURCES must be defined."
/usr/local/include/wx/chkconf.h:696:9: #error "wxUSE_WXHTML_HELP must be defined."
/usr/local/include/wx/chkconf.h:1138:9: #error "wxMessageBox is always needed"
/usr/local/include/wx/chkconf.h:1184:9: #error "wxUSE_DYNAMIC_CLASSES must be defined as 1"
In file included from /usr/local/include/wx/memory.h:20,
from /usr/local/include/wx/object.h:25,
from /usr/local/include/wx/wx.h:16,
from onlinesig.cpp:43:
/usr/local/include/wx/string.h:443: error: `wxChar wxString::operator[](unsigned int) const' and `wxChar wxString::operator[](unsigned int) const' cannot be overloaded
/usr/local/include/wx/string.h:447: error: `wxChar& wxString::operator[](unsigned int)' and `wxChar& wxString::operator[](unsigned int)' cannot be overloaded
In file included from /usr/local/include/wx/wx.h:16,
from onlinesig.cpp:43:
/usr/local/include/wx/object.h:438: error: `wxClassInfo' was not declared in this scope
/usr/local/include/wx/object.h:438: error: `info' was not declared in this scope
/usr/local/include/wx/object.h:438: error: invalid data member initialization
/usr/local/include/wx/object.h:438: error: (use `=' to initialize static data members)
/usr/local/include/wx/object.h:479: error: syntax error before `*' token
/usr/local/include/wx/object.h:480: error: semicolon missing after declaration of `wxObject'
/usr/local/include/wx/object.h: In constructor `wxObject::wxObject()':
/usr/local/include/wx/object.h:420: error: `m_refData' undeclared (first use this function)
/usr/local/include/wx/object.h:420: error: (Each undeclared identifier is reported only once for each function it appears in.)
/usr/local/include/wx/object.h: In destructor `virtual wxObject::~wxObject()':
/usr/local/include/wx/object.h:421: error: `UnRef' undeclared (first use this function)
/usr/local/include/wx/object.h: At global scope:
/usr/local/include/wx/object.h:480: error: `wxObjectRefData' was not declared in this scope
/usr/local/include/wx/object.h:480: error: `data' was not declared in this scope
/usr/local/include/wx/object.h:480: error: ISO C++ forbids defining types within return type
/usr/local/include/wx/object.h:480: error: two or more data types in declaration of `SetRefData'
/usr/local/include/wx/object.h:480: error: syntax error before `{' token
/usr/local/include/wx/object.h:486: error: `void UnRef()' used prior to declaration
/usr/local/include/wx/object.h:488: error: syntax error before `protected'
/usr/local/include/wx/object.h:498: error: syntax error before `*' token
/usr/local/include/wx/object.h:501: error: syntax error before `*' token
/usr/local/include/wx/object.h:503: error: syntax error before `*' token
/usr/local/include/wx/object.h:525: error: type specifier omitted for parameter `wxClassInfo'
/usr/local/include/wx/object.h:525: error: syntax error before `*' token
/usr/local/include/wx/object.h: In function `wxObject* wxCheckDynamicCast(...)':
/usr/local/include/wx/object.h:527: error: `obj' undeclared (first use this function)
/usr/local/include/wx/object.h:527: error: `classInfo' undeclared (first use this function)
In file included from /usr/local/include/wx/wx.h:22,
from onlinesig.cpp:43:
/usr/local/include/wx/log.h:19:22: wx/setup.h: Nie ma takiego pliku ani katalogu
In file included from /usr/local/include/wx/event.h:24,
from /usr/local/include/wx/wx.h:23,
from onlinesig.cpp:43:
/usr/local/include/wx/gdicmn.h:27:22: wx/setup.h: Nie ma takiego pliku ani katalogu
In file included from /usr/local/include/wx/gtk/colour.h:22,
from /usr/local/include/wx/colour.h:9,
from /usr/local/include/wx/gdicmn.h:28,
from /usr/local/include/wx/event.h:24,
from /usr/local/include/wx/wx.h:23,
from onlinesig.cpp:43:
/usr/local/include/wx/palette.h:5:22: wx/setup.h: Nie ma takiego pliku ani katalogu
In file included from /usr/local/include/wx/icon.h:15,
from /usr/local/include/wx/gtk/app.h:18,
from /usr/local/include/wx/app.h:431,
from /usr/local/include/wx/wx.h:24,
from onlinesig.cpp:43:
/usr/local/include/wx/gtk/icon.h: In member function `bool wxIcon::operator==(const wxIcon&) const':
/usr/local/include/wx/gtk/icon.h:49: error: 'const class wxIcon' has no member named 'm_refData'
In file included from /usr/local/include/wx/dc.h:764,
from /usr/local/include/wx/wx.h:33,
from onlinesig.cpp:43:
/usr/local/include/wx/gtk/dc.h: In member function `void wxDC::SetColourMap(const wxPalette&)':
/usr/local/include/wx/gtk/dc.h:47: error: `SetPalette' undeclared (first use this function)
In file included from /usr/local/include/wx/wx.h:46,
from onlinesig.cpp:43:
/usr/local/include/wx/timer.h:20:22: wx/setup.h: Nie ma takiego pliku ani katalogu
In file included from onlinesig.h:49,
from onlinesig.cpp:46:
/usr/local/include/wx/filename.h: At global scope:
/usr/local/include/wx/filename.h:191: error: syntax error before `*' token
/usr/local/include/wx/filename.h:200: error: `wxDateTime' was not declared in this scope
/usr/local/include/wx/filename.h:200: error: `dtAccess' was not declared in this scope
/usr/local/include/wx/filename.h:201: error: `wxDateTime' was not declared in this scope
/usr/local/include/wx/filename.h:201: error: `dtMod' was not declared in this scope
/usr/local/include/wx/filename.h:202: error: `wxDateTime' was not declared in this scope
/usr/local/include/wx/filename.h:202: error: `dtCreate' was not declared in this scope
/usr/local/include/wx/filename.h:202: error: invalid data member initialization
/usr/local/include/wx/filename.h:205: error: syntax error before `)' token
/usr/local/include/wx/filename.h:226: error: semicolon missing after declaration of `wxFileName'
/usr/local/include/wx/filename.h: In member function `bool wxFileName::IsOk() const':
/usr/local/include/wx/filename.h:175: error: `m_dirs' undeclared (first use this function)
/usr/local/include/wx/filename.h:175: error: `m_name' undeclared (first use this function)
/usr/local/include/wx/filename.h: At global scope:
/usr/local/include/wx/filename.h:226: error: two or more data types in declaration of `AssignCwd'
/usr/local/include/wx/filename.h:283: error: non-member function `bool SameAs(const wxFileName&, wxPathFormat)' cannot have `const' method qualifier
/usr/local/include/wx/filename.h:287: error: non-member function `bool operator==(const wxFileName&)' cannot have `const' method qualifier
/usr/local/include/wx/filename.h:287: error: `bool operator==(const wxFileName&)' must take exactly two arguments
/usr/local/include/wx/filename.h:289: error: non-member function `bool operator!=(const wxFileName&)' cannot have `const' method qualifier
/usr/local/include/wx/filename.h:289: error: `bool operator!=(const wxFileName&)' must take exactly two arguments
/usr/local/include/wx/filename.h:293: error: non-member function `bool operator==(const wxString&)' cannot have `const' method qualifier
/usr/local/include/wx/filename.h:293: error: `bool operator==(const wxString&)' must take exactly two arguments
/usr/local/include/wx/filename.h:295: error: non-member function `bool operator!=(const wxString&)' cannot have `const' method qualifier
/usr/local/include/wx/filename.h:295: error: `bool operator!=(const wxString&)' must take exactly two arguments
/usr/local/include/wx/filename.h:301: error: non-member function `bool IsAbsolute(wxPathFormat)' cannot have `const' method qualifier
/usr/local/include/wx/filename.h:305: error: non-member function `bool IsRelative(wxPathFormat)' cannot have `const' method qualifier
/usr/local/include/wx/filename.h:329: error: non-member function `size_t GetDirCount()' cannot have `const' method qualifier
/usr/local/include/wx/filename.h: In function `void SetExt(const wxString&)':
/usr/local/include/wx/filename.h:332: error: `m_ext' undeclared (first use this function)
/usr/local/include/wx/filename.h: At global scope:
/usr/local/include/wx/filename.h:333: error: non-member function `wxString GetExt()' cannot have `const' method qualifier
/usr/local/include/wx/filename.h:334: error: non-member function `bool HasExt()' cannot have `const' method qualifier
/usr/local/include/wx/filename.h:337: error: non-member function `wxString GetName()' cannot have `const' method qualifier
/usr/local/include/wx/filename.h:338: error: non-member function `bool HasName()' cannot have `const' method qualifier
/usr/local/include/wx/filename.h: In function `void SetVolume(const wxString&)':
/usr/local/include/wx/filename.h:340: error: `m_volume' undeclared (first use this function)
/usr/local/include/wx/filename.h: At global scope:
/usr/local/include/wx/filename.h:341: error: non-member function `wxString GetVolume()' cannot have `const' method qualifier
/usr/local/include/wx/filename.h:342: error: non-member function `bool HasVolume()' cannot have `const' method qualifier
/usr/local/include/wx/filename.h:346: error: non-member function `wxString GetFullName()' cannot have `const' method qualifier
/usr/local/include/wx/filename.h:348: error: non-member function `const wxArrayString& GetDirs()' cannot have `const' method qualifier
/usr/local/include/wx/filename.h:351: error: non-member function `wxString GetPath(int, wxPathFormat)' cannot have `const' method qualifier
/usr/local/include/wx/filename.h:357: error: non-member function `wxString GetFullPath(wxPathFormat)' cannot have `const' method qualifier
/usr/local/include/wx/filename.h:360: error: non-member function `wxString GetShortPath()' cannot have `const' method qualifier
/usr/local/include/wx/filename.h:363: error: non-member function `wxString GetLongPath()' cannot have `const' method qualifier
/usr/local/include/wx/filename.h:366: error: non-member function `bool IsDir()' cannot have `const' method qualifier
/usr/local/include/wx/filename.h:394: error: non-member function `wxString GetPath(bool, wxPathFormat)' cannot have `const' method qualifier
/usr/local/include/wx/filename.h:397: error: non-member function `wxString GetPathWithSep(wxPathFormat)' cannot have `const' method qualifier
/usr/local/include/wx/filename.h:399: error: syntax error before `private'
/usr/local/include/wx/filename.h:404: error: `wxArrayString m_dirs' used prior to declaration
/usr/local/include/wx/filename.h:407: error: `wxString m_name' used prior to declaration
/usr/local/include/wx/filename.h:408: error: `wxString m_ext' used prior to declaration
/usr/local/include/wx/filename.h:419: error: syntax error before `}' token
In file included from onlinesig.cpp:46:
onlinesig.h:57: error: 'wxDateTime' is used as a type, but is not defined as a type.
onlinesig.h:62: error: 'wxDateTime' is used as a type, but is not defined as a type.
onlinesig.h:92: error: syntax error before `=' token
onlinesig.h:170: error: syntax error before `)' token
onlinesig.h:182: error: syntax error before `)' token
onlinesig.cpp:55: error: syntax error before `)' token
onlinesig.cpp:59: error: ISO C++ forbids declaration of `m_sessionMaxDL' with no type
onlinesig.cpp:59: error: `int OnLineSig::m_sessionMaxDL' is not a static member of `class OnLineSig'
onlinesig.cpp:59: warning: initialization to `int' from `double'
onlinesig.cpp:59: warning: argument to `int' from `double'
onlinesig.cpp:60: error: ISO C++ forbids declaration of `m_sessionMaxDLDate' with no type
onlinesig.cpp:60: error: `int OnLineSig::m_sessionMaxDLDate' is not a static member of `class OnLineSig'
onlinesig.cpp:60: error: `wxDateTime' was not declared in this scope
onlinesig.cpp:60: error: syntax error before `::' token
onlinesig.cpp:62: error: ISO C++ forbids declaration of `m_absoluteMaxDL' with no type
onlinesig.cpp:62: error: `int OnLineSig::m_absoluteMaxDL' is not a static member of `class OnLineSig'
onlinesig.cpp:62: error: `absoluteMaxDL' was not declared in this scope
onlinesig.cpp:63: error: ISO C++ forbids declaration of `m_absoluteMaxDlDate' with no type
onlinesig.cpp:63: error: `int OnLineSig::m_absoluteMaxDlDate' is not a static member of `class OnLineSig'
onlinesig.cpp:63: error: `absoluteMaxDlDate' was not declared in this scope
onlinesig.cpp:65: error: ISO C++ forbids declaration of `m_isSessionMaxDlReseted' with no type
onlinesig.cpp:65: error: `int OnLineSig::m_isSessionMaxDlReseted' is not a static member of `class OnLineSig'
onlinesig.cpp:66: error: ISO C++ forbids declaration of `m_isAbsoluteMaxDlReseted' with no type
onlinesig.cpp:66: error: `int OnLineSig::m_isAbsoluteMaxDlReseted' is not a static member of `class OnLineSig'
onlinesig.cpp:68: error: ISO C++ forbids declaration of `Refresh' with no type
onlinesig.cpp:69: erronlinesig.cpp: In member function `void OnLineSig::Refresh()':
onlinesig.cpp:86: error: `wxFileInputStream' undeclared (first use this function)
onlinesig.cpp:86: error: syntax error before `(' token
onlinesig.cpp:88: error: `wxTextInputStream' undeclared (first use this function)
onlinesig.cpp:89: error: `text' undeclared (first use this function)
onlinesig.cpp:113: error: `m_sessionMaxDLDate' undeclared (first use this function)
onlinesig.cpp:113: error: `wxDateTime' undeclared (first use this function)
onlinesig.cpp:113: error: syntax error before `::' token
onlinesig.cpp:123: error: `m_absoluteMaxDlDate' undeclared (first use this function)
onlinesig.cpp:123: error: syntax error before `::' token
onlinesig.cpp: At global scope:
onlinesig.cpp:264: error: syntax error before `::' token
onlinesig.cpp: In member function `void OnLineSig::ResetSessionMaxDL()':
onlinesig.cpp:272: error: syntax error before `::' token
onlinesig.cpp: At global scope:
onlinesig.cpp:286: error: syntax error before `::' token
onlinesig.cpp: In member function `void OnLineSig::ResetAbsoluteMaxDL()':
onlinesig.cpp:294: error: syntax error before `::' token
make[5]: *** [wxcas-onlinesig.o] BBd 1
make[5]: Opuszczam katalog `/usr/src/aMule-2.0.3/src/utils/wxCas/src'
make[4]: *** [all-recursive] BBd 1
make[4]: Opuszczam katalog `/usr/src/aMule-2.0.3/src/utils/wxCas'
make[3]: *** [all-recursive] BBd 1
make[3]: Opuszczam katalog `/usr/src/aMule-2.0.3/src/utils'
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
or: syntax error before `}' token
-
Does this:
/usr/local/include/wx/platform.h:85:22: wx/setup.h: Nie ma takiego pliku ani katalogu
mean something like "file not found"?
If yes, you must add the directory that contains "wx/setup.h" to your CPPFLAGS. This should have happened automatically, but maybe it didn't happen because of some brokenness in wx or whatever.
So, if "wx/setup.h" were in "/usr/local/include", the directory you have to add would be "/usr/local/include", not "/usr/local/include/wx", and you would have to run ./configure like this:
CPPFLAGS=-I/usr/local/include ./configure
BTW: Rumours say that wx-cvs is currently a little bit broken as far as it concerns include-flags and so on. You might have more luck with an earlier release. Try wx 2.6.2 + unicode patch.
-
the error looks to me like and old debian pkg bug they had a while ago, when debian folks backported some 2.5.3 to 2.5.2 wx-version and messed up a little....
best would be the thing gerd78 said recompile wx-2.6.2 and see if that works
if you do not want to mess with your system-libs check this link:
http://www.amule.org/wiki/index.php/Using_another_wxinstall
-
/usr/local/include/wx/platform.h:85:22: wx/setup.h: Nie ma takiego pliku ani katalogu
yes it means "file not found" but infact there is no wx/setup.h at all. I wonder if U have this file
CPPFLAGS=-I/usr/local/include/wx-2.7
does not help
i gona try wx 2.6 with patch
===================================================================
RCS file: /pack/cvsroots/wxwidgets/wxWidgets/src/common/intl.cpp,v
retrieving revision 1.166
retrieving revision 1.166.2.1
diff -u -r1.166 -r1.166.2.1
--- wxWidgets/src/common/intl.cpp2005/09/18 23:38:061.166
+++ wxWidgets/src/common/intl.cpp2005/09/28 09:48:031.166.2.1
@@ -5,7 +5,7 @@
// Modified by: Michael N. Filippov
// (2003/09/30 - PluralForms support)
// Created: 29/01/98
-// RCS-ID: $Id: intl.cpp,v 1.166 2005/09/18 23:38:06 VZ Exp $
+// RCS-ID: $Id: intl.cpp,v 1.166.2.1 2005/09/28 09:48:03 VZ Exp $
// Copyright: (c) 1998 Vadim Zeitlin
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
@@ -1260,9 +1260,14 @@
inputConv =
csConv = new wxCSConv(m_charset);
}
- else // no conversion needed
+ else // no need to convert the encoding
{
+ // we still need the conversion for Unicode build
+#if wxUSE_UNICODE
+ inputConv = wxConvCurrent;
+#else // !wxUSE_UNICODE
inputConv = NULL;
+#endif
}
// conversion to apply to msgid strings before looking them up: we only
wx262 options
./configure \
--enable-gui \
--enable-debug \
--enable-optimise \
--enable-gtk2 \
--with-gtk \
--with-x \
--disable-compat24 \
--enable-unicode \
--enable-profile \
--with-sdl \
--without-libmspack \
--enable-plugins \
--disable-shared \
--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
root@00:14:26)[/usr/src/wxGTK-2.6.2]$ ./\!configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
loading argument cache configarg.cache
checking for --enable-gui... yes
checking for --enable-monolithic... no
checking for --enable-plugins... yes
checking for --enable-universal... no
checking for --enable-nanox... no
checking for --enable-gpe... no
checking for --with-libpng... yes
checking for --with-libjpeg... yes
checking for --with-libtiff... yes
checking for --with-libxpm... yes
checking for --with-libmspack... no
checking for --with-sdl... yes
checking for --with-gnomeprint... yes
checking for --with-opengl... yes
checking for --with-dmalloc... no
checking for --with-regex... yes
checking for --with-zlib... yes
checking for --with-odbc... yes
checking for --with-expat... yes
checking for --enable-shared... no
checking for --enable-optimise... yes
checking for --enable-debug... yes
checking for --enable-stl... yes
checking for --enable-debug_flag... yes
checking for --enable-debug_info... yes
checking for --enable-debug_gdb... no
checking for --enable-debug_cntxt... no
checking for --enable-mem_tracing... no
checking for --enable-profile... yes
checking for --enable-no_rtti... no
checking for --enable-no_exceptions... no
checking for --enable-permissive... no
checking for --enable-no_deps... no
checking for --enable-compat22... no
checking for --disable-compat24... no
checking for --enable-rpath... yes
checking for --enable-intl... yes
checking for --enable-config... yes
checking for --enable-protocols... yes
checking for --enable-ftp... yes
checking for --enable-http... yes
checking for --enable-fileproto... yes
checking for --enable-sockets... yes
checking for --enable-ole... yes
checking for --enable-dataobj... yes
checking for --enable-ipc... yes
checking for --enable-apple_ieee... yes
checking for --enable-arcstream... yes
checking for --enable-backtrace... yes
checking for --enable-catch_segvs... yes
checking for --enable-cmdline... yes
checking for --enable-datetime... yes
checking for --enable-debugreport... yes
checking for --enable-dialupman... yes
checking for --enable-dynlib... yes
checking for --enable-dynamicloader... yes
checking for --enable-exceptions... yes
checking for --enable-ffile... yes
checking for --enable-file... yes
checking for --enable-filesystem... yes
checking for --enable-fontmap... yes
checking for --enable-fs_inet... yes
checking for --enable-fs_zip... yes
checking for --enable-geometry... yes
checking for --enable-log... yes
checking for --enable-longlong... yes
checking for --enable-mimetype... yes
checking for --enable-mslu... yes
checking for --enable-snglinst... yes
checking for --enable-std_iostreams... yes
checking for --enable-std_string... yes
checking for --enable-stdpaths... yes
checking for --enable-stopwatch... yes
checking for --enable-streams... yes
checking for --enable-system_options... yes
checking for --enable-textbuf... yes
checking for --enable-textfile... yes
checking for --enable-timer... yes
checking for --enable-unicode... yes
checking for --enable-sound... yes
checking for --enable-mediactrl... yes
checking for --enable-wxprintfv... no
checking for --enable-zipstream... yes
checking for --enable-url... yes
checking for --enable-protocol... yes
checking for --enable-protocol_http... yes
checking for --enable-protocol_ftp... yes
checking for --enable-protocol_file... yes
checking for --enable-threads... yes
checking for --enable-docview... yes
checking for --enable-help... yes
checking for --enable-mshtmlhelp... yes
checking for --enable-html... yes
checking for --enable-htmlhelp... yes
checking for --enable-xrc... yes
checking for --enable-constraints... yes
checking for --enable-printarch... yes
checking for --enable-mdi... yes
checking for --enable-mdidoc... yes
checking for --enable-loggui... yes
checking for --enable-logwin... yes
checking for --enable-logdialog... yes
checking for --enable-webkit... yes
checking for --enable-postscript... yes
checking for --enable-prologio... no
checking for --enable-resources... no
checking for --enable-clipboard... yes
checking for --enable-dnd... yes
checking for --enable-metafile... yes
checking for --enable-controls... yes
checking for --enable-accel... yes
checking for --enable-button... yes
checking for --enable-bmpbutton... yes
checking for --enable-calendar... yes
checking for --enable-caret... yes
checking for --enable-checkbox... yes
checking for --enable-checklst... yes
checking for --enable-choice... yes
checking for --enable-choicebook... yes
checking for --enable-combobox... yes
checking for --enable-datepick... yes
checking for --enable-display... yes
checking for --enable-gauge... yes
checking for --enable-grid... yes
checking for --enable-imaglist... yes
checking for --enable-listbook... yes
checking for --enable-listbox... yes
checking for --enable-listctrl... yes
checking for --enable-notebook... yes
checking for --enable-radiobox... yes
checking for --enable-radiobtn... yes
checking for --enable-sash... yes
checking for --enable-scrollbar... yes
checking for --enable-slider... yes
checking for --enable-spinbtn... yes
checking for --enable-spinctrl... yes
checking for --enable-splitter... yes
checking for --enable-statbmp... yes
checking for --enable-statbox... yes
checking for --enable-statline... yes
checking for --enable-stattext... yes
checking for --enable-statusbar... yes
checking for --enable-tabdialog... yes
checking for --enable-textctrl... yes
checking for --enable-togglebtn... yes
checking for --enable-toolbar... yes
checking for --enable-tbarnative... yes
checking for --enable-tbarsmpl... yes
checking for --enable-treectrl... yes
checking for --enable-tipwindow... yes
checking for --enable-popupwin... yes
checking for --enable-commondlg... yes
checking for --enable-choicedlg... yes
checking for --enable-coldlg... yes
checking for --enable-filedlg... yes
checking for --enable-finddlg... yes
checking for --enable-fontdlg... yes
checking for --enable-dirdlg... yes
checking for --enable-msgdlg... yes
checking for --enable-numberdlg... yes
checking for --enable-splash... yes
checking for --enable-textdlg... yes
checking for --enable-tipdlg... yes
checking for --enable-progressdlg... yes
checking for --enable-wizarddlg... yes
checking for --enable-menus... yes
checking for --enable-miniframe... yes
checking for --enable-tooltips... yes
checking for --enable-splines... yes
checking for --enable-mousewheel... yes
checking for --enable-validators... yes
checking for --enable-busyinfo... yes
checking for --enable-joystick... yes
checking for --enable-metafile... yes
checking for --enable-dragimage... yes
checking for --enable-accessibility... no
checking for --enable-palette... yes
checking for --enable-image... yes
checking for --enable-gif... yes
checking for --enable-pcx... yes
checking for --enable-iff... yes
checking for --enable-pnm... yes
checking for --enable-xpm... yes
checking for --enable-ico_cur... yes
checking for --enable-official_build... no
saving argument cache configarg.cache
checking for toolkit... gtk
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking if the C compiler requires -ext o...
checking whether we are using the Metrowerks C compiler... no
checking whether we are using the IBM xlC C compiler... no
checking whether we are using the SGI C compiler... no
checking whether we are using the Sun C compiler... no
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking if the C++ compiler requires -ext o...
checking whether we are using the Metrowerks C++ compiler... no
checking whether we are using the IBM xlC C++ compiler... no
checking whether we are using the SGI C++ compiler... no
checking whether we are using the Sun C++ compiler... no
checking for ranlib... ranlib
checking for ar... ar
checking for a BSD-compatible install... /usr/bin/install -c
checking for strip... strip
checking if make is GNU make... yes
checking whether ln -s works... yes
checking for strcasecmp() in string.h... yes
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 stdlib.h... (cached) yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for unistd.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking fnmatch.h usability... yes
checking fnmatch.h presence... yes
checking for fnmatch.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for void *... yes
checking size of void *... 4
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for size_t... yes
checking size of size_t... 4
checking for long long... yes
checking size of long long... 8
checking for wchar_t... yes
checking size of wchar_t... 4
checking for va_copy... yes
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking if large file support is available... yes
checking for _LARGEFILE_SOURCE value needed for large files... 1
checking for fseeko... yes
checking whether byte ordering is bigendian... no
checking how to run the C++ preprocessor... g++ -E
checking iostream usability..checking iostream presence... yes
checking for iostream... yes
checking if C++ compiler supports bool... yes
checking if C++ compiler supports the explicit keyword... yes
checking whether the compiler supports const_cast<>... yes
checking whether the compiler supports reinterpret_cast<>... yes
checking whether the compiler supports static_cast<>... yes
checking for std::wstring in ... yes
checking for std::istream... yes
checking for std::ostream... yes
checking for basic STL functionality... yes
checking for compliant std::string::compare... yes
checking hash_map usability... no
checking hash_map presence... no
checking for hash_map... no
checking ext/hash_map usability... yes
checking ext/hash_map presence... yes
checking for ext/hash_map... yes
checking for hash_map and hash_set... yes
checking for libraries directory... lib
checking for glibc 2.1 or later... yes
configure: WARNING: Defaulting to the the builtin regex library for Unicode build.
checking for zlib.h >= 1.1.4... yes
checking for zlib.h... (cached) yes
checking for deflate in -lz... yes
checking for png.h > 0.90... yes
checking for png.h... (cached) yes
checking for png_check_sig in -lpng... yes
checking for jpeglib.h... yes
checking for jpeg_read_header in -ljpeg... yes
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for TIFFError in -ltiff... yes
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking if expat.h is valid C++ header... yes
checking for XML_ParserCreate in -lexpat... yes
checking for GTK+ version...
checking for pkg-config... /usr/local/bin/pkg-config
checking for GTK+ - version >= 2.0.0... yes (version 2.8.8)
checking if gtk_icon_size_lookup is missing... no
checking if GTK+ is version >= 2.4... yes
checking for poll... yes
checking for gdk_im_open in -lgdk... no
checking X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking for X11/XKBlib.h... yes
checking sql.h usability... yes
checking sql.h presence... yes
checking for sql.h... yes
checking for SQLAllocEnv in -liodbc... yes
checking for Xinerama... yes
checking for Xxf86vm extension... yes
checking for X11/extensions/xf86vmode.h... yes
found in /usr/include
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking for -lGL... yes
checking for -lGLU... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... (cached) yes
checking for uid_t in sys/types.h... yes
checking for ssize_t... yes
checking if size_t is unsigned int... yes
checking for pw_gecos in struct passwd... yes
checking for wcslen... yes
checking for mbstate_t... yes
checking for wcsrtombs... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for vsnprintf declaration... yes
checking if vsnprintf declaration is broken... no
checking for snprintf declaration... yes
checking if snprintf declaration is broken... no
checking for wputc... no
checking for wputchar... no
checking for putws... no
checking for fputws... yes
checking for wprintf... yes
checking for vswprintf... yes
checking for _vsnwprintf... no
checking for fnmatch... yes
checking for fsync... yes
checking for iconv... yes
checking if iconv needs const... no
checking for sigaction... yes
checking for sa_handler type... int
checking for backtrace() in ... yes
checking for __cxa_demangle() in ... yes
checking for mkstemp... yes
checking for statfs... yes
checking for statfs declaration... yes
checking for fcntl... yes
checking for timegm... yes
checking for putenv... yes
checking for nanosleep... yes
checking for unamechecking for inet_aton... yes
checking for esd_close in -lesd... yes
checking esd.h usability... yes
checking esd.h presence... yes
checking for esd.h... yes
checking for known CD-ROM interface... yes
checking whether pthreads work with -pthread... yes
checking if more special flags are required for pthreads... no
checking for thr_setconcurrency... no
checking for pthread_cleanup_push/pop... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking for sched_yield... yes
checking for pthread_attr_getschedpolicy... yes
checking for pthread_attr_setschedparam... yes
checking for sched_get_priority_max... yes
checking for pthread_cancel... yes
checking for pthread_attr_setstacksize... yes
checking for pthread_mutexattr_t... yes
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for dlerror... no
checking for dlerror in -ldl... yes
configure: WARNING: plugins supported only in shared build, disabling
checking for ioctl() in sys/soundcard.h... yes
checking for sdl-config... /usr/local/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
checking for libgnomeprintui-2.2 >= 2.8... yes
checking LIBGNOMEPRINTUI_CFLAGS... -I/usr/local/include/libgnomeprintui-2.2 -I/usr/local/include/libgnomeprint-2.2 -I/usr/local/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/local/include/pango-1.0 -I/usr/include/freetype2 -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include -I/usr/X11R6/include
checking LIBGNOMEPRINTUI_LIBS... -Wl,--export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -lgnomeprintui-2-2 -lgnomeprint-2-2 -lgnomecanvas-2 -lxml2 -lpthread -lart_lgpl_2 -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
checking for strptime... yes
checking for timezone variable in ... timezone
checking for localtime... yes
checking for tm_gmtoff in struct tm... yes
checking for gettimeofday... yes
checking whether gettimeofday takes two arguments... yes
checking for socket... yes
checking what is the type of the third argument of getsockname... socklen_t
checking what is the type of the fifth argument of getsockopt... socklen_t
checking linux/joystick.h usability... yes
checking linux/joystick.h presence... yes
checking for linux/joystick.h... yes
configure: WARNING: wxMetafile is not available on this system... disabled
checking for gstreamer-0.8... configure: WARNING: GStreamer installation not found
checking for gst-inspect... gst-inspect
checking GStreamer element xvimagesink... not found.
configure: WARNING: x video sink not found - cannot use GStreamer
checking for gst/xoverlay/xoverlay.h... no
configure: WARNING: xoverlay header not found, cannot use GStreamer
checking for strtok_r... yes
checking for inet_addr... yes
checking for gstplay 0.8... no
checking for cos... no
checking for floor... no
checking if floating point functions link without -lm... no
checking for sin... yes
checking for ceil... yes
checking if floating point functions link with -lm... yes
checking for ranlib... (cached) ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for ar... (cached) ar
checking for strip... (cached) strip
checking for nm... nm
checking if make is GNU make... yes
checking for dependency tracking method... gcc
checking if the compiler supports precompiled headers... no
checking if this GCC version is >= 4.0 and needs -DNO_GCC_PRAGMA... no
checking whether make sets $(MAKE)... (cached) yes
checking for cppunit-config... no
checking for Cppunit - version >= 1.8.0... configure: creating ./config.status
config.status: creating lib/wx/config/gtk2-unicode-debug-static-2.6
config.status: creating lib/wx/config/inplace-gtk2-unicode-debug-static-2.6
config.status: creating version-script
config.status: creating Makefile
config.status: creating samples/xrc/Makefile
config.status: creating samples/wizard/Makefile
config.status: creating samples/widgets/Makefile
config.status: creating samples/vscroll/Makefile
config.status: creating samples/validate/Makefile
config.status: creating samples/typetest/Makefile
config.status: creating samples/treectrl/Makefile
config.status: creating samples/toolbar/Makefile
config.status: creating samples/thread/Makefile
config.status: creating samples/text/Makefile
config.status: creating samples/statbar/Makefile
config.status: creating samples/splitter/Makefile
config.status: creating samples/splash/Makefile
config.status: creating samples/sound/Makefile
config.status: creating samples/sockets/Makefile
config.status: creating samples/shaped/Makefile
config.status: creating samples/scrollsub/Makefile
config.status: creating samples/scroll/Makefile
config.status: creating samples/sashtest/Makefile
config.status: creating samples/rotate/Makefile
config.status: creating samples/richedit/Makefile
config.status: creating samples/render/Makefile
config.status: creating samples/propsize/Makefile
config.status: creating samples/printing/Makefile
config.status: creating samples/popup/Makefile
config.status: creating samples/png/Makefile
config.status: creating samples/opengl/penguin/Makefile
config.status:config.status: creating samples/notebook/Makefile
config.status: creating samples/multimon/Makefile
config.status: creating samples/mobile/wxedit/Makefile
config.status: creating samples/mobile/styles/Makefile
config.status: creating samples/mobile/Makefile
config.status: creating samples/minimal/Makefile
config.status: creating samples/minifram/Makefile
config.status: creating samples/menu/Makefile
config.status: creating samples/mediaplayer/Makefile
config.status: creating samples/mdi/Makefile
config.status: creating samples/listctrl/Makefile
config.status: creating samples/layout/Makefile
config.status: creating samples/keyboard/Makefile
config.status: creating samples/joytest/Makefile
config.status: creating samples/ipc/Makefile
config.status: creating samples/internat/Makefile
config.status: creating samples/image/Makefile
config.status: creating samples/html/zip/Makefile
config.status: creating samples/html/widget/Makefile
config.status: creating samples/html/virtual/Makefile
config.status: creating samples/html/test/Makefile
config.status: creating samples/html/printing/Makefile
config.status: creating samples/html/helpview/Makefile
config.status: creating samples/html/help/Makefile
config.status: creating samples/html/about/Makefile
config.status: creating samples/html/Makefile
config.status: creating samples/htlbox/Makefile
config.status: creating samples/help/Makefile
config.status: creating samples/grid/Makefile
config.status: creating samples/font/Makefile
config.status: creating samples/exec/Makefile
config.status: creating samples/except/Makefile
config.status: creating samples/event/Makefile
config.status: creating samples/erase/Makefile
config.status: creating samples/dynamic/Makefile
config.status: creating samples/drawing/Makefile
config.status: creating samples/dragimag/Makefile
config.status: creating samples/docvwmdi/Makefile
config.status: creating samples/docview/Makefile
config.status: creating samples/dnd/Makefile
config.status: creating samples/dialup/Makefile
config.status: creating samples/dialogs/Makefile
config.status: creating samples/db/Makefile
config.status: creating samples/controls/Makefile
config.status: creating samples/console/Makefile
config.status: creating samples/config/Makefile
config.status: creating samples/checklst/Makefile
config.status: creating samples/caret/Makefile
config.status: creating samples/calendar/Makefile
config.status: creating samples/artprov/Makefile
config.status: creating samples/Makefile
config.status: creating demos/life/Makefile
config.status: creating demos/poem/Makefile
config.status: creating demos/dbbrowse/Makefile
config.status: creating demos/bombs/Makefile
creating samples/opengl/isosurf/Makefile
config.status: creating samples/opengl/cube/Makefile
config.status: creating samples/opengl/Makefile
config.status: creating demos/forty/Makefile
config.status: creating demos/fractal/Makefile
config.status: creating demos/Makefile
config.status: creating utils/wxrc/Makefile
config.status: creating utils/hhp2cached/Makefile
config.status: creating utils/tex2rtf/src/Makefile
config.status: creating utils/tex2rtf/Makefile
config.status: creating utils/emulator/src/Makefile
config.status: creating utils/emulator/Makefile
config.status: creating utils/Makefile
config.status: creating utils/HelpGen/src/Makefile
config.status: creating utils/HelpGen/Makefile
config.status: creating utils/helpview/src/Makefile
config.status: creating utils/helpview/Makefile
config.status: creating contrib/src/fl/Makefile
config.status: creating contrib/src/net/Makefile
config.status: creating contrib/src/ogl/Makefile
config.status: creating contrib/src/stc/Makefile
config.status: creating contrib/src/svg/Makefile
config.status: creating contrib/src/plot/Makefile
config.status: creating contrib/src/applet/Makefile
config.status: creating contrib/src/foldbar/Makefile
config.status: creating contrib/src/gizmos/Makefile
config.status: creating contrib/src/Makefile
config.status: creating contrib/src/mmedia/Makefile
config.status: creating contrib/src/animate/Makefile
config.status: creating contrib/src/deprecated/Makefile
config.status: creating contrib/utils/convertrc/Makefile
config.status: creating contrib/utils/Makefile
config.status: creating contrib/samples/fl/Makefile
config.status: creating contrib/samples/ogl/Makefile
config.status: creating contrib/samples/ogl/ogledit/Makefile
config.status: creating contrib/samples/ogl/studio/Makefile
config.status: creating contrib/samples/stc/Makefile
config.status: creating contrib/samples/svg/Makefile
config.status: creating contrib/samples/plot/Makefile
config.status: creating contrib/samples/applet/Makefile
config.status: creating contrib/samples/foldbar/extended/Makefile
config.status: creating contrib/samples/foldbar/foldpanelbar/Makefile
config.status: creating contrib/samples/gizmos/led/Makefile
config.status: creating contrib/samples/gizmos/editlbox/Makefile
config.status: creating contrib/samples/gizmos/dynsash_switch/Makefile
config.status: creating contrib/samples/gizmos/dynsash/Makefile
config.status: creating contrib/samples/gizmos/multicell/Makefile
config.status: creating contrib/samples/gizmos/Makefile
config.status: creating contrib/samples/gizmos/splittree/Makefile
config.status: creating contrib/samples/Makefile
config.status: creating contrib/samples/mmedia/Makefile
config.status: creating contrib/samples/animate/Makefile
config.status: creating contrib/samples/deprecated/resource/Makefile
config.status: creating contrib/samples/deprecated/Makefile
config.status: creating contrib/samples/deprecated/treelay/Makefile
config.status: creating contrib/samples/deprecated/proplist/Makefile
config.status: creating contrib/Makefile
config.status: creating lib/wx/include/gtk2-unicode-debug-static-2.6/wx/setup.h
config.status: executing wx-config commands
Configured wxWidgets 2.6.2 for `i686-pc-linux-gnu'
Which GUI toolkit should wxWidgets use? GTK+ 2
Should wxWidgets be compiled into single library? no
Should wxWidgets be compiled in debug mode? yes
Should wxWidgets be linked as a shared library? no
Should wxWidgets be compiled in Unicode mode? yes
What level of wxWidgets compatibility should be enabled?
wxWidgets 2.2 no
wxWidgets 2.4 no
Which libraries should wxWidgets use?
jpeg sys
png sys
regex builtin
tiff sys
zlib sys
odbc sys
expat sys
libmspack no
sdl yes
gnomeprint yes
Setup.h is in the line 592 ! gona compile now
-
Yes, try that.
BTW: "CPPFLAGS=-I/usr/local/include/wx-2.7" was just an example - you have to add the real path where "wx/setup.h" is installed on your system. On my system, it's "/usr/lib/wx/include/gtk2-unicode-release-static-2.7/wx/setup.h", so I would have to add "CPPFLAGS=-I/usr/lib/wx/include/gtk2-unicode-release-static-2.7".
But this should really happen automatically since the wx-config utility that is run by aMule's "./configure" script should add it automatically. Otherwise it's a broken installation. I just rebuilt my aMule with wx-cvs 20051205 and it worked fine.
-
I give up it does not work. some erors disapired but some still remain. I gona format disk & make new sys install. Any way thanks for help. I'll come here for a few days may be :-)
-
I don't think this is necessary. Try to purge your system from any wx traces you can find(*) and reinstall it.
(*) Locations you should look at:
/usr/bin/wx*
/usr/local/bin/wx*
/usr/lib/wx*
/usr/local/lib/wx*
/usr/include/wx*
/usr/local/include/wx*
/usr/lib/libwx*
/usr/local/lib/libwx*
rpm -qa | grep wx
Remove all of them and then reinstall one(!) wx version. Today's wx (20051205) works for me. Patched wx 2.6.2 should work, too, if it's installed cleanly.
-
note:
so, if an "rpm -e wxGTK --nodeps" isn´t enough to get rid off needless wxthings before a clean reinstall, this should do the job, referring to the pathes above:
rm -f /usr/bin/wx*
rm -f /usr/local/bin/wx*
rm -rf /usr/lib/wx*
rm -rf /usr/local/lib/wx*
rm -rf /usr/include/wx*
rm -rf /usr/local/include/wx*
rm -f /usr/lib/libwx*
rm -f /usr/local/lib/libwx*
don´t forget ldconfig or SuSEconfig
cu
-
I have done this :(
make......
(root@11:40:50)[/usr/src/aMule-2.0.3]$ make
......
.......
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x48a0):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:2932: undefined reference to `cairo_move_to'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x48ca):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:2933: undefined reference to `cairo_line_to'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x48ea):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:2934: undefined reference to `cairo_line_to'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x4917):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:2926: undefined reference to `cairo_move_to'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x4936):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:2927: undefined reference to `cairo_line_to'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x497e):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:2920: undefined reference to `cairo_move_to'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x499d):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:2921: undefined reference to `cairo_line_to'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x49d4):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:2914: undefined reference to `cairo_move_to'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x49f3):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:2915: undefined reference to `cairo_line_to'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x5c8a): In function `gtk_default_draw_check':
/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:3630: undefined reference to `cairo_clip'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x5df1):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:3714: undefined reference to `cairo_rectangle'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x5dff):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:3719: undefined reference to `cairo_fill'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x5e39):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:3684: undefined reference to `cairo_translate'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x5e58):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:3687: undefined reference to `cairo_scale'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x5e6e):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:3689: undefined reference to `cairo_move_to'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x5e87):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:3690: undefined reference to `cairo_line_to'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x5ec2):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:3691: undefined reference to `cairo_curve_to'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x5efa):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:3694: undefined reference to `cairo_curve_to'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x5f16):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:3697: undefined reference to `cairo_line_to'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x5f54):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:3698: undefined reference to `cairo_curve_to'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x5f98):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:3701: undefined reference to `cairo_curve_to'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x5fd0):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:3704: undefined reference to `cairo_curve_to'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x6046):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:3658: undefined reference to `cairo_set_line_width'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x6077):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:3659: undefined reference to `cairo_rectangle'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x6082):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:3660: undefined reference to `cairo_stroke'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x60d4):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:3663: undefined reference to `cairo_rectangle'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x60df):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:3664: undefined reference to `cairo_fill'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x61cb): In function `gtk_default_draw_option':
/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:3753: undefined reference to `cairo_clip'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x6326):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:3834: undefined reference to `cairo_rectangle'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x6331):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:3839: undefined reference to `cairo_fill'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x63f3):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:3813: undefined reference to `cairo_arc'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x64aa):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:3769: undefined reference to `cairo_arc'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x64b5):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:3775: undefined reference to `cairo_fill_preserve'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x64e0):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:3782: undefined reference to `cairo_set_line_width'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x64e9):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:3783: undefined reference to `cairo_stroke'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x7de1): In function `gtk_default_draw_focus':
/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:4552: undefined reference to `cairo_set_line_width'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x7e0b):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:4584: undefined reference to `cairo_clip'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x7e58):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:4587: undefined reference to `cairo_rectangle'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x7e61):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:4592: undefined reference to `cairo_stroke'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x7e69):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:4593: undefined reference to `cairo_destroy'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x7f21):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:4577: undefined reference to `cairo_set_dash'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x7f48):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:4548: undefined reference to `cairo_set_source_rgb'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x85b2): In function `gtk_default_draw_expander':
/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:4799: undefined reference to `cairo_clip'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x87ab):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:4876: undefined reference to `cairo_translate'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x87ca):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:4877: undefined reference to `cairo_rotate'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x87ea):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:4879: undefined reference to `cairo_move_to'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x8810):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:4880: undefined reference to `cairo_line_to'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x8821):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:4881: undefined reference to `cairo_line_to'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x882a):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:4882: undefined reference to `cairo_close_path'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x8839):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:4884: undefined reference to `cairo_set_line_width'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x8862):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:4896: undefined reference to `cairo_fill_preserve'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x8880):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:4899: undefined reference to `cairo_stroke'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x8888):/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:4901: undefined reference to `cairo_destroy'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x4884): In function `draw_arrow':
/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:2940: undefined reference to `cairo_destroy'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x5d7a): In function `gtk_default_draw_check':
/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:3722: undefined reference to `cairo_destroy'
/usr/local/lib/libgtk-x11-2.0.a(gtkstyle.o)(.text+0x6257): In function `gtk_default_draw_option':
/usr/src/gtk+-2.8.8/gtk/gtkstyle.c:3842: undefined reference to `cairo_destroy'
/usr/local/lib/libgtk-x11-2.0.a(gtkwidget.o)(.text+0x5df8): In function `gtk_widget_update_pango_context':
/usr/src/gtk+-2.8.8/gtk/gtkwidget.c:5220: undefined reference to `pango_cairo_context_set_resolution'
/usr/local/lib/libgtk-x11-2.0.a(gtkwidget.o)(.text+0x5e09):/usr/src/gtk+-2.8.8/gtk/gtkwidget.c:5222: undefined reference to `pango_cairo_context_set_fon
t_options'
/usr/local/lib/libgtk-x11-2.0.a(gtkcellrenderer.o)(.text+0xb22): In function `IA__gtk_cell_renderer_render':
/usr/src/gtk+-2.8.8/gtk/gtkcellrenderer.c:587: undefined reference to `cairo_fill'
/usr/local/lib/libgtk-x11-2.0.a(gtkcellrenderer.o)(.text+0xb2a):/usr/src/gtk+-2.8.8/gtk/gtkcellrenderer.c:589: undefined reference to `cairo_destroy'
/usr/local/lib/libgtk-x11-2.0.a(gtkcellrenderertext.o)(.text+0x2573): In function `gtk_cell_renderer_text_render':
/usr/src/gtk+-2.8.8/gtk/gtkcellrenderertext.c:1634: undefined reference to `cairo_clip'
/usr/local/lib/libgtk-x11-2.0.a(gtkcellrenderertext.o)(.text+0x25bf):/usr/src/gtk+-2.8.8/gtk/gtkcellrenderertext.c:1638: undefined reference to `cairo_s
et_source_rgb'
/usr/local/lib/libgtk-x11-2.0.a(gtkcellrenderertext.o)(.text+0x25c8):/usr/src/gtk+-2.8.8/gtk/gtkcellrenderertext.c:1642: undefined reference to `cairo_f
ill'
/usr/local/lib/libgtk-x11-2.0.a(gtkcellrenderertext.o)(.text+0x25d0):/usr/src/gtk+-2.8.8/gtk/gtkcellrenderertext.c:1644: undefined reference to `cairo_d
estroy'
/usr/local/lib/libgtk-x11-2.0.a(gtkcellrendererpixbuf.o)(.text+0xe97): In function `gtk_cell_renderer_pixbuf_render':
/usr/src/gtk+-2.8.8/gtk/gtkcellrendererpixbuf.c:713: undefined reference to `cairo_fill'
/usr/local/lib/libgtk-x11-2.0.a(gtkcellrendererpixbuf.o)(.text+0xe9f):/usr/src/gtk+-2.8.8/gtk/gtkcellrendererpixbuf.c:715: undefined reference to `cairo
_destroy'
/usr/local/lib/libgtk-x11-2.0.a(gtkcellview.o)(.text+0x7e4): In function `gtk_cell_view_expose':
/usr/src/gtk+-2.8.8/gtk/gtkcellview.c:435: undefined reference to `cairo_set_source_rgb'
/usr/local/lib/libgtk-x11-2.0.a(gtkcellview.o)(.text+0x7ed):/usr/src/gtk+-2.8.8/gtk/gtkcellview.c:439: undefined reference to `cairo_fill'
/usr/local/lib/libgtk-x11-2.0.a(gtkcellview.o)(.text+0x7f5):/usr/src/gtk+-2.8.8/gtk/gtkcellview.c:441: undefined reference to `cairo_destroy'
/usr/local/lib/libgdk-x11-2.0.a(gdkcairo.o)(.text+0x3b): In function `IA__gdk_cairo_create':
/usr/src/gtk+-2.8.8/gdk/gdkcairo.c:46: undefined reference to `cairo_create'
/usr/local/lib/libgdk-x11-2.0.a(gdkcairo.o)(.text+0x45):/usr/src/gtk+-2.8.8/gdk/gdkcairo.c:47: undefined reference to `cairo_surface_destroy'
/usr/local/lib/libgdk-x11-2.0.a(gdkcairo.o)(.text+0xbb): In function `IA__gdk_cairo_set_source_color':
/usr/src/gtk+-2.8.8/gdk/gdkcairo.c:68: undefined reference to `cairo_set_source_rgb'
/usr/local/lib/libgdk-x11-2.0.a(gdkcairo.o)(.text+0x11b): In function `IA__gdk_cairo_rectangle':
/usr/src/gtk+-2.8.8/gdk/gdkcairo.c:90: undefined reference to `cairo_rectangle'
/usr/local/lib/libgdk-x11-2.0.a(gdkcairo.o)(.text+0x1a1): In function `IA__gdk_cairo_region':
/usr/src/gtk+-2.8.8/gdk/gdkcairo.c:118: undefined reference to `cairo_rectangle'
/usr/local/lib/libgdk-x11-2.0.a(gdkcairo.o)(.text+0x25a): In function `IA__gdk_cairo_set_source_pixbuf':
/usr/src/gtk+-2.8.8/gdk/gdkcairo.c:161: undefined reference to `cairo_image_surface_create_for_data'
/usr/local/lib/libgdk-x11-2.0.a(gdkcairo.o)(.text+0x273):/usr/src/gtk+-2.8.8/gdk/gdkcairo.c:164: undefined reference to `cairo_surface_set_user_data'
/usr/local/lib/libgdk-x11-2.0.a(gdkcairo.o)(.text+0x32a):/usr/src/gtk+-2.8.8/gdk/gdkcairo.c:223: undefined reference to `cairo_set_source_surface'
/usr/local/lib/libgdk-x11-2.0.a(gdkcairo.o)(.text+0x33f):/usr/src/gtk+-2.8.8/gdk/gdkcairo.c:224: undefined reference to `cairo_surface_destroy'
/usr/local/lib/libgdk-x11-2.0.a(gdkdraw.o)(.text+0x10d1): In function `real_draw_glyphs':
/usr/src/gtk+-2.8.8/gdk/gdkdraw.c:897: undefined reference to `cairo_set_matrix'
/usr/local/lib/libgdk-x11-2.0.a(gdkdraw.o)(.text+0x10e9):/usr/src/gtk+-2.8.8/gdk/gdkdraw.c:900: undefined reference to `cairo_move_to'
/usr/local/lib/libgdk-x11-2.0.a(gdkdraw.o)(.text+0x10f8):/usr/src/gtk+-2.8.8/gdk/gdkdraw.c:901: undefined reference to `pango_cairo_show_glyph_string'
/usr/local/lib/libgdk-x11-2.0.a(gdkdraw.o)(.text+0x1100):/usr/src/gtk+-2.8.8/gdk/gdkdraw.c:903: undefined reference to `cairo_destroy'
/usr/local/lib/libgdk-x11-2.0.a(gdkdraw.o)(.text+0x137c): In function `IA__gdk_draw_trapezoids':
/usr/src/gtk+-2.8.8/gdk/gdkdraw.c:1012: undefined reference to `cairo_move_to'
/usr/local/lib/libgdk-x11-2.0.a(gdkdraw.o)(.text+0x1390):/usr/src/gtk+-2.8.8/gdk/gdkdraw.c:1013: undefined reference to `cairo_line_to'
/usr/local/lib/libgdk-x11-2.0.a(gdkdraw.o)(.text+0x13a5):/usr/src/gtk+-2.8.8/gdk/gdkdraw.c:1014: undefined reference to `cairo_line_to'
/usr/local/lib/libgdk-x11-2.0.a(gdkdraw.o)(.text+0x13ba):/usr/src/gtk+-2.8.8/gdk/gdkdraw.c:1015: undefined reference to `cairo_line_to'
/usr/local/lib/libgdk-x11-2.0.a(gdkdraw.o)(.text+0x13c3):/usr/src/gtk+-2.8.8/gdk/gdkdraw.c:1016: undefined reference to `cairo_close_path'
/usr/local/lib/libgdk-x11-2.0.a(gdkdraw.o)(.text+0x13d5):/usr/src/gtk+-2.8.8/gdk/gdkdraw.c:1019: undefined reference to `cairo_fill'
/usr/local/lib/libgdk-x11-2.0.a(gdkdraw.o)(.text+0x13e7):/usr/src/gtk+-2.8.8/gdk/gdkdraw.c:1021: undefined reference to `cairo_destroy'
/usr/local/lib/libgdk-x11-2.0.a(gdkgc.o)(.text+0x133b): In function `make_stipple_tile_surface':
/usr/src/gtk+-2.8.8/gdk/gdkgc.c:1051: undefined reference to `cairo_get_target'
/usr/local/lib/libgdk-x11-2.0.a(gdkgc.o)(.text+0x1343):/usr/src/gtk+-2.8.8/gdk/gdkgc.c:1051: undefined reference to `cairo_surface_create_similar'
/usr/local/lib/libgdk-x11-2.0.a(gdkgc.o)(.text+0x134e):/usr/src/gtk+-2.8.8/gdk/gdkgc.c:1055: undefined reference to `cairo_create'
/usr/local/lib/libgdk-x11-2.0.a(gdkgc.o)(.text+0x135a):/usr/src/gtk+-2.8.8/gdk/gdkgc.c:1057: undefined reference to `cairo_set_operator'
/usr/local/lib/libgdk-x11-2.0.a(gdkgc.o)(.text+0x137c):/usr/src/gtk+-2.8.8/gdk/gdkgc.c:1064: undefined reference to `cairo_paint'
/usr/local/lib/libgdk-x11-2.0.a(gdkgc.o)(.text+0x1386):/usr/src/gtk+-2.8.8/gdk/gdkgc.c:1066: undefined reference to `cairo_set_operator'
/usr/local/lib/libgdk-x11-2.0.a(gdkgc.o)(.text+0x13a2):/usr/src/gtk+-2.8.8/gdk/gdkgc.c:1069: undefined reference to `cairo_mask_surface'
/usr/local/lib/libgdk-x11-2.0.a(gdkgc.o)(.text+0x13ab):/usr/src/gtk+-2.8.8/gdk/gdkgc.c:1071: undefined reference to `cairo_destroy'
/usr/local/lib/libgdk-x11-2.0.a(gdkgc.o)(.text+0x13b3):/usr/src/gtk+-2.8.8/gdk/gdkgc.c:1072: undefined reference to `cairo_surface_destroy'
/usr/local/lib/libgdk-x11-2.0.a(gdkgc.o)(.text+0x13d5):/usr/src/gtk+-2.8.8/gdk/gdkgc.c:1062: undefined reference to `cairo_set_source_rgba'
/usr/local/lib/libgdk-x11-2.0.a(gdkgc.o)(.text+0x15bf): In function `_gdk_gc_update_context':
/usr/src/gtk+-2.8.8/gdk/gdkgc.c:1229: undefined reference to `cairo_reset_clip'
/usr/local/lib/libgdk-x11-2.0.a(gdkgc.o)(.text+0x15e3):/usr/src/gtk+-2.8.8/gdk/gdkgc.c:1232: undefined reference to `cairo_save'
/usr/local/lib/libgdk-x11-2.0.a(gdkgc.o)(.text+0x15ec):/usr/src/gtk+-2.8.8/gdk/gdkgc.c:1234: undefined reference to `cairo_identity_matrix'
/usr/local/lib/libgdk-x11-2.0.a(gdkgc.o)(.text+0x1607):/usr/src/gtk+-2.8.8/gdk/gdkgc.c:1235: undefined reference to `cairo_translate'
/usr/local/lib/libgdk-x11-2.0.a(gdkgc.o)(.text+0x1612):/usr/src/gtk+-2.8.8/gdk/gdkgc.c:1237: undefined reference to `cairo_new_path'
/usr/local/lib/libgdk-x11-2.0.a(gdkgc.o)(.text+0x162d):/usr/src/gtk+-2.8.8/gdk/gdkgc.c:1240: undefined reference to `cairo_restore'
/usr/local/lib/libgdk-x11-2.0.a(gdkgc.o)(.text+0x1636):/usr/src/gtk+-2.8.8/gdk/gdkgc.c:1242: undefined reference to `cairo_clip'
/usr/local/lib/libgdk-x11-2.0.a(gdkgc.o)(.text+0x1678):/usr/src/gtk+-2.8.8/gdk/gdkgc.c:1210: undefined reference to `cairo_pattern_create_for_surface'
/usr/local/lib/libgdk-x11-2.0.a(gdkgc.o)(.text+0x1688):/usr/src/gtk+-2.8.8/gdk/gdkgc.c:1215: undefined reference to `cairo_get_matrix'
/usr/local/lib/libgdk-x11-2.0.a(gdkgc.o)(.text+0x16b7):/usr/src/gtk+-2.8.8/gdk/gdkgc.c:1216: undefined reference to `cairo_matrix_init_translate'
/usr/local/lib/libgdk-x11-2.0.a(gdkgc.o)(.text+0x16c8):/usr/src/gtk+-2.8.8/gdk/gdkgc.c:1218: undefined reference to `cairo_matrix_multiply'
/usr/local/lib/libgdk-x11-2.0.a(gdkgc.o)(.text+0x16d1):/usr/src/gtk+-2.8.8/gdk/gdkgc.c:1221: undefined reference to `cairo_pattern_set_matrix'
/usr/local/lib/libgdk-x11-2.0.a(gdkgc.o)(.text+0x16db):/usr/src/gtk+-2.8.8/gdk/gdkgc.c:1222: undefined reference to `cairo_pattern_set_extend'
/usr/local/lib/libgdk-x11-2.0.a(gdkgc.o)(.text+0x16e6):/usr/src/gtk+-2.8.8/gdk/gdkgc.c:1223: undefined reference to `cairo_set_source'
/usr/local/lib/libgdk-x11-2.0.a(gdkgc.o)(.text+0x16f2):/usr/src/gtk+-2.8.8/gdk/gdkgc.c:1225: undefined reference to `cairo_surface_destroy'
/usr/local/lib/libgdk-x11-2.0.a(gdkgc.o)(.text+0x16fa):/usr/src/gtk+-2.8.8/gdk/gdkgc.c:1226: undefined reference to `cairo_pattern_destroy'
/usr/local/lib/libgdk-x11-2.0.a(gdkpango.o)(.text+0x13d): In function `emboss_context':
/usr/src/gtk+-2.8.8/gdk/gdkpango.c:126: undefined reference to `cairo_get_matrix'
/usr/local/lib/libgdk-x11-2.0.a(gdkpango.o)(.text+0x15b):/usr/src/gtk+-2.8.8/gdk/gdkpango.c:129: undefined reference to `cairo_set_matrix'
/usr/local/lib/libgdk-x11-2.0.a(gdkpango.o)(.text+0x172):/usr/src/gtk+-2.8.8/gdk/gdkpango.c:131: undefined reference to `cairo_set_source_rgb'
/usr/local/lib/libgdk-x11-2.0.a(gdkpango.o)(.text+0x248): In function `get_cairo_context':
/usr/src/gtk+-2.8.8/gdk/gdkpango.c:152: undefined reference to `cairo_matrix_init'
/usr/local/lib/libgdk-x11-2.0.a(gdkpango.o)(.text+0x254):/usr/src/gtk+-2.8.8/gdk/gdkpango.c:156: undefined reference to `cairo_set_matrix'
/usr/local/lib/libgdk-x11-2.0.a(gdkpango.o)(.text+0x2c4): In function `gdk_pango_renderer_draw_glyphs':
/usr/src/gtk+-2.8.8/gdk/gdkpango.c:209: undefined reference to `cairo_move_to'
/usr/local/lib/libgdk-x11-2.0.a(gdkpango.o)(.text+0x2fd):/usr/src/gtk+-2.8.8/gdk/gdkpango.c:202: undefined reference to `cairo_save'
/usr/local/lib/libgdk-x11-2.0.a(gdkpango.o)(.text+0x333):/usr/src/gtk+-2.8.8/gdk/gdkpango.c:204: undefined reference to `cairo_move_to'
/usr/local/lib/libgdk-x11-2.0.a(gdkpango.o)(.text+0x342):/usr/src/gtk+-2.8.8/gdk/gdkpango.c:205: undefined reference to `pango_cairo_show_glyph_string'
/usr/local/lib/libgdk-x11-2.0.a(gdkpango.o)(.text+0x34a):/usr/src/gtk+-2.8.8/gdk/gdkpango.c:206: undefined reference to `cairo_restore'
/usr/local/lib/libgdk-x11-2.0.a(gdkpango.o)(.text+0x402): In function `draw_error_underline':
/usr/src/gtk+-2.8.8/gdk/gdkpango.c:253: undefined reference to `cairo_move_to'
/usr/local/lib/libgdk-x11-2.0.a(gdkpango.o)(.text+0x478):/usr/src/gtk+-2.8.8/gdk/gdkpango.c:281: undefined reference to `cairo_line_to'
/usr/local/lib/libgdk-x11-2.0.a(gdkpango.o)(.text+0x48f):/usr/src/gtk+-2.8.8/gdk/gdkpango.c:284: undefined reference to `cairo_line_to'
/usr/local/lib/libgdk-x11-2.0.a(gdkpango.o)(.text+0x4a2):/usr/src/gtk+-2.8.8/gdk/gdkpango.c:287: undefined reference to `cairo_close_path'
/usr/local/lib/libgdk-x11-2.0.a(gdkpango.o)(.text+0x4d2):/usr/src/gtk+-2.8.8/gdk/gdkpango.c:280: undefined reference to `cairo_line_to'
/usr/local/lib/libgdk-x11-2.0.a(gdkpango.o)(.text+0x538):/usr/src/gtk+-2.8.8/gdk/gdkpango.c:259: undefined reference to `cairo_line_to'
/usr/local/lib/libgdk-x11-2.0.a(gdkpango.o)(.text+0x560):/usr/src/gtk+-2.8.8/gdk/gdkpango.c:266: undefined reference to `cairo_line_to'
/usr/local/lib/libgdk-x11-2.0.a(gdkpango.o)(.text+0x5e2): In function `gdk_pango_renderer_draw_rectangle':
/usr/src/gtk+-2.8.8/gdk/gdkpango.c:307: undefined reference to `cairo_save'
/usr/local/lib/libgdk-x11-2.0.a(gdkpango.o)(.text+0x630):/usr/src/gtk+-2.8.8/gdk/gdkpango.c:309: undefined reference to `cairo_rectangle'
/usr/local/lib/libgdk-x11-2.0.a(gdkpango.o)(.text+0x639):/usr/src/gtk+-2.8.8/gdk/gdkpango.c:313: undefined reference to `cairo_fill'
/usr/local/lib/libgdk-x11-2.0.a(gdkpango.o)(.text+0x641):/usr/src/gtk+-2.8.8/gdk/gdkpango.c:314: undefined reference to `cairo_restore'
/usr/local/lib/libgdk-x11-2.0.a(gdkpango.o)(.text+0x682):/usr/src/gtk+-2.8.8/gdk/gdkpango.c:317: undefined reference to `cairo_rectangle'
/usr/local/lib/libgdk-x11-2.0.a(gdkpango.o)(.text+0x755): In function `gdk_pango_renderer_draw_error_underline':
/usr/src/gtk+-2.8.8/gdk/gdkpango.c:338: undefined reference to `cairo_save'
/usr/local/lib/libgdk-x11-2.0.a(gdkpango.o)(.text+0x7ae):/usr/src/gtk+-2.8.8/gdk/gdkpango.c:343: undefined reference to `cairo_restore'
/usr/local/lib/libgdk-x11-2.0.a(gdkpango.o)(.text+0x835): In function `gdk_pango_renderer_end':
/usr/src/gtk+-2.8.8/gdk/gdkpango.c:382: undefined reference to `cairo_destroy'
/usr/local/lib/libgdk-x11-2.0.a(gdkpango.o)(.text+0x1b99): In function `IA__gdk_pango_context_get_for_screen':
/usr/src/gtk+-2.8.8/gdk/gdkpango.c:1382: undefined reference to `pango_cairo_font_map_get_default'
/usr/local/lib/libgdk-x11-2.0.a(gdkpango.o)(.text+0x1ba2):/usr/src/gtk+-2.8.8/gdk/gdkpango.c:1384: undefined reference to `pango_cairo_font_map_create_c
ontext'
/usr/local/lib/libgdk-x11-2.0.a(gdkpango.o)(.text+0x1bb5):/usr/src/gtk+-2.8.8/gdk/gdkpango.c:1387: undefined reference to `pango_cairo_context_set_font_
options'
/usr/local/lib/libgdk-x11-2.0.a(gdkpango.o)(.text+0x1bc7):/usr/src/gtk+-2.8.8/gdk/gdkpango.c:1390: undefined reference to `pango_cairo_context_set_resol
ution'
/usr/local/lib/libgdk-x11-2.0.a(gdkpango.o)(.text+0x2e2): In function `gdk_pango_renderer_draw_glyphs':
/usr/src/gtk+-2.8.8/gdk/gdkpango.c:210: undefined reference to `pango_cairo_show_glyph_string'
/usr/local/lib/libgdk-x11-2.0.a(gdkpango.o)(.text+0x4b7): In function `draw_error_underline':
/usr/src/gtk+-2.8.8/gdk/gdkpango.c:288: undefined reference to `cairo_fill'
/usr/local/lib/libgdk-x11-2.0.a(gdkpango.o)(.text+0x694): In function `gdk_pango_renderer_draw_rectangle':
/usr/src/gtk+-2.8.8/gdk/gdkpango.c:320: undefined reference to `cairo_fill'
/usr/local/lib/libgdk-x11-2.0.a(gdkscreen.o)(.text+0x121): In function `gdk_screen_finalize':
/usr/src/gtk+-2.8.8/gdk/gdkscreen.c:133: undefined reference to `cairo_font_options_destroy'
/usr/local/lib/libgdk-x11-2.0.a(gdkscreen.o)(.text+0x4fe): In function `IA__gdk_screen_set_font_options_libgtk_only':
/usr/src/gtk+-2.8.8/gdk/gdkscreen.c:365: undefined reference to `cairo_font_options_copy'
/usr/local/lib/libgdk-x11-2.0.a(gdkscreen.o)(.text+0x525):/usr/src/gtk+-2.8.8/gdk/gdkscreen.c:362: undefined reference to `cairo_font_options_destroy'
/usr/local/lib/libgdk-x11-2.0.a(gdkwindow.o)(.text+0xba7): In function `IA__gdk_window_begin_paint_region':
/usr/src/gtk+-2.8.8/gdk/gdkwindow.c:977: undefined reference to `cairo_surface_set_device_offset'
/usr/local/lib/libgdk-x11-2.0.a(gdkwindow.o)(.text+0xd41): In function `IA__gdk_window_end_paint':
/usr/src/gtk+-2.8.8/gdk/gdkwindow.c:1055: undefined reference to `cairo_surface_destroy'
/usr/local/lib/libgdk-x11-2.0.a(gdkwindow.o)(.text+0x1ef0): In function `gdk_window_set_bg_pattern':
/usr/src/gtk+-2.8.8/gdk/gdkwindow.c:1748: undefined reference to `cairo_pattern_create_for_surface'
/usr/local/lib/libgdk-x11-2.0.a(gdkwindow.o)(.text+0x1efa):/usr/src/gtk+-2.8.8/gdk/gdkwindow.c:1749: undefined reference to `cairo_surface_destroy'
/usr/local/lib/libgdk-x11-2.0.a(gdkwindow.o)(.text+0x1f25):/usr/src/gtk+-2.8.8/gdk/gdkwindow.c:1754: undefined reference to `cairo_matrix_init_translate
'
/usr/local/lib/libgdk-x11-2.0.a(gdkwindow.o)(.text+0x1f2f):/usr/src/gtk+-2.8.8/gdk/gdkwindow.c:1755: undefined reference to `cairo_pattern_set_matrix'
/usr/local/lib/libgdk-x11-2.0.a(gdkwindow.o)(.text+0x1f3d):/usr/src/gtk+-2.8.8/gdk/gdkwindow.c:1758: undefined reference to `cairo_pattern_set_extend'
/usr/local/lib/libgdk-x11-2.0.a(gdkwindow.o)(.text+0x1f48):/usr/src/gtk+-2.8.8/gdk/gdkwindow.c:1759: undefined reference to `cairo_set_source'
/usr/local/lib/libgdk-x11-2.0.a(gdkwindow.o)(.text+0x1f50):/usr/src/gtk+-2.8.8/gdk/gdkwindow.c:1760: undefined reference to `cairo_pattern_destroy'
/usr/local/lib/libgdk-x11-2.0.a(gdkwindow.o)(.text+0x1fd7): In function `gdk_window_clear_backing_rect':
/usr/src/gtk+-2.8.8/gdk/gdkwindow.c:1782: undefined reference to `cairo_create'
/usr/local/lib/libgdk-x11-2.0.a(gdkwindow.o)(.text+0x200c):/usr/src/gtk+-2.8.8/gdk/gdkwindow.c:1786: undefined reference to `cairo_rectangle'
/usr/local/lib/libgdk-x11-2.0.a(gdkwindow.o)(.text+0x2015):/usr/src/gtk+-2.8.8/gdk/gdkwindow.c:1787: undefined reference to `cairo_clip'
/usr/local/lib/libgdk-x11-2.0.a(gdkwindow.o)(.text+0x202a):/usr/src/gtk+-2.8.8/gdk/gdkwindow.c:1790: undefined reference to `cairo_fill'
/usr/local/lib/libgdk-x11-2.0.a(gdkwindow.o)(.text+0x2969): In function `gdk_window_ref_cairo_surface':
/usr/src/gtk+-2.8.8/gdk/gdkwindow.c:2118: undefined reference to `cairo_surface_reference'
/usr/local/lib/libgdk-x11-2.0.a(gdkwindow.o)(.text+0x203c): In function `gdk_window_clear_backing_rect':
/usr/src/gtk+-2.8.8/gdk/gdkwindow.c:1792: undefined reference to `cairo_destroy'
/usr/local/lib/libgdk-x11-2.0.a(gdkdrawable-x11.o)(.text+0x1a1): In function `_gdk_x11_drawable_finish':
/usr/src/gtk+-2.8.8/gdk/x11/gdkdrawable-x11.c:241: undefined reference to `cairo_surface_finish'
/usr/local/lib/libgdk-x11-2.0.a(gdkdrawable-x11.o)(.text+0x1b4):/usr/src/gtk+-2.8.8/gdk/x11/gdkdrawable-x11.c:242: undefined reference to `cairo_surface
_set_user_data'
/usr/local/lib/libgdk-x11-2.0.a(gdkdrawable-x11.o)(.text+0x224): In function `_gdk_x11_drawable_update_size':
/usr/src/gtk+-2.8.8/gdk/x11/gdkdrawable-x11.c:264: undefined reference to `cairo_xlib_surface_set_size'
/usr/local/lib/libgdk-x11-2.0.a(gdkdrawable-x11.o)(.text+0x1a9c): In function `gdk_x11_ref_cairo_surface':
/usr/src/gtk+-2.8.8/gdk/x11/gdkdrawable-x11.c:1479: undefined reference to `cairo_xlib_surface_create'
/usr/local/lib/libgdk-x11-2.0.a(gdkdrawable-x11.o)(.text+0x1ab9):/usr/src/gtk+-2.8.8/gdk/x11/gdkdrawable-x11.c:1498: undefined reference to `cairo_surfa
ce_set_user_data'
/usr/local/lib/libgdk-x11-2.0.a(gdkdrawable-x11.o)(.text+0x1af6):/usr/src/gtk+-2.8.8/gdk/x11/gdkdrawable-x11.c:1484: undefined reference to `cairo_xlib_
surface_create_for_bitmap'
/usr/local/lib/libgdk-x11-2.0.a(gdkdrawable-x11.o)(.text+0x1b1d):/usr/src/gtk+-2.8.8/gdk/x11/gdkdrawable-x11.c:1502: undefined reference to `cairo_surfa
ce_reference'
/usr/X11R6/lib/libXcursor.a(cursor.o)(.text+0xe63): In function `XcursorImageLoadCursor':
: undefined reference to `XRenderCreateCursor'
/usr/X11R6/lib/libXcursor.a(cursor.o)(.text+0x12ee): In function `XcursorImagesLoadCursor':
: undefined reference to `XRenderCreateAnimCursor'
collect2: ld returned 1 exit status
make[5]: *** [wxcas] BBd 1
make[5]: Opuszczam katalog `/usr/src/aMule-2.0.3/src/utils/wxCas/src'
make[4]: *** [all-recursive] BBd 1
make[4]: Opuszczam katalog `/usr/src/aMule-2.0.3/src/utils/wxCas'
make[3]: *** [all-recursive] BBd 1
make[3]: Opuszczam katalog `/usr/src/aMule-2.0.3/src/utils'
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
-
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 \
-
Please don't use --enable-static. It doesn't work with GTK.
-
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 :)
-
--disable-static (wx GTK1)
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
-
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:
$ 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:
./configure --disable-shared --prefix=/opt/wxGTK
make
make install
And now build aMule with this wx installation:
./configure --with-wx-config=/opt/wxGTK/bin/wx-config
If 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.
-
(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
./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
./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
./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 :-)
-
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
-
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.
-
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.
-
no wonder why noone heard ever about Aurox linux :]
-
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.
-
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 ..
-
Now it's a good moment for...
(http://www.debianplanet.org/images/debian.png)
-
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 ?
-
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:
env CPPFLAGS="-I /usr/X11R6/include" ./configure
-
the same error
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 /install/amule-cvs#
if I --disable-amule-gui compilation is sucsesfull
-
If you really passed CPPFLAGS="-I /usr/X11R6/include" to ./configure and it still refused to pick it up, then it looks like a problem in the autoconf/automake stuff.
You can probably work around this problem by setting a symlink:
ln -s /usr/X11R6/include/X11 /usr/include
By the way: This symlink should have existed before and your distro is not FHS compliant, since this symlink is mandatory for FHS compliance.
The symbolic link /usr/include/X11 must link to /usr/X11R6/include/X11 if the latter exists.
http://www.pathname.com/fhs/pub/fhs-2.3.html#SPECIFICOPTIONS12
-
Huraaa It is working. many thanks to U Gerd78 !!!!! I have now permanent euphoria....... after 7 days of amule compilations.
-
Congratulations
-
I removed XParseGeometry usage anyway.
-
So for others to help. If U have problem with compilations of amule all U need is kernel & gcc & some files below order is important :
freetype-2.1.10.tar.bz2,
fontconfig-2.2.3.tar.gz,
expat-1.95.8.tar.gz
gd-2.0.33.tar.gz
glib 2.9.1,
xc X11R6.8.2 after instaling ln -s /usr/X11R6/include/X11 /usr/include very important !!!
atk-1.10.3.tar.gz,
cairo-1.0.2.tar.gz,
gtk 2.8.9, --enable-largefile
wx 2.7.0,
standard prefix /usr/local/
I could not compile amule --without-x there is a demon version but x is needed anyway for gtk compilation option --without-x do not work with gtk
-
xc X11R6.8.2 after instaling ln -s /usr/X11R6/include/X11 /usr/include very important !!!
That's not needed anymore.
-
OK, fine, but I really don't understand why you are compiling *everything* from source. Trustix comes with development headers, I just checked it:
http://web12.austria182.server4free.de/projekte/trustix/releases/trustix-2.2/i586/trustix/rpms/
It should not be necessary to build all these libraries from source, unless you want to do it out of personal interest. Maybe gd (because some distros don't have it) or wx (because some distro packages don't work), but not X11, GTK, freetype and friends.
By the way: This "--without-x" switch doesn't do what you expect, so in order to get the non-GUI parts of aMule, use "./configure --disable-monolithic --disable-wxcas --enable-amule-daemon" etc. You only have to make sure to use wxBase instead of wxGTK (wxBase is also part of wxGTK, but if you want to compile without GTK, you need the separate wxBase).
-
OK, fine, but I really don't understand why you are compiling *everything* from source. Trustix comes with development headers, I just checked it:
I am to retarded to use rpms ;).
By the way: This "--without-x" switch doesn't do what you expect, so in order to get the non-GUI parts of aMule, use "./configure --disable-monolithic --disable-wxcas --enable-amule-daemon" etc. You only have to make sure to use wxBase instead of wxGTK (wxBase is also part of wxGTK, but if you want to compile without GTK, you need the separate wxBase).
I will try it at next server
xc X11R6.8.2 after instaling ln -s /usr/X11R6/include/X11 /usr/include very important !!!
That's not needed anymore.
standard xc instalation from sources does not create this link, Without this link compilation will faill as posted few posts before.
-
READ my posts. It will not fail because I removed that usage.
-
Indeed. Sorry for misunderstanding.