aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: Can't find amuled after compilation  (Read 11962 times)

advantz

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 19
Can't find amuled after compilation
« on: April 12, 2006, 09:39:45 PM »

After compiled amule 2.1.1 successfully based on :
http://www.amule.org/wiki/index.php/HowTo_Compile_aMuled

and

http://www.amule.org/wiki/index.php/HowTo_get_aMule_web_interface


Can't find amuled anywhere, only amuleweb

Any solutions?
thank you
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Can't find amuled after compilation
« Reply #1 on: April 12, 2006, 10:05:53 PM »

Mh, can you please double-check that you used the configure-flag --enable-amule-daemon?
Logged

advantz

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 19
Re: Can't find amuled after compilation
« Reply #2 on: April 13, 2006, 01:51:06 AM »

yes I used the configure-flag :

--enable-amulecmd --enable-webserver --disable-monolithic --enable-amule-daemon

no --prefix flag so it must be in /usr/local/bin right?
« Last Edit: April 13, 2006, 01:52:07 AM by advantz »
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Can't find amuled after compilation
« Reply #3 on: April 13, 2006, 09:30:11 AM »

yes /usr/local/bin if you finished with make install in the end
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: Can't find amuled after compilation
« Reply #4 on: April 13, 2006, 10:45:31 AM »

Could you please look at the "./src/" sub-directory in the directory where you compiled aMule?
Logged

advantz

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 19
Re: Can't find amuled after compilation
« Reply #5 on: April 13, 2006, 03:09:27 PM »

Quote
Originally posted by Gerd78
Could you please look at the "./src/" sub-directory in the directory where you compiled aMule?

what to look?
I saw a lot of .cpp files

when compiled amule with --enable-amule-daemon --enable-webserver,  I caught some errors with filelock bla bla. Dunno what is that, but amuleweb created!

I only use wxBase from wxwidgets + amule 2.1.1, cos I want to install daemon and amule web
Should I compile wxGTK-2.6.3?

thank you guys
« Last Edit: April 13, 2006, 03:13:30 PM by advantz »
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Can't find amuled after compilation
« Reply #6 on: April 13, 2006, 03:17:17 PM »

in the src dir type

./amule


and tehn 2 times the TAB button

you should see all executables in that src dir starting with amule
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: Can't find amuled after compilation
« Reply #7 on: April 13, 2006, 03:36:51 PM »

Quote
Originally posted by advantz
what to look?
Look for what you want to see... If you need amuled, look for amuled in that directory.
Logged

advantz

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 19
Re: Can't find amuled after compilation
« Reply #8 on: April 14, 2006, 01:05:26 PM »

I compiled wxGTK 2.6.3 but ended with errors, too bad I newbie in linux :D

checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error:
The development files for GTK+ were not found. For GTK+ 2, please
ensure that pkg-config is in the path and that gtk+-2.0.pc is
installed. For GTK+ 1.2 please check that gtk-config is in the path,
and that the version is 1.2.3 or above. Also check that the
libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
--libs' are in the LD_LIBRARY_PATH or equivalent.


$ rpm -qa | grep gtk
gtk+-1.2.10-25
pygtk2-libglade-1.99.14-4
gtk2-2.2.1-4.2.legacy
gnome-python2-gtkhtml2-1.99.14-5
usermode-gtk-1.67-2
authconfig-gtk-4.3.4-1
gtkhtml2-2.2.0-5
pygtk2-1.99.14-4
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Can't find amuled after compilation
« Reply #9 on: April 14, 2006, 01:22:09 PM »

install gtk2-devel pkg
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

advantz

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 19
Re: Can't find amuled after compilation
« Reply #10 on: April 14, 2006, 11:41:13 PM »

$ ./configure --prefix=/usr --with-gtk --enable-unicode --disable-compat24 --enable-optimise

Code: [Select]
Configured wxWidgets 2.6.3 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?             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.2      no
                                       wxWidgets 2.4      no
  Which libraries should wxWidgets use?
                                       jpeg               builtin
                                       png                sys
                                       regex              builtin
                                       tiff               builtin
                                       zlib               sys
                                       odbc               no
                                       expat              sys
                                       libmspack          no
                                       sdl                no
                                       gnomeprint         no
                                       hildon             no

$ make clean && make

Code: [Select]
src/gtk/clipbrd.cpp:501:1: directives may not be used inside a macro argument
src/gtk/clipbrd.cpp:500:41: unterminated argument list invoking macro "gtk_signal_connect"
src/gtk/clipbrd.cpp: In member function `virtual bool
   wxClipboard::AddData(wxDataObject*)':
src/gtk/clipbrd.cpp:502: parse error before `(' token
src/gtk/clipbrd.cpp: At top level:
src/gtk/clipbrd.cpp:255: warning: `void selection_handler(GtkWidget*,
   GtkSelectionData*, unsigned int, unsigned int, void*)' defined but not used
make: *** [coredll_clipbrd.o] Error 1

I always get error msg like this, e.g. clipbrd.cpp, filelock


$ gcc -v

Code: [Select]
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
« Last Edit: April 14, 2006, 11:57:56 PM by advantz »
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Can't find amuled after compilation
« Reply #11 on: April 14, 2006, 11:45:28 PM »

Logged

advantz

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 19
Re: Can't find amuled after compilation
« Reply #12 on: April 15, 2006, 12:54:24 AM »

here are various errors :
configure options :
$ ./configure --enable-amulecmd --enable-webserver --disable-monolithic --enable-amule-daemon
$ make clean && make

Code: [Select]
CryptoPP.cpp:1713:10: warning: #warning "You do not have GCC 3.3 or later, or did not specify -msse2 compiler option, so use of SSE2 intrinsics will be disabled."
CryptoPP.cpp: In static member function `static word CryptoPP::PentiumOptimized::Add(word*, const word*, const word*, unsigned int)':
CryptoPP.cpp:2762: warning: control reaches end of non-void function
CryptoPP.cpp: In static member function `static word CryptoPP::PentiumOptimized::Subtract(word*, const word*, const word*, unsigned int)':
CryptoPP.cpp:2803: warning: control reaches end of non-void function
CryptoPP.cpp: In static member function `static word CryptoPP::P4Optimized::Add(word*, const word*, const word*, unsigned int)':
CryptoPP.cpp:2855: warning: control reaches end of non-void function
CryptoPP.cpp: In static member function `static word CryptoPP::P4Optimized::Subtract(word*, const word*, const word*, unsigned int)':
CryptoPP.cpp:2905: warning: control reaches end of non-void function
rm -f libmuleappcommon.a
ar cru libmuleappcommon.a libmuleappcommon_a-CFile.o libmuleappcommon_a-DataToText.o libmuleappcommon_a-ED2KLink.o libmuleappcommon_a-FileFunctions.o libmuleappcommon_a-MemFile.o libmuleappcommon_a-NetworkFunctions.o libmuleappcommon_a-Packet.o libmuleappcommon_a-RLE.o libmuleappcommon_a-SafeFile.o libmuleappcommon_a-SHA.o libmuleappcommon_a-Tag.o libmuleappcommon_a-Timer.o libmuleappcommon_a-UInt128.o libmuleappcommon_a-CryptoPP.o
ranlib libmuleappcommon.a
if g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include  -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC   -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
In file included from ED2KLinkParser.cpp:44:
FileLock.h: In destructor `CFileLock::~CFileLock()':
FileLock.h:80: `close' undeclared (first use this function)
FileLock.h:80: (Each undeclared identifier is reported only once for each function it appears in.)
make[3]: *** [ED2KLinkParser.o] Error 1
make[3]: Leaving directory `/usr/local/src/2/aMule-2.1.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/2/aMule-2.1.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/2/aMule-2.1.1'
make: *** [all] Error 2


configure options :
$ ./configure --enable-webserver --enable-amule-daemon
$ make clean && make

Code: [Select]
MuleTextCtrl.cpp: In member function `void CMuleTextCtrl::OnRightDown(wxMouseEvent&)':
MuleTextCtrl.cpp:94: `wxTheClipboard' undeclared (first use this function)
MuleTextCtrl.cpp:94: (Each undeclared identifier is reported only once for each function it appears in.)
MuleTextCtrl.cpp:96: `wxTextDataObject' undeclared (first use this function)
MuleTextCtrl.cpp:96: parse error before `;' token
MuleTextCtrl.cpp:97: `data' undeclared (first use this function)
make[3]: *** [libmuleappgui_a-MuleTextCtrl.o] Error 1
make[3]: Leaving directory `/usr/local/src/2/aMule-2.1.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/2/aMule-2.1.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/2/aMule-2.1.1'
make: *** [all] Error 2


configure options :
$ ./configure --enable-webserver --disable-monolithic --enable-amule-daemon --disable-ed2k
$ make clean && make

Code: [Select]
In file included from amule.cpp:80:
FriendList.h:63:10: warning: #warning THIS MUST BE MADE PRIVATE AFTER EC IS CODED
amule.cpp: In member function `virtual bool CamuleApp::OnInit()':
amule.cpp:394: Internal compiler error in c_expand_expr, at c-common.c:3714
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
make[3]: *** [amuled-amule.o] Error 1
make[3]: Leaving directory `/usr/local/src/2/aMule-2.1.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/2/aMule-2.1.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/2/aMule-2.1.1'
make: *** [all] Error 2
« Last Edit: April 15, 2006, 01:49:44 AM by advantz »
Logged

IhmSelbst

  • Full Member
  • ***
  • Karma: 3
  • Offline Offline
  • Posts: 220
    • http://www.ed2k-serverboard.de/
Re: Can't find amuled after compilation
« Reply #13 on: April 15, 2006, 08:35:49 AM »

also outdated gcc probably:
Quote
Originally posted by advantz
  • ...

CryptoPP.cpp:1713:10: warning: #warning "You do not have GCC 3.3 or later, or did not specify -msse2 compiler option, so use of SSE2 intrinsics will be disabled."
...
  • ...

$ gcc -v
..
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
...[/list]


cu

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Can't find amuled after compilation
« Reply #14 on: April 15, 2006, 09:28:03 AM »

the error is in Filelock.h not in cryptoPP tho...
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."
Pages: [1] 2