aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Doesn't work autogen.sh  (Read 4356 times)

Guest

  • Guest
Doesn't work autogen.sh
« on: November 02, 2003, 11:39:40 PM »

Hi, I try to compile aMule with:
Quote
./autogen.sh && CXX="g++ -Os" CC="gcc -Os" ./configure --disable-debug --enable-optimise && make


and the result is:

Quote
to create the configure script I used:
- GNU Autoconf V2.57
- GNU Automake V1.7.2
- GNU gettext V0.11.5
You may be able to generate it with older versions but I didn't test it.
Setting up internationalization files
Running aclocal -I m4
Running automake m4/Makefile
Running automake --foreign -a
configure.in: 5: required file `./[config.h].in' not found
automake: Makefile.am: AM_GNU_GETTEXT in `configure.in' but `ALL_LINGUAS' not defined
Running autoheader
Running autoconf
autoconf: Undefined macros:
configure.in:159:AC_CONFIG_FILES([src/Makefile intl/Makefile po/Makefile.in m4/Makefile Makefile Compilation.flags])
configure.in:4:AC_CONFIG_SRCDIR([src/SharedFileList.h])
configure.in:94:AC_FUNC_MALLOC
configure.in:96:AC_FUNC_MKTIME
configure.in:98:AC_FUNC_STAT


The get-info.sh returns:

Quote
I.   Development Environment

     A. Compiler Info
        Leyendo especificaciones de /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/specs Configurado con: /var/tmp/portage/gcc-3.2.3-r2/work/gcc-3.2.3/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.2 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2/info --enable-shared --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c,c++,f77,objc,java --enable-threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3 --with-local-prefix=/usr/local --enable-shared --enable-nls --without-included-gettext Modelo de hilos: posix gcc versión 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r2, propolice)

     B. wxWindows Info
        Version: 2.4.1
        -pthread -lwx_gtk-2.4

     C. GTK Info
        GTK 1: 1.2.10
        GTK 2: 2.2.1

II.  System Environment

     A. CPU Info
        Type:  GenuineIntel
        Model: Pentium III (Coppermine)
        Speed: 668.197
        BMips: 1333.65
        Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse

     B. Memory Info
        Total:   320072 kB
        Unused:  173500 kB

     C. Kernel Info
        Version: 2.4.20-xfs

     D. Library Info
        wxWindows library: libwx_gtk2u-2.4.so (libc6) => /usr/local/lib/libwx_gtk2u-2.4.so libwx_gtk_xrc-2.4.so (libc6) => /usr/lib/libwx_gtk_xrc-2.4.so libwx_gtk_stc-2.4.so (libc6) => /usr/lib/libwx_gtk_stc-2.4.so libwx_gtk_plot-2.4.so (libc6) => /usr/lib/libwx_gtk_plot-2.4.so libwx_gtk_ogl-2.4.so (libc6) => /usr/lib/libwx_gtk_ogl-2.4.so libwx_gtk_net-2.4.so (libc6) => /usr/lib/libwx_gtk_net-2.4.so libwx_gtk_mmedia-2.4.so (libc6) => /usr/lib/libwx_gtk_mmedia-2.4.so libwx_gtk_gl-2.4.so (libc6) => /usr/lib/libwx_gtk_gl-2.4.so libwx_gtk_gl-2.3.so (libc6) => /usr/lib/libwx_gtk_gl-2.3.so libwx_gtk_gizmos-2.4.so (libc6) => /usr/lib/libwx_gtk_gizmos-2.4.so libwx_gtk_fl-2.4.so (libc6) => /usr/lib/libwx_gtk_fl-2.4.so libwx_gtk_dcsvg-2.4.so (libc6) => /usr/lib/libwx_gtk_dcsvg-2.4.so libwx_gtk_canvas-2.4.so (libc6) => /usr/lib/libwx_gtk_canvas-2.4.so libwx_gtk-2.4.so (libc6) => /usr/lib/libwx_gtk-2.4.so libwx_gtk-2.3.so (libc6) => /usr/lib/libwx_gtk-2.3.so


Thanks in advance.[/quote]
Logged

BigBob

  • aMule project creator.
  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 141
    • http://bigbob.fun.free.fr
Re: Doesn't work autogen.sh
« Reply #1 on: November 03, 2003, 12:34:23 AM »

Hi Godo,

It seem you have troubles with some tools ...

can you send output of :

automake --version

autoconf --version

gettext --version

autopoint --version

A++
Logged
Creator of aMule & aStats projects

Guest

  • Guest
Re: Doesn't work autogen.sh
« Reply #2 on: November 03, 2003, 12:39:38 PM »

I found the error, I was using Autoconf version 1.4.

Now, I tried to compile with autoconf version 1.7 and the autogen.sh works well, but when in the make, it gives me this error:

Quote
g++ -Os  -O  -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_F
ILE_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/X11R6/include -Isrc    -o amule  AddFriend.o Add
FileThread.o animate.o BarShader.o BaseClient.o ChatSelector.o ChatWnd.o CatDial
og.o CFile.o ClientCredits.o ClientDetailDialog.o ClientList.o ClientUDPSocket.o
 CMuleNotebookBase.o ColorFrameCtrl.o CommentDialog.o CommentDialogLst.o Directo
ryTreeCtrl.o DownloadClient.o DownloadListCtrl.o DownloadQueue.o ED2KLink.o Edit
ServerListDlg.o eggtrayicon.o EMSocket.o FileDetailDialog.o filemem.o Friend.o F
riendList.o FriendListCtrl.o gtk2-funcs.o gtkplugxembed.o HTTPDownloadDlg.o ini2
.o IPFilter.o KnownFile.o KnownFileList.o listctrl.o ListenSocket.o mfc.o MD5Sum
.o MuleListCtrl.o MuleNotebook.o muuli_wdr.o OScopeCtrl.o otherfunctions.o packe
ts.o PartFile.o PPgConnection.o PPgDirectories.o PPgFiles.o PPgGeneral.o PPgIrc.
o PPgNotify.o PPgServer.o PPgStats.o PPgTweaks.o PPgSourcesDropping.o PPgGuiTwea
ks.o Preferences.o PreferencesDlg.o Preview.o QueueListCtrl.o SafeFile.o SearchD
lg.o SearchList.o SearchListCtrl.o server.o ServerList.o ServerListCtrl.o Server
Socket.o ServerWnd.o SharedFileList.o SharedFilesCtrl.o SharedFilesWnd.o sockets
.o SplitterControl.o StatisticsDlg.o SysTray.o TabCtrl.o TransferWnd.o treebasc.
o treectlc.o UDPSocket.o UploadClient.o UploadListCtrl.o UploadQueue.o WebServer
.o WebSocket.o Wizard.o XBMDraw.o amule.o amuleDlg.o gsocket.o  -pthread -lwx_gt
k-2.4 -lz
DownloadQueue.o(.text+0x2ea8): En la función `CDownloadQueue::AddLinksFromFile()
':
: undefined reference to `vtable for wxFile'
DownloadQueue.o(.text+0x2ed0): En la función `CDownloadQueue::AddLinksFromFile()
':
: undefined reference to `vtable for wxFile'
amuleDlg.o(.text+0x3d40): En la función `CamuleDlg::AddLogLine(bool, char const*
, ...)':
: undefined reference to `vtable for wxFile'
amuleDlg.o(.text+0x3d5a): En la función `CamuleDlg::AddLogLine(bool, char const*
, ...)':
: undefined reference to `vtable for wxFile'
collect2: ld devolvió el estado de salida 1
make[2]: *** [amule] Error 1
make[2]: Leaving directory `/root/Downloads/aMule-1.1.1-src/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Downloads/aMule-1.1.1-src'
make: *** [all] Error 2


Thanks in advance
Logged

BigBob

  • aMule project creator.
  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 141
    • http://bigbob.fun.free.fr
Re: Doesn't work autogen.sh
« Reply #3 on: November 03, 2003, 06:00:19 PM »

Hi Godo,

Can you join irc Channel #aMule on EFNET, then we can try to debug your problem in live ...

A++
Logged
Creator of aMule & aStats projects