aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: error compilation  (Read 4467 times)

ice

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
error compilation
« 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.
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: error compilation
« Reply #1 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?

ice

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
new problem
« Reply #2 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

....
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: error compilation
« Reply #3 on: August 03, 2004, 06:25:37 PM »

./configure --help ;)

--disable-alc --disable-alcc

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: error compilation
« Reply #4 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
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."

ice

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
error
« Reply #5 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.
Logged

ice

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
sorry
« Reply #6 on: August 03, 2004, 06:40:04 PM »

To Stefanero:

I forget something, What is 2symlinks?
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
RE: sorry
« Reply #7 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*

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: error compilation
« Reply #8 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
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."

ice

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
version 1.2.8 neither work
« Reply #9 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?
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: error compilation
« Reply #10 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
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."

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: error compilation
« Reply #11 on: August 05, 2004, 09:08:55 PM »

and? could u compile it?