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: help compiling amuled and amuleweb under Fedora 4  (Read 9473 times)

someuser77

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
help compiling amuled and amuleweb under Fedora 4
« on: January 21, 2006, 06:50:11 PM »

I use Fedora Core 4 and i want to use amuled and amuleweb instead of the GUI.
I downloaded aMule 2.1.0 source but it says i have to recompile wxWidgets, how do i do that?
Code: [Select]
$ ./configure --enable-amulecmd --enable-webserver --disable-monolithic --enable-amule-daemon --enable-amuleweb
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target 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 whether make sets $(MAKE)... (cached) 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 egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for zlib >= 1.1.4... yes (version 1.2.2.2)
checking for gdlib-config... /usr/bin/gdlib-config
checking for gdlib version >= 2.0.0... yes (version 2.0.33)
checking gd.h usability... yes
checking gd.h presence... yes
checking for gd.h... yes
checking for libpng-config... /usr/bin/libpng-config
checking for libpng version >= 1.2.0... yes (version 1.2.8)
checking for gd.h... (cached) yes
checking whether we need the GUI... no
checking for wx-config... no
checking that wxWidgets has support for large files... no
configure: error:
                Support for large files in wxWidgets is required by aMule.
                To continue you must recompile wxWidgets with support for
                large files enabled.

ls -l /usr/bin/wx* and ls -l /usr/local/bin/wx* returns "No such file or directory".
Code: [Select]
$ rpm -qa | grep wx
wxGTK-2.4.2-12
wxGTK-common-2.4.2-12
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: help compiling amuled and amuleweb under Fedora 4
« Reply #1 on: January 21, 2006, 07:40:47 PM »

You need wx 2.6 at least
Logged

someuser77

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
Re: help compiling amuled and amuleweb under Fedora 4
« Reply #2 on: January 21, 2006, 07:49:18 PM »

so i simply need to compile wxgtk 2.6?
do i need to secify something to ./configure?
simply ./configure, make and make install?
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: help compiling amuled and amuleweb under Fedora 4
« Reply #3 on: January 21, 2006, 08:18:25 PM »

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

someuser77

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
Re: help compiling amuled and amuleweb under Fedora 4
« Reply #4 on: January 21, 2006, 09:04:16 PM »

HowTo Compile aMuled says i must have wxGTK >=2.5.4
Code: [Select]
$ rpm -qa | grep wx
wxBase-2.4.2-1
wxGTK-2.6.2-0.2.2.fc4
Code: [Select]
./configure --enable-amulecmd --enable-webserver --disable-monolithic --enable-amule-daemon --enable-amulewebreturns the error above. how do i recompile exWidgets with the correct setup?
i installed everything from rpms.
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: help compiling amuled and amuleweb under Fedora 4
« Reply #5 on: January 21, 2006, 09:12:58 PM »

If you've disabled monolithic you'll need wxBASE 2.6.x .
The information in Wiki is probably outdated, someone has to upgrade it.
I'll take a look, in the hope not to mess everything up.
Logged

someuser77

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
Re: help compiling amuled and amuleweb under Fedora 4
« Reply #6 on: January 21, 2006, 09:25:10 PM »

is there a fedora 4 rpm i can use for wxbase so i will be able to remove it if i must?
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: help compiling amuled and amuleweb under Fedora 4
« Reply #7 on: January 22, 2006, 12:24:17 AM »

no the thing is, you can use wxBase 2.6.2 or wxGTK 2.6.2 since in wxGTK wxBase is included...

your problem is that you have wxBase 2.4.2!!!!!!!!! and wxGTK 2.6.2 installed, thats why it does not work
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."

someuser77

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
Re: help compiling amuled and amuleweb under Fedora 4
« Reply #8 on: January 22, 2006, 08:58:26 AM »

okay. i removed wxbase and ran ldconfig. still i get this error.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: help compiling amuled and amuleweb under Fedora 4
« Reply #9 on: January 22, 2006, 09:30:21 AM »

make clean && ./configure again, you cannot simple run make because it picked up the old stuff
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."

someuser77

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
Re: help compiling amuled and amuleweb under Fedora 4
« Reply #10 on: January 22, 2006, 09:22:33 PM »

make clean failed with "make: *** No rule to make target `clean'.  Stop.", configure returned the same error.
if i have wxGTK-2.6.2, are you sure it counts as "wxWidgets with support for large files enabled"?
if i install aMule from yum/rpm, can i still enable the server and the web interface?
« Last Edit: January 22, 2006, 09:29:14 PM by someuser77 »
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: help compiling amuled and amuleweb under Fedora 4
« Reply #11 on: January 22, 2006, 11:26:11 PM »

well you dont have a wx-config in /usr/bin/

otherwise it would show with

ls -la /usr/bin/wx*

maybe your installed rpm is brocken..since you also had a 2.4.2 rpm installed maybe remove all wx and only install teh 2.6.2 at teh 2nd try

then check if you get something for

ls -la /usr/bin/wx*
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."

someuser77

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
Re: help compiling amuled and amuleweb under Fedora 4
« Reply #12 on: January 23, 2006, 03:25:28 PM »

okay. i removed any wx* from rpm and i ran make clean in the wxgtk source dir.
now, when i try to install wxGTK-2.6.2-0.2.2.fc4.i386.rpm i get "file /usr/share/locale/tr/LC_MESSAGES/wxstd.mo conflicts between attempted installs of wxBase-2.4.2-1 and wxGTK-2.6.2-0.2.2.fc4" where "tr" changes to other languages aswell.
i dont see any wxstd.mo in the dir above.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: help compiling amuled and amuleweb under Fedora 4
« Reply #13 on: January 23, 2006, 04:49:56 PM »

ahhh REMOVE wxBASE!!!!!!!!!!!!!!!!
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."

someuser77

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
Re: help compiling amuled and amuleweb under Fedora 4
« Reply #14 on: January 23, 2006, 05:17:59 PM »

"rpm -qa | grep wx" returns nothing.
is there a way i can see what else is installed?
Logged
Pages: [1] 2