aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: compile error  (Read 4901 times)

angusmax

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
compile error
« on: October 04, 2004, 04:28:54 PM »

I know this is a Linux forum, but maybe someone can help me anyway...

I'm trying to compile aMule under Solaris 9 (for SPARC).

I have no problems with the required auxiliary packages:

_ wxGTK
_ wxBase
_ crypto

but when I get to compiling aMule, giving the command:

./configure --disable-debug --enable-optimise && make

the process aborts with the following error:

---------------------------------------------------------
[...]
/bin/sh ./config.charset 'sparc-sun-solaris2.9' > t-charset.alias
mv t-charset.alias charset.alias
sed -e '/^#/d' -e 's/@''PACKAGE''@/amule/g' ref-add.sin > t-ref-add.sed
mv t-ref-add.sed ref-add.sed
sed -e '/^#/d' -e 's/@''PACKAGE''@/amule/g' ref-del.sin > t-ref-del.sed
mv t-ref-del.sed ref-del.sed
make[2]: Leaving directory `/export/home/max/aMule-2.0.0rc6/intl'
Making all in po
make[2]: Entering directory `/export/home/max/aMule-2.0.0rc6/po'
rm -f en_GB.gmo && : -c --statistics -o en_GB.gmo en_GB.po
mv: impossibile accedere a t-en_GB.gmo
make[2]: *** [en_GB.gmo] Error 2
make[2]: Leaving directory `/export/home/max/aMule-2.0.0rc6/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/max/aMule-2.0.0rc6'
make: *** [all] Error 2
---------------------------------------------------------


Can anybody help me?

Thanks.

    Max
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: compile error
« Reply #1 on: October 04, 2004, 05:54:37 PM »

well you need gettext install it...maybe that will get you further...

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

angusmax

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: compile error
« Reply #2 on: October 05, 2004, 04:33:29 PM »

I've installed gettext and I've got some further...

The error is now:

-----------------------------------------
[...]
/usr/include/wx/datetime.h:1563: declaration of C function `wxDateSpan
   operator*(const wxDateSpan&, int)' conflicts with
/usr/include/wx/datetime.h:1482: previous declaration `wxTimeSpan
   operator*(int, const wxTimeSpan&)' here
/usr/include/wx/datetime.h: In function `wxDateSpan operator*(int, const
   wxDateSpan&)':
/usr/include/wx/datetime.h:1568: declaration of C function `wxDateSpan
   operator*(int, const wxDateSpan&)' conflicts with
/usr/include/wx/datetime.h:1563: previous declaration `wxDateSpan
   operator*(const wxDateSpan&, int)' here
make[6]: *** [wxcas-onlinesig.o] Error 1
make[6]: Leaving directory `/export/home/max/aMule-2.0.0rc6/src/utils/wxCas/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/export/home/max/aMule-2.0.0rc6/src/utils/wxCas'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/export/home/max/aMule-2.0.0rc6/src/utils'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/export/home/max/aMule-2.0.0rc6/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/export/home/max/aMule-2.0.0rc6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/max/aMule-2.0.0rc6'
make: *** [all] Error 2
-----------------------------------------


:-(

Max
Logged

thepolish

  • Hero Member
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 896
Re: compile error
« Reply #3 on: October 05, 2004, 04:47:29 PM »

Maybe your version of wx is not working with solaris ?

can you compile a more recent one and check ?

Thepolish
Logged
Only after the last tree has been cut down
Only after the last river has been poisoned
Only after the last fish has been caught
Only then you will find out that money cannot be eaten
(Cree Prophecy)

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: compile error
« Reply #4 on: October 05, 2004, 04:55:09 PM »

hey I type to slow ;)

same thought here...

and btw NO wxBase is needed anymore!

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

angusmax

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: compile error
« Reply #5 on: October 06, 2004, 08:43:25 AM »

I have wxGTK 2.4.2, which is the latest stable release...
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: compile error
« Reply #6 on: October 06, 2004, 08:56:30 AM »

so uninstall it and install maybe 2.5.2, since your error seams to be a wxGTK error...maybe then your amule will compile aswell

compile wxGTK with --enable-optimize --disable-debug --prefix=/usr/

and then try to compile amule again..

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

angusmax

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: compile error
« Reply #7 on: October 07, 2004, 03:38:37 PM »

I've tried with wxGTK 2.5.2.
Same error....
Logged

thepolish

  • Hero Member
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 896
Re: compile error
« Reply #8 on: October 07, 2004, 04:14:54 PM »

Hi,

Try to ask on #wxwidgets channel on Freenode ...

Thepolish
Logged
Only after the last tree has been cut down
Only after the last river has been poisoned
Only after the last fish has been caught
Only then you will find out that money cannot be eaten
(Cree Prophecy)