aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: problemas para compilar  (Read 5192 times)

shaitan

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
    • http://www.metalmadness.org
problemas para compilar
« on: October 21, 2006, 07:23:07 PM »

Buenas, intento compilar amule cvs para poder tener acceso a descargas de mas de 4Gb, ya lo hice gracias a skolnick  :baby: en Mandriva 2006, pero con el cambio a la 2007 no hay manera.
Code: [Select]
[shaitan@localhost amule-cvs]$ ./autogen.sh Setting up internationalization files. ./autogen.sh: line 41: autopoint: command not found
Running aclocal -I m4
ac-wrapper: /usr/bin/autom4te-2.13 is missing or not executable.
             Something is very wrong.
aclocal: autom4te failed with exit status: 1
Running autoheader
FATAL ERROR: Autoconf version 2.58 or higher is required for this script
Running autoconf
FATAL ERROR: Autoconf version 2.58 or higher is required for this script
Running automake --foreign -a -c -f
Usage: autoconf [-h] [--help] [-m dir] [--macrodir=dir]
        [-l dir] [--localdir=dir] [--version] [template-file]
automake: autoconf failed with exit status: 1
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: problemas para compilar
« Reply #1 on: October 21, 2006, 07:30:45 PM »

Hola shaitan:

No hace falta ejecutar autogen. Será suficiente ejecutar ./compile --opciones && make && sudo make install para compilar y instalar aMule CVS. No obstante, tu necesitas instalar autoconf 2.59 para usar el scripto autogen.

Saludos
Logged

shaitan

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
    • http://www.metalmadness.org
Re: problemas para compilar
« Reply #2 on: October 21, 2006, 08:16:57 PM »

Acabo de instalar el autoconf que me has puesto y sigue dandome el mismo error  :(

Es la unica manera que se para compilar el cvs, la otra manera que has puesto no tengo ni idea  ;(

Gracias por tu respuesta
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: problemas para compilar
« Reply #3 on: October 21, 2006, 08:42:56 PM »

Lamentablemente no tengo ni he usado Mandriva y no sé que es el problema.

¿Pero qué es tu problema con la manera normal de compilar?

Abre un terminal y cd (cambiar el directorio) al directorio amule-cvs.
Aquí ejecuta ./configure con los opciones que quieres.
Por ejemplo: ./configure --enable-optimize --enable-webserver
Vas a ver todas las opciones cuando ejecutes ./configure --help
Pues ejecutas make y compilará aMule CVS.
Al final teclea su y entonces make install para instalar aMule CVS.

Esto es lo que hay que teclear en el terminal:
Code: [Select]
./configure --enable-optimize --enable-webserver
make
su
make install

Espero que te funcione ahora.
Logged

shaitan

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
    • http://www.metalmadness.org
Re: problemas para compilar
« Reply #4 on: October 22, 2006, 01:37:02 PM »

    [shaitan@localhost amule-cvs]$ ./configure --enable-optimize --disable-debug --with-wxdir=/home/shaitan/wxGTK-2.6.3/
    checking build system type... i686-pc-linux-gnu
    checking host 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 for egrep... grep -E
    checking whether make sets $(MAKE)... (cached) yes
    checking for flex... flex
    checking for yywrap in -lfl... yes
    checking lex output file root... lex.yy
    checking whether yytext is a pointer... 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 zlib >= 1.1.4... yes (version 1.2.3)
    checking whether we need the GUI... yes
    checking for wx-config... /home/shaitan/wxGTK-2.6.3//wx-config
    checking for wxWidgets version >= 2.6.0... yes (version 2.6.3)
    checking for wxWidgets static library... no
    checking that wxWidgets has support for large files... yes
    checking that wxWidgets was compiled with unicode support... yes
    checking whether to use embedded Crypto... yes
    checking for bfd headers... no
    configure: WARNING: bfd.h not found, please install binutils development package if you are a developer or want to help testing aMule
    checking for autopoint... yes (0.14.6)
    checking for extended flex capabilities... no
    configure: Your flex version doesn't support --header-file flag. This is not critical, but an upgrade is recommended
    checking for X... libraries , headers
    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... 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 inttypes.h usability... yes
    checking inttypes.h presence... yes
    checking for inttypes.h... 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 nl_types.h usability... yes
    checking nl_types.h presence... yes
    checking for nl_types.h... yes
    checking stdint.h usability... yes
    checking stdint.h presence... yes
    checking for stdint.h... yes
    checking stdio_ext.h usability... yes
    checking stdio_ext.h presence... yes
    checking for stdio_ext.h... yes
    checking stdlib.h usability... yes
    checking stdlib.h presence... yes
    checking for stdlib.h... yes
    checking string.h usability... yes
    checking string.h presence... yes
    checking for string.h... yes
    checking strings.h usability... yes
    checking strings.h presence... yes
    checking for strings.h... 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/resource.h usability... yes
    checking sys/resource.h presence... yes
    checking for sys/resource.h... yes
    checking sys/select.h usability... yes
    checking sys/select.h presence... yes
    checking for sys/select.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 sys/timeb.h usability... yes
    checking sys/timeb.h presence... yes
    checking for sys/timeb.h... yes
    checking sys/types.h usability... yes
    checking sys/types.h presence... yes
    checking for sys/types.h... yes
    checking unistd.h usability... yes
    checking unistd.h presence... yes
    checking for unistd.h... 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 for nl_types.h... (cached) 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... 2.3, 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... no
    checking whether lstat accepts an empty string... no
    checking whether lstat dereferences a symlink specified with a trailing slash... (cached) no
    checking for stdlib.h... (cached) yes
    checking for GNU libc compatible malloc... yes
    checking for working memcmp... yes
    checking for stdlib.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for getpagesize... (cached) yes
    checking for working mmap... (cached) yes
    checking for stdlib.h... (cached) yes
    checking for GNU libc compatible realloc... yes
    checking for sys/select.h... (cached) 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 vprintf... yes
    checking for _doprnt... no
    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 localeconv... 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 pow... no
    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 for mkdir... yes
    checking for getrlimit... yes
    checking for setrlimit... yes
    checking if the applications should be statically linked... no
    checking for CVSDATE... Sat Oct 21 07:01:56 CEST 2006
    checking if this is a FreeBSD 4 or earlier system... no
    checking denoising level... 0
    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/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/autostart-xas
    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
    config.status: executing denoiser commands


      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?                    no
      Should aMule be compiled with profiling?                   no
      Should aMule be compiled with optimizations?               yes
      Should aMule monolithic application be built?              yes
      Should aMule daemon version be built?                      no
      Should aMule remote gui be built? (EXPERIMENTAL)           no
      Crypto++ library/headers style?                            embedded

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

      **** aMule WebServer ****
      Should aMule WebServer be built?                           no

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

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

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

      **** General Libraries and Tools ****
      Should ccache support be enabled?                          no
      Libraries aMule will use to build:
                                           wxWidgets             2.6.3
                                           crypto++              embedded
                                           zlib                  1.2.3
    [/list]

      [shaitan@localhost amule-cvs]$ make
      make  all-recursive
      make[1]: se ingresa al directorio `/home/shaitan/amule-cvs'
      Making all in m4
      make[2]: se ingresa al directorio `/home/shaitan/amule-cvs/m4'
      make[2]: No se hace nada para `all'.
      make[2]: se sale del directorio `/home/shaitan/amule-cvs/m4'
      Making all in docs
      make[2]: se ingresa al directorio `/home/shaitan/amule-cvs/docs'
      Making all in man
      make[3]: se ingresa al directorio `/home/shaitan/amule-cvs/docs/man'
      make[3]: No se hace nada para `all'.
      make[3]: se sale del directorio `/home/shaitan/amule-cvs/docs/man'
      make[3]: se ingresa al directorio `/home/shaitan/amule-cvs/docs'
      make[3]: No se hace nada para `all-am'.
      make[3]: se sale del directorio `/home/shaitan/amule-cvs/docs'
      make[2]: se sale del directorio `/home/shaitan/amule-cvs/docs'
      Making all in src
      make[2]: se ingresa al directorio `/home/shaitan/amule-cvs/src'
      Making all in libs
      make[3]: se ingresa al directorio `/home/shaitan/amule-cvs/src/libs'
      Making all in ec
      make[4]: se ingresa al directorio `/home/shaitan/amule-cvs/src/libs/ec'
      make  all-am
      make[5]: se ingresa al directorio `/home/shaitan/amule-cvs/src/libs/ec'
      make[5]: No se hace nada para `all-am'.
      make[5]: se sale del directorio `/home/shaitan/amule-cvs/src/libs/ec'
      make[4]: se sale del directorio `/home/shaitan/amule-cvs/src/libs/ec'
      Making all in common
      make[4]: se ingresa al directorio `/home/shaitan/amule-cvs/src/libs/common'
      make[4]: No se hace nada para `all'.
      make[4]: se sale del directorio `/home/shaitan/amule-cvs/src/libs/common'
      make[4]: se ingresa al directorio `/home/shaitan/amule-cvs/src/libs'
      make[4]: No se hace nada para `all-am'.
      make[4]: se sale del directorio `/home/shaitan/amule-cvs/src/libs'
      make[3]: se sale del directorio `/home/shaitan/amule-cvs/src/libs'
      Making all in utils
      make[3]: se ingresa al directorio `/home/shaitan/amule-cvs/src/utils'
      Making all in xas
      make[4]: se ingresa al directorio `/home/shaitan/amule-cvs/src/utils/xas'
      Making all in docs
      make[5]: se ingresa al directorio `/home/shaitan/amule-cvs/src/utils/xas/docs'
      make[5]: No se hace nada para `all'.
      make[5]: se sale del directorio `/home/shaitan/amule-cvs/src/utils/xas/docs'
      make[5]: se ingresa al directorio `/home/shaitan/amule-cvs/src/utils/xas'
      make[5]: No se hace nada para `all-am'.
      make[5]: se sale del directorio `/home/shaitan/amule-cvs/src/utils/xas'
      make[4]: se sale del directorio `/home/shaitan/amule-cvs/src/utils/xas'
      make[4]: se ingresa al directorio `/home/shaitan/amule-cvs/src/utils'
      make[4]: No se hace nada para `all-am'.
      make[4]: se sale del directorio `/home/shaitan/amule-cvs/src/utils'
      make[3]: se sale del directorio `/home/shaitan/amule-cvs/src/utils'
      Making all in pixmaps
      make[3]: se ingresa al directorio `/home/shaitan/amule-cvs/src/pixmaps'
      make[3]: No se hace nada para `all'.
      make[3]: se sale del directorio `/home/shaitan/amule-cvs/src/pixmaps'
      Making all in kademlia
      make[3]: se ingresa al directorio `/home/shaitan/amule-cvs/src/kademlia'
      Making all in kademlia
      make[4]: se ingresa al directorio `/home/shaitan/amule-cvs/src/kademlia/kademlia'
      make[4]: No se hace nada para `all'.
      make[4]: se sale del directorio `/home/shaitan/amule-cvs/src/kademlia/kademlia'
      Making all in net
      make[4]: se ingresa al directorio `/home/shaitan/amule-cvs/src/kademlia/net'
      make[4]: No se hace nada para `all'.
      make[4]: se sale del directorio `/home/shaitan/amule-cvs/src/kademlia/net'
      Making all in routing
      make[4]: se ingresa al directorio `/home/shaitan/amule-cvs/src/kademlia/routing'
      make[4]: No se hace nada para `all'.
      make[4]: se sale del directorio `/home/shaitan/amule-cvs/src/kademlia/routing'
      Making all in utils
      make[4]: se ingresa al directorio `/home/shaitan/amule-cvs/src/kademlia/utils'
      make[4]: No se hace nada para `all'.
      make[4]: se sale del directorio `/home/shaitan/amule-cvs/src/kademlia/utils'
      make[4]: se ingresa al directorio `/home/shaitan/amule-cvs/src/kademlia'
      make[4]: No se hace nada para `all-am'.
      make[4]: se sale del directorio `/home/shaitan/amule-cvs/src/kademlia'
      make[3]: se sale del directorio `/home/shaitan/amule-cvs/src/kademlia'
      make[3]: se ingresa al directorio `/home/shaitan/amule-cvs/src'
      if g++ -DHAVE_CONFIG_H -I. -I. -I..     -I/home/shaitan/wxGTK-2.6.3/lib/wx/include/gtk2-unicode-release-2.6 -I/home/shaitan/wxGTK-2.6.3/include -I/home/shaitan/wxGTK-2.6.3/contrib/include -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA    -I./libs -Ilibs -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -O2  -DUSE_WX_EXTENSIONS -MT amule-amule.o -MD -MP -MF ".deps/amule-amule.Tpo" -c -o amule-amule.o `test -f 'amule.cpp' || echo './'`amule.cpp; \
              then mv -f ".deps/amule-amule.Tpo" ".deps/amule-amule.Po"; else rm -f ".deps/amule-amule.Tpo"; exit 1; fi
      In file included from ExternalConn.h:31,
                       from amule.cpp:60:
      ./libs/ec/ECSpecialTags.h:28:2: warning: #warning Kry - Preferences packet derived from packet, and that's ok, but shouldn't be here because this is a tag file and forces a stupid include
      In file included from CFile.h:29,
                       from PartFile.h:31,
                       from amule.cpp:63:
      SafeFile.h:201:2: warning: #warning DOCS
      In file included from amule.cpp:64:
      FriendList.h:62:3: warning: #warning THIS MUST BE MADE PRIVATE AFTER EC IS CODED
      /home/shaitan/wxGTK-2.6.3/include/wx/hashmap.h: In member function wxLongToLongHashMap_wxImplementation_HashTable::Node** wxLongToLongHashMap_wxImplementation_HashTable::GetNodePtr(const long int&) const:
      /home/shaitan/wxGTK-2.6.3/include/wx/hashmap.h:705: warning: dereferencing type-punned pointer will break strict-aliasing rules
      /home/shaitan/wxGTK-2.6.3/include/wx/clntdata.h: In member function wxShadowObjectMethods_wxImplementation_HashTable::Node** wxShadowObjectMethods_wxImplementation_HashTable::GetNodePtr(const wxString&) const:
      /home/shaitan/wxGTK-2.6.3/include/wx/clntdata.h:26: warning: dereferencing type-punned pointer will break strict-aliasing rules
      /home/shaitan/wxGTK-2.6.3/include/wx/clntdata.h: In member function wxShadowObjectFields_wxImplementation_HashTable::Node** wxShadowObjectFields_wxImplementation_HashTable::GetNodePtr(const wxString&) const:
      /home/shaitan/wxGTK-2.6.3/include/wx/clntdata.h:31: warning: dereferencing type-punned pointer will break strict-aliasing rules
      /home/shaitan/wxGTK-2.6.3/include/wx/gdicmn.h: In member function wxStringToColourHashMap_wxImplementation_HashTable::Node** wxStringToColourHashMap_wxImplementation_HashTable::GetNodePtr(const wxString&) const:
      /home/shaitan/wxGTK-2.6.3/include/wx/gdicmn.h:476: warning: dereferencing type-punned pointer will break strict-aliasing rules
      /home/shaitan/wxGTK-2.6.3/include/wx/image.h: In member function wxImageHistogramBase_wxImplementation_HashTable::Node** wxImageHistogramBase_wxImplementation_HashTable::GetNodePtr(const long unsigned int&) const:
      /home/shaitan/wxGTK-2.6.3/include/wx/image.h:123: warning: dereferencing type-punned pointer will break strict-aliasing rules
      amule.cpp: At global scope:
      amule.cpp:104: error: variable or field UnlimitResource declared void
      amule.cpp:104: error: __rlimit_resource was not declared in this scope
      amule.cpp:105: error: expected , or ; before { token
      amule.cpp: In member function virtual bool CamuleApp::OnInit():
      amule.cpp:627: error: LVERSION was not declared in this scope
      amule.cpp: In member function void CamuleApp::OnlineSig(bool):
      amule.cpp:1171: error: LVERSION was not declared in this scope
      amule.cpp: In member function wxString CamuleApp::GetLog(bool):
      amule.cpp:1658: warning: dereferencing type-punned pointer will break strict-aliasing rules
      amule.cpp: In member function void CamuleApp::CheckNewVersion(uint32):
      amule.cpp:1753: error: LVERSION was not declared in this scope
      amule.cpp: At global scope:
      amule.cpp:104: warning: UnlimitResource defined but not used
      make[3]: *** [amule-amule.o] Error 1
      make[3]: se sale del directorio `/home/shaitan/amule-cvs/src'
      make[2]: *** [all-recursive] Error 1
      make[2]: se sale del directorio `/home/shaitan/amule-cvs/src'
      make[1]: *** [all-recursive] Error 1
      make[1]: se sale del directorio `/home/shaitan/amule-cvs'
      make: *** [all] Error 2
      [/list]

      No hay manera, y no tengo ni idea que es lo que falla
      Logged

      shaitan

      • Approved Newbie
      • *
      • Karma: 0
      • Offline Offline
      • Posts: 5
        • http://www.metalmadness.org
      Re: problemas para compilar
      « Reply #5 on: October 22, 2006, 08:06:22 PM »

      Tengo las wxGTK-2.6.3 compiladas por mi.

      Los pasos que he seguido son:

      ./configure --enable-unicode
      make
      Logged

      skolnick

      • Global Moderator
      • Hero Member
      • *****
      • Karma: 24
      • Offline Offline
      • Posts: 1188
      • CentOS 6 User
      Re: problemas para compilar
      « Reply #6 on: October 24, 2006, 03:30:30 AM »

      Hola shaitan!

      He revisado tu configure, y solo se me ocurre que el compilador que viene instalado con Mandriva tenga algún tipo de defecto. He descargadel aMule SVN de hoy (Octubre 23) y compiló sin problemas. Muchísimas advertencias, pero finalizó, y corre bien. Infórmanos por favor que version de gcc tiene Mandriva (gcc --version) y el ia del SVN que estás intentando compilar.

      Suerte!
      Logged

      wardevil

      • Sr. Member
      • ****
      • Karma: -1
      • Offline Offline
      • Posts: 402
      Re: problemas para compilar
      « Reply #7 on: October 24, 2006, 04:03:49 AM »

      GCC used by Mandriva in 2007 is gcc-4.1.1...didnt try compiling cvs but i will and let you know the result...At least 2.1.3 compiled fine,even in x86_64.

      Cheers...
      Logged
      Linux user nº289016 at Linux counter

      shaitan

      • Approved Newbie
      • *
      • Karma: 0
      • Offline Offline
      • Posts: 5
        • http://www.metalmadness.org
      Re: problemas para compilar
      « Reply #8 on: October 24, 2006, 08:18:23 PM »

      [shaitan@localhost ~]$ gcc --version
      gcc (GCC) 4.1.1 20060724 (prerelease) (4.1.1-3mdk)

      Me he bajado hoy la ultima CVS y he vuelto a compilar tanto las wx como amule, y me sigue dando el mismo error  :(
      Logged

      wardevil

      • Sr. Member
      • ****
      • Karma: -1
      • Offline Offline
      • Posts: 402
      Re: problemas para compilar
      « Reply #9 on: October 29, 2006, 09:25:10 PM »

      I compiled fine in mandriva 2007 with wxGTK provided by them...Maybe you wx is messed up.
      U can try installing my own if you want:
      http://linfreak.zapto.org/amule/cvs/Mandriva_2007
      Every day there is a new one.

      Cheers....
      Logged
      Linux user nº289016 at Linux counter