aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: wxBase compilation problems with GTK  (Read 3555 times)

Galaxy07

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
wxBase compilation problems with GTK
« on: August 13, 2006, 10:21:25 PM »

Hello!
I'm trying to compily the aMule-demon on linux.
When I try to compile wxBase, I get

 ./configure --prefix=$HOME
...
checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error:
The development files for GTK+ were not found. For GTK+ 2, please
ensure that pkg-config is in the path and that gtk+-2.0.pc is
installed. For GTK+ 1.2 please check that gtk-config is in the path,
and that the version is 1.2.3 or above. Also check that the
libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
--libs' are in the LD_LIBRARY_PATH or equivalent.

In fact, where is no gtk+-2.0.pc on the system. But there is a directory /usr/lib/gtk-2.0/, with subdirectories 2.4.0  and modules. I don't have root access to the system, so I can't simply reinstall GTK+.

So, what's wrong here, and am I still able to compile the aMule-demon on that system?

Greetings,
Galaxy
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: wxBase compilation problems with GTK
« Reply #1 on: August 14, 2006, 12:38:59 AM »

you need to put --disable-gui in the configure flags. Check the wiki next time...
Logged

Galaxy07

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: wxBase compilation problems with GTK
« Reply #2 on: August 14, 2006, 08:59:14 PM »

Thanks!
Which wiki page do you mean? I used http://www.amule.org/wiki/index.php/HowTo_Compile_aMuled

Sorry, an other question: now I get

./configure --prefix=$HOME --disable-gui
...
config.status: creating lib/wx/config/base-ansi-release-2.7
config.status: creating lib/wx/config/inplace-base-ansi-release-2.7
config.status: creating version-script
config.status: error: cannot find input file: Makefile.in

So where is the Makefile, I could not find any... (wxBASE 2.7.0-1)
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: wxBase compilation problems with GTK
« Reply #3 on: August 18, 2006, 02:43:57 PM »

your compiling wxBase atm right??? not amule?? or am I wrong here...
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."

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: wxBase compilation problems with GTK
« Reply #4 on: August 20, 2006, 09:03:30 AM »

Galaxy07, this is a packaging error in the wxBASE-2.7.0-1 package. Get the Makefile.in from the wxGTK or wxALL package. You may also want to file a bug report to the wxWidgets developers.
Logged
concordia cum veritate

Galaxy07

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: wxBase compilation problems with GTK
« Reply #5 on: August 21, 2006, 06:44:07 PM »

Ok, thanks! I wrote a bug report.
Logged