aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: compiling aMuled for SuSE 9.2  (Read 4119 times)

chrille

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
compiling aMuled for SuSE 9.2
« on: February 08, 2005, 10:53:03 PM »

Hi folks,
I'm trying to compile amuled on SuSE 9.2. I make it the way described in http://www.amule.org/wiki/index.php/SuSE_9.2_install_at_home but I'm using wxBase-2.5.3 and wxGTK-2.5.3.

Code: [Select]
./configure --prefix=/home/user/aMuled/ --disable-monolithic --enable-amule-daemon --with-wx-config=/home/user/aMuled/bin/wx-config --with-wxbase-config=/home/user/aMuled/bin/wxbase-config && make && make install
Unfortunately, I get a lot of errors like

<------------- snipp ------------->
amuled-amule.o(.text+0x6f7a):/home/user/aMuled/amule-cvs/src/amule.cpp:1065: undefined reference to `wxString::Find(char, bool) const'
amuled-amule.o(.text+0x6f96):/home/user/aMuled/amule-cvs/src/amule.cpp:1066: undefined reference to `wxString::Find(char, bool) const'
amuled-amule.o(.text+0x6fe2):/home/user/aMuled/amule-cvs/src/amule.cpp:1072: undefined reference to `wxString::operator+=(char const*)'

amuled-amuled.o(.gnu.linkonce.t._ZN12wxAppConsole11GetInstanceEv+0x4): In function `wxAppConsole::GetInstance()':
/home/user/aMuled/amule-cvs/src/amuled.cpp:102: undefined reference to `wxAppConsole::ms_appInstance'
amuled-amuled.o(.gnu.linkonce.t._ZN15CamuleDaemonAppC1Ev+0x2d): In function `CamuleDaemonApp::CamuleDaemonApp[in-charge]()':
/usr/include/wx-2.5/wx/string.h:925: undefined reference to `wxMutex::wxMutex[in-charge](wxMutexType)'
amuled-amuled.o(.gnu.linkonce.t._ZN12wxAppConsole22SetInitializerFunctionEPFPS_vE+0x7): In function `wxAppConsole::SetInitializerFunction(wxAppConsole* (*)())':
/home/user/aMuled/amule-cvs/src/amuled.cpp:130: undefined reference to `wxAppConsole::ms_appInitFn'
collect2: ld returned 1 exit status
make[4]: *** [amuled] Fehler 1
make[4]: Leaving directory `/home/user/aMuled/amule-cvs/src'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/home/user/aMuled/amule-cvs/src'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory `/home/user/aMuled/amule-cvs/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/user/aMuled/amule-cvs'
make: *** [all] Fehler 2
<------------- snapp ------------->

Any clue? Is there anyone who has successfully compiled amuled on SuSE 9.2 as non-root user?

Thanx a lot for the help,
Chrille.

PS: Ehem, the directory user is a placeholder... ;)
« Last Edit: February 08, 2005, 10:55:05 PM by chrille »
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: compiling aMuled for SuSE 9.2
« Reply #1 on: February 10, 2005, 05:29:19 PM »

remove wxGTK 2.5.3 and wxBase 2.5.3 again, and install either ONE,
choose if you want wxBase or wxGTK but not both!

btw fro daemon use later!
1.st set max connections not higher then 1023,
2. disable UDP-socket in prefs, since its still buggy and makes amuled crash

stefanero
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."

chrille

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: compiling aMuled for SuSE 9.2
« Reply #2 on: February 12, 2005, 01:27:48 PM »

Okay, that was a great hint. I removed the whole installation-directory an started all over again with wxBase-2.5.3 only.

After resolving some compilation errors with the dev-Team on the amule-irc-channel, amuled (the amule command-line-server) is up and running.

I compiled it with
Code: [Select]
./configure --prefix=/home/amule/aMule/ --enable-amulecmd --enable-amule-daemon --enable-webserver --disable-monolithic --with-wxbase-config=/home/amule/aMule/bin/wx-config
amuled doesn't work, if amuleweb is started from /home/amule/.emule with Enabled=1 in the [WebServer] Section. I first have to establish the amuled and afterwards I start the amuleweb. Be carefull to have the passwords defined - otherwise amuleweb is disabled.

The compilation errors, I've encountered, are not longer present in the actual CVS-release, thanx to stefanero and Kry.

Thank you for your help,
Chrille alias SlurmAddi.
« Last Edit: February 12, 2005, 01:28:33 PM by chrille »
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: compiling aMuled for SuSE 9.2
« Reply #3 on: February 12, 2005, 01:43:13 PM »

thnx for the feadback and have fun with your daemon ;)
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."