aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: problem with compilation amule-daemon & amulecmd from csv 2007/10/08  (Read 2521 times)

pepor

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5


Sorry for my bad English

I try to compile csv version but compilation stops :-(

System is Debian 4.0  only shell , no gui.

wxWidgets-2.8.6.tar.bz2

./configure --prefix=/usr --enable-unicode --disable-compat24 --disable-compat26 --enable-optimise --disable-gui

Configured wxWidgets 2.8.6 for `i686-pc-linux-gnu'

  Which GUI toolkit should wxWidgets use?                 base only
  Should wxWidgets be compiled into single library?       no
  Should wxWidgets be compiled in debug mode?             no
  Should wxWidgets be linked as a shared library?         yes
  Should wxWidgets be compiled in Unicode mode?           yes
  What level of wxWidgets compatibility should be enabled?
                                       wxWidgets 2.4      no
                                       wxWidgets 2.6      no
  Which libraries should wxWidgets use?
                                       jpeg               none
                                       png                none
                                       regex              builtin
                                       tiff               none
                                       zlib               sys
                                       odbc               no
                                       expat              sys
                                       libmspack          no
                                       sdl                no


aMule-CVS-20071008.tar.bz2

./configure --prefix=/usr/bin/aMule --enable-amule-daemon --enable-amulecmd --disable-webserver --enable-optimize --disable-amule-gui --disable-debug --disable-gtk --disable-upnp --disable-ed2k --with-toolkit=base

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

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

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

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

  **** 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.8.6 (,shared)
                                       crypto++              embedded
                                       zlib                  1.2.3

Compilation error :

if g++ -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/lib/wx/include/base-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DwxUSE_GUI=0 -pthread -I./libs  -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -O2  -DUSE_WX_EXTENSIONS -MT libmuleappgui_a-BarShader.o -MD -MP -MF ".deps/libmuleappgui_a-BarShader.Tpo" -c -o libmuleappgui_a-BarShader.o `test -f 'BarShader.cpp' || echo './'`BarShader.cpp; \
        then mv -f ".deps/libmuleappgui_a-BarShader.Tpo" ".deps/libmuleappgui_a-BarShader.Po"; else rm -f ".deps/libmuleappgui_a-BarShader.Tpo"; exit 1; fi
BarShader.cpp:26:19: error: wx/dc.h: No such file or directory
BarShader.cpp: In member function âvoid CBarShader::BuildModifiers()â:
BarShader.cpp:118: error: âsinâ was not declared in this scope

etc ...

I don't understand why try to compile BarShader.cpp,  I only need  deamon and amulecmd not gui or webserver ...


Maybe I make one mistake in ./prepare of wx ??

Salutations
pepor

Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: problem with compilation amule-daemon & amulecmd from csv 2007/10/08
« Reply #1 on: October 10, 2007, 12:10:07 AM »

  Should aMule monolithic application be built?              yes
Logged

lfroen

  • Guest
Re: problem with compilation amule-daemon & amulecmd from csv 2007/10/08
« Reply #2 on: October 10, 2007, 08:02:11 AM »

Quote
Should aMule monolithic application be built?              yes

That's an answer
Logged

pepor

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: problem with compilation amule-daemon & amulecmd from csv 2007/10/08
« Reply #3 on: October 10, 2007, 08:28:18 PM »


Compile ok with --disable-monolithic

This weekend I try to compile and test in the kurobox :-)


Thanks !!


Salutations
pepor
Logged