aMule Forum

English => en_Linux => Topic started by: ice on August 03, 2004, 02:23:11 PM

Title: error compilation
Post by: ice on August 03, 2004, 02:23:11 PM
I'm trying to install aMule 2.0.0 rc5. I have installed Linux 2.4.19 (SuSE 8.1).

When I compile aMule I get this error:

wxcas.cpp 47:2: #error You must set wxUSE_PRINTING_ARCHITECTURE to 1 in setup.h to compile wxCas.

I looked in my setup.h and I have this macro set to 1.

What is happening?

Thanks.
Title: Re: error compilation
Post by: deltaHF on August 03, 2004, 02:25:20 PM
just --disable-wxcas in your configure flags .. and do u use wxgtk rpms from us or from suse?
Title: new problem
Post by: ice on August 03, 2004, 06:19:55 PM
I have tried --disable-wxcas and now I have a new error:

In file included from alc.h:47,
                 from alc.cpp:44:
alcframe.h:59: base class `wxFrame' has incomplete type
alcframe.h:61: syntax error before `*' token
alcframe.h:62: parse error before `[' token
alcframe.h:64: syntax error before `*' token
alcframe.h:66: syntax error before `*' token
alcframe.h:67: syntax error before `*' token

....
Title: Re: error compilation
Post by: deltaHF on August 03, 2004, 06:25:37 PM
./configure --help ;)

--disable-alc --disable-alcc
Title: Re: error compilation
Post by: stefanero on August 03, 2004, 06:28:56 PM
hey
and check that you have wxGTK and wxBase RPMs from this page here, also cryptopp since you try to install rc5....

!!also dont forget the 2symlinks!!

stefanero
Title: error
Post by: ice on August 03, 2004, 06:36:30 PM
To deltaHF:

Why I have to disable this options? What does they do ?

To Stefanero:

I have downloaded  wxGTK sources from sourceforge.net and I have comiled and installed it. It works for other aplications like xmule.
Title: sorry
Post by: ice on August 03, 2004, 06:40:04 PM
To Stefanero:

I forget something, What is 2symlinks?
Title: RE: sorry
Post by: deltaHF on August 03, 2004, 06:48:25 PM
Quote
Why I have to disable this options? What does they do ?

in src/utils are all the tools incl. readme files ;)

Quote
Originally posted by ice
To Stefanero:

I forget something, What is 2symlinks?

take a look at the howto, wxbase step -> http://www.amule.org/amule/howto.php

and u could get pb's compiling amule >= rc4 with gcc 2.95.x

btw:

ls -l /usr/bin/wx*
ls -l /usr/local/bin/wx*
Title: Re: error compilation
Post by: stefanero on August 03, 2004, 07:08:22 PM
and xmule has nothing other then the app itself

we provide a lot of extra programms with aMule, and they need some base libs from wxGTK.
and that is why you alos need wxBase installed....

if you have everything installed you should also not need to disable them anymore in configure....

only problem could be your gcc then...

stefanero
Title: version 1.2.8 neither work
Post by: ice on August 04, 2004, 01:55:59 PM
I have tried with version 1.2.8 and I have similar problems.

My gcc version is 3.2.36.

I have installed wxGTK in /usr/local, not in /usr . Is this a problem? Configure detects it well.

What's happening?
Title: Re: error compilation
Post by: stefanero on August 04, 2004, 03:37:35 PM
yes it is a problem ;)

remove the one from /usr/local

if you have a problem queck our faq on how to remove wxGTk

stefanero
Title: Re: error compilation
Post by: deltaHF on August 05, 2004, 09:08:55 PM
and? could u compile it?