aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: wxWidgets on Mandriva 2007  (Read 4295 times)

nimdaclaet

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
wxWidgets on Mandriva 2007
« on: December 05, 2006, 07:29:56 PM »

I cant install wxWidgets on my new Mandriva 2007-Linux System.

Following the Instructions ( http://www.amule.org/wiki/index.php/Compilation_Installation ) i get the error when configuring wxWidgets / wxGTK
Code: [Select]
checking for GTK+ version...
checking for pkg-config... /usr/bin/pkg-config
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.

on my System there are two packages installed:
-wxGTK2.6 - GTK+ port of the wxWidgets library
-libwxgtk2.6 - Base shared library part of wxGTK
others cant be found in the mandriva software center

On this forum, an rpm for mandriva can be found, but only for the Version of 2006 ( rpm -Uvh wx-gtk2-unicode-Mandriva_2006-2.6.3-1.i586.rpm ). but this effects an error:
wxGTK kollidiert mit ( collision with) wxGTK2.6-2.6.3-7mdv2007.0.i586

ls -l /usr/bin/wx*
-rwxr-xr-x 1 root root 7640 Aug 10 22:04 /usr/bin/wxcopy*
-rwxr-xr-x 1 root root 6336 Aug 10 22:04 /usr/bin/wxpaste*

ls -l /usr/local/bin/wx*
[nothing]

rpm -qa | grep wx
wxGTK2.6-2.6.3-7mdv2007.0
libwxgtk2.6-2.6.3-7mdv2007.0

[aMule] ./config
checking for wx-config... no
configure: error:
                wxWidgets must be installed on your system but wx-config
                script couldn't be found. Please check that wx-config is
                in path or specified by --with-wx-config=path flag, the
                directory where wxWidgets libraries are installed (returned
                by 'wx-config --libs' command) is in LD_LIBRARY_PATH or
                equivalent variable and wxWidgets version is 2.6.0 or above.




So there are some parts of the wxWidgets, but i can not install more and so i cant configure / compile amule....

do yur have any hints to help me??
Thank You!
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: wxWidgets on Mandriva 2007
« Reply #1 on: December 05, 2006, 07:37:26 PM »

You're missing the GTK development package (GTK, not wxGTK).

Mandriva calls it "libgtk2.0-devel", install that.
Logged

nimdaclaet

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: wxWidgets on Mandriva 2007
« Reply #2 on: December 05, 2006, 07:42:58 PM »

hm i thought i would have all packages called gtk...

my error was:
in package-sources-manager i only had mirrors for "update_source". now i added "main updates" and "contrib updates" ans now i have a lot more packages availabe..

Thanky very munch! Now it does work!
« Last Edit: December 05, 2006, 09:33:27 PM by nimdaclaet »
Logged

fractaal

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1
Re: wxWidgets on Mandriva 2007
« Reply #3 on: September 03, 2008, 03:54:48 AM »

checking for zlib >= 1.1.4... yes (version 1.2.3)
checking for File::Copy... ok
checking whether we need the GUI... yes
checking for the --with-toolkit option... will be automatically detected
checking for the --with-wxshared option... will be automatically detected
checking for the --with-wxdebug option... will be automatically detected
checking for the --with-wxversion option... will be automatically detected
checking for wx-config... no
configure: error:
                wxWidgets must be installed on your system but wx-config
                script couldn't be found. Please check that wx-config is
                in path or specified by --with-wx-config=path flag, the
                directory where wxWidgets libraries are installed (returned
                by 'wx-config --libs' command) is in LD_LIBRARY_PATH or
                equivalent variable and wxWidgets version is 2.8.0 or above.

I'm on Mandriva Spring 2008, trying to compile aMule-2.2.2 and I'm having the same problem but none of the wxwidgets or GTK packages or devel i thereafter installed solved the problem, so for now I'm stuck here. Any tips please?
Logged

OldFrog

  • Sr. Member
  • ****
  • Karma: 31
  • Offline Offline
  • Posts: 385
Re: wxWidgets on Mandriva 2007
« Reply #4 on: September 03, 2008, 03:17:33 PM »

For Mandriva Spring 2008, the package for wx-config is libwxgtku2.8-devel-2.8.7-1mdv2008.1. It's on the DVD
Logged
Computer Science is no more about computers than astronomy is about telescopes (Edsger W. Dijkstra)