aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Compilation pb.. ->cryptopp???  (Read 2559 times)

guepe

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 41
Compilation pb.. ->cryptopp???
« on: September 05, 2004, 05:44:01 PM »

hello all (again... ) i have a pb to compile amule rc5 on my new debian knoppix

i followed http://www.amule.org/wiki/index.php/HowTo_Compile_In_Debian but still don't work....

here is the error :
/home/guepe/Receive/aMule-2.0.0rc5/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I..     -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include    -I/usr/include/ -D__CRYPTO_MDK_SUSE_FC__  -O2  -MT amule-BaseClient.o -MD -MP -MF ".deps/amule-BaseClient.Tpo" \
  -c -o amule-BaseClient.o `test -f 'BaseClient.cpp' || echo './'`BaseClient.cpp; \
then mv -f ".deps/amule-BaseClient.Tpo" ".deps/amule-BaseClient.Po"; \
else rm -f ".deps/amule-BaseClient.Tpo"; exit 1; \
fi
Dans le fichier inclus à partir de BaseClient.cpp:44:
ClientCredits.h:31:45: cryptopp/config.h : Aucun fichier ou répertoire de ce type
ClientCredits.h:32:42: cryptopp/rsa.h : Aucun fichier ou répertoire de ce type
In file included from BaseClient.cpp:44:
ClientCredits.h:126: error: type specifier omitted for parameter `CryptoPP'
ClientCredits.h:126: error: erreur d'analyse syntaxique before `::' token
ClientCredits.h:146: error: erreur de syntaxe before `::' token
BaseClient.cpp:1084:26: attention : #warning Lacks Comment Filtering
BaseClient.cpp:1702:10: attention : #warning ADDME - Import needed
make[4]: *** [amule-BaseClient.o] Erreur 1
make[4]: Leaving directory `/home/guepe/Receive/aMule-2.0.0rc5/src'
make[3]: *** [all-recursive] Erreur 1
make[3]: Leaving directory `/home/guepe/Receive/aMule-2.0.0rc5/src'
make[2]: *** [all] Erreur 2
make[2]: Leaving directory `/home/guepe/Receive/aMule-2.0.0rc5/src'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/home/guepe/Receive/aMule-2.0.0rc5'
make: *** [all] Erreur 2


i have installed libcrypto5.2, libcrypto-dev, and utils too.. i can ee them in kpackage...

what is the matter with me  :(

thx all...
Logged
Sincerily

guepe

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 41
Re: Compilation pb.. ->cryptopp???
« Reply #1 on: September 06, 2004, 09:22:56 AM »

here is my ./configure :
checking build system type... i686-pc-linux
checking host system type... i686-pc-linux
checking target system type... i686-pc-linux
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... 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 strip... strip
checking for ar... ar
checking for ld... ld
checking for windres... 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 ranlib... (cached) ranlib
checking for strerror in -lcposix... no
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
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 off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
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 argz.h usability... yes
checking argz.h presence... yes
checking for argz.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 nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... 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 wx-config... /usr/bin/wx-config
checking for wxWidgets version >= 2.4.2... yes (version 2.4.2)
checking for wxbase-2.4-config... /usr/bin/wxbase-2.4-config
checking for wxWidgets base version >= 2.4.2... yes (version 2.4.2)
checking for curl >= 7.9.5... yes (version 7.11.2)
checking for gdlib-config... /usr/bin/gdlib-config
checking for gdlib version >= 2.0.0... yes (version 2.0.28)
checking if wxWidgets was linked with GTK2... no
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking if wxWidgets version >=2.5.0 ... no
checking for crypto++ version >= 5.1... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking whether SysTray should be compiled... yes
checking whether SysTray should be compiled in safe mode... no
checking whether pure GTK code should be compiled... yes
checking for ANSI C header files... (cached) 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 locale.h... (cached) 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 sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for an ANSI C-conforming const... (cached) yes
checking for inline... (cached) inline
checking for off_t... (cached) yes
checking for size_t... (cached) 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 stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... yes
checking return type of signal handlers... void
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for floor... no
checking for ftruncate... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for putenv... (cached) yes
checking for select... yes
checking for setlocale... (cached) yes
checking for sqrt... no
checking for strcasecmp... (cached) yes
checking for strchr... yes
checking for strdup... (cached) yes
checking for strrchr... yes
checking for strstr... yes
checking for strtoul... (cached) yes
checking for getrlimit... yes
checking for setrlimit... yes
checking whether ccache support should be added... no
configure: creating ./config.status
config.status: creating src/Makefile
config.status: creating src/pixmaps/Makefile
config.status: creating src/utils/Makefile
config.status: creating src/utils/aLinkCreator/Makefile
config.status: creating src/utils/aLinkCreator/src/Makefile
config.status: creating src/utils/cas/Makefile
config.status: creating src/utils/wxCas/Makefile
config.status: creating src/utils/wxCas/doc/Makefile
config.status: creating src/utils/wxCas/src/Makefile
config.status: creating src/utils/xas/Makefile
config.status: creating src/webserver/Makefile
config.status: creating intl/Makefile
config.status: creating po/Makefile.in
config.status: creating m4/Makefile
config.status: creating docs/Makefile
config.status: creating Makefile
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.0rc5 for 'i686-pc-linux'.

  Should aMule be compiled in debug mode?                  yes
  Should aMule be compiled with verbose console output?    no
  Should aMule be compiled with upload speed sense?        no
  Should aMule be compiled with profiling?                 no
  Should aMule be compiled with optimizations?             no
  Should aMule be compiled with systray?                   yes
  Should aMule be compiled with safe systray?              no
  Should aMule be compiled with pure GTK code?             yes
  Should aMule be compiled without bar drawing?            no
  Should aMule be linked against patched gsocket?          yes
  Should ccache support be enabled?                        no
  Should aMule command line client be built?               no
  Should aMule GUI client be built?                        no
  Should aMule WebServer be built?                         no
  Should aMule WebServer GUI be built?                     no
  Should aMule ed2k links handler be built?                yes
  Should aMuleLinkCreator GUI version (alc) be built?      yes
  Should aMuleLinkCreator for console (alcc) be built?     yes
  Should C aMule Statistics (CAS) be built?                yes
  Should aMule GUI Statistics (wxCas) be built?            yes
  Crypto++ library/headers style?                          gentoo_debian

  Which libraries should aMule use?
                                       wxWidgets          2.4.2
                                       GTK                1.2.10

  NOTICE: With wxWidgets versions prior 2.5, you need wxBase library to compile:
          amuleweb amulecmd and alcc


root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5# onfig.status: creating src/utils/aLinkCreator/Makefile
bash: onfig.status:: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5# config.status: creating src/utils/aLinkCreator/src/Makefile
bash: config.status:: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5# config.status: creating src/utils/cas/Makefile
bash: config.status:: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5# config.status: creating src/utils/wxCas/Makefile
bash: config.status:: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5# config.status: creating src/utils/wxCas/doc/Makefile
bash: config.status:: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5# config.status: creating src/utils/wxCas/src/Makefile
bash: config.status:: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5# config.status: creating src/utils/xas/Makefile
bash: config.status:: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5# config.status: creating src/webserver/Makefile
bash: config.status:: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5# config.status: creating intl/Makefile
bash: config.status:: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5# config.status: creating po/Makefile.in
bash: config.status:: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5# config.status: creating m4/Makefile
bash: config.status:: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5# config.status: creating docs/Makefile
bash: config.status:: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5# config.status: creating Makefile
bash: config.status:: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5# config.status: creating Compilation.flags
bash: config.status:: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5# config.status: creating config.h
bash: config.status:: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5# config.status: config.h is unchanged
bash: config.status:: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5# config.status: executing depfiles commands
bash: config.status:: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5# config.status: executing default-1 commands
bash: config.status:: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5# config.status: creating po/POTFILES
bash: config.status:: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5# config.status: creating po/Makefile
bash: config.status:: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5#
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5#
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5#   Configure script has finished system check.
bash: Configure: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5#
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5#   Configured aMule 2.0.0rc5 for 'i686-pc-linux'.
bash: Configured: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5#
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5#   Should aMule be compiled in debug mode?                  yes
bash: Should: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5#   Should aMule be compiled with verbose console output?    no
bash: Should: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5#   Should aMule be compiled with upload speed sense?        no
bash: Should: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5#   Should aMule be compiled with profiling?                 no
bash: Should: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5#   Should aMule be compiled with optimizations?             no
bash: Should: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5#   Should aMule be compiled with systray?                   yes
bash: Should: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5#   Should aMule be compiled with safe systray?              no
bash: Should: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5#   Should aMule be compiled with pure GTK code?             yes
bash: Should: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5#   Should aMule be compiled without bar drawing?            no
bash: Should: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5#   Should aMule be linked against patched gsocket?          yes
bash: Should: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5#   Should ccache support be enabled?                        no
bash: Should: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5#   Should aMule command line client be built?               no
bash: Should: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5#   Should aMule GUI client be built?                        no
bash: Should: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5#   Should aMule WebServer be built?                         no
bash: Should: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5#   Should aMule WebServer GUI be built?                     no
bash: Should: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5#   Should aMule ed2k links handler be built?                yes
bash: Should: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5#   Should aMuleLinkCreator GUI version (alc) be built?      yes
bash: syntax error near unexpected token `('
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5#   Should aMuleLinkCreator for console (alcc) be built?     yes
bash: syntax error near unexpected token `('
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5#   Should C aMule Statistics (CAS) be built?                yes
bash: syntax error near unexpected token `('
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5#   Should aMule GUI Statistics (wxCas) be built?            yes
bash: syntax error near unexpected token `('
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5#   Crypto++ library/headers style?                          gentoo_debian
bash: Crypto++: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5#
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5#   Which libraries should aMule use?
bash: Which: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5#                                        wxWidgets          2.4.2
bash: wxWidgets: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5#                                        GTK                1.2.10
bash: GTK: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5#
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5#   NOTICE: With wxWidgets versions prior 2.5, you need wxBase library to compile:
bash: NOTICE:: command not found
root@knoppix:/home/guepe/Receive/aMule-2.0.0rc5#           amuleweb amulecmd and alcc
Unexpected parameter 'amulecmd'
Usage: amuleweb [-h ] [-rh ] [-p ] [-pw ]
  -h, --help=              show this help
  -rh, --remote-host=      host where aMule is running (default localhost)
  -p, --port=              aMule's port for External Connection
  -pw, --password=         Password.
Logged
Sincerily

guepe

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 41
Re: Compilation pb.. ->cryptopp???
« Reply #2 on: September 06, 2004, 09:39:53 AM »

it seems that i have a problem with wxGTK... i tried to convert a suse rpm with alien (dont know if it was a good idea) and i installed it.. here is the problem when i type amule in a console :
OOPS! - Seems like aMule crashed
--== BACKTRACE FOLLOWS: ==--

  • amule(_ZN9CamuleApp16OnFatalExceptionEv+0xcc) [0x825d25c]
  • [1] /usr/lib/libwx_gtk-2.4.so.0(wxFatalSignalHandler+0x2d)
[0x403d3eed]
[2] /lib/libpthread.so.0 [0x409d5825]
[3] /lib/libc.so.6 [0x40a44658]
[4] /usr/lib/libwx_gtk-2.4.so.0(_ZN8wxObject3RefERKS_+0x30) [0x4035c360]
[5] /usr/lib/libwx_gtk-2.4.so.0(_ZN14wxTextCtrlBase15SetDefaultStyleERK10wxTextAttr+0x78) [0x40389d68]
[6] /usr/lib/libwx_gtk-2.4.so.0(_ZN10wxTextCtrl6CreateEP8wxWindowiRK8wxStringRK7wxPointRK6wxSizelRK11wxValidatorS4_+0x527) [0x40295687]
[7] /usr/lib/libwx_gtk-2.4.so.0(_ZN10wxTextCtrlC1EP8wxWindowiRK8wxStringRK7wxPointRK6wxSizelRK11wxValidatorS4_+0x83) [0x40295133]
[8] amule(_Z9searchDlgP8wxWindowbb+0x3f2) [0x81e5542]
[9] amule(_ZN10CSearchDlgC1EP8wxWindow+0x12e) [0x821db3e]
[10] amule(_ZN9CamuleDlgC1EP8wxWindow8wxString7wxPoint6wxSize+0x430) [0x82691d0]
[11] amule(_ZN9CamuleApp6OnInitEv+0x25fb) [0x8261bab]
[12] /usr/lib/libwx_gtk-2.4.so.0(_Z7wxEntryiPPc+0x228) [0x40247698]
[13] amule(main+0x17) [0x82624d7]
[14] /lib/libc.so.6(__libc_start_main+0xc6) [0x40a30dc6]
[15] amule(_ZN16wxScrolledWindow16AdjustScrollbarsEv+0xad) [0x8120b91]
Abandon
 and with many lines before like it :
gtk-CRITICAL **: file gtktext.c: line 2297 (gtk_text_adjustment): assertion `GTK_IS_TEXT (text)' failed.


arg!!! could someone help me please.....
Logged
Sincerily

guepe

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 41
Re: Compilation pb.. ->cryptopp???
« Reply #3 on: September 06, 2004, 10:41:27 AM »

hum sorry for all those topics... after re-re-recompiled and installed wxGTK and wxBase... it is now fully working...

i will now parameter the amuleweb, but i think this will not be hard now...

thx and again, sorry...
Logged
Sincerily

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Compilation pb.. ->cryptopp???
« Reply #4 on: September 06, 2004, 03:57:33 PM »

Np, we're here to help. glad to see you're on aMule comunity now ;) C'ya!
Logged