aMule Forum

English => en_Linux => Topic started by: angusmax on October 04, 2004, 04:28:54 PM

Title: compile error
Post by: angusmax 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
Title: Re: compile error
Post by: stefanero on October 04, 2004, 05:54:37 PM
well you need gettext install it...maybe that will get you further...

stefanero
Title: Re: compile error
Post by: angusmax 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
Title: Re: compile error
Post by: thepolish 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
Title: Re: compile error
Post by: stefanero on October 05, 2004, 04:55:09 PM
hey I type to slow ;)

same thought here...

and btw NO wxBase is needed anymore!

stefanero
Title: Re: compile error
Post by: angusmax on October 06, 2004, 08:43:25 AM
I have wxGTK 2.4.2, which is the latest stable release...
Title: Re: compile error
Post by: stefanero 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
Title: Re: compile error
Post by: angusmax on October 07, 2004, 03:38:37 PM
I've tried with wxGTK 2.5.2.
Same error....
Title: Re: compile error
Post by: thepolish on October 07, 2004, 04:14:54 PM
Hi,

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

Thepolish