wxWidgets not installed?
Hi there everyone.
I am a fresh newbie to Linux and just installed the Slackware(running xfce) in my laptop. It's running just perfect on it, and LOVE IT. However, when I tried to install the software aMule in my machine, I got a message from slackbuild: 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.12 or above. So, I downloaded the wxWidgets 2.9 and recompiled / ldconfiged it. And re-installed the aMule again. But still, I got the same error message! I am sure the wxWidgets has been installed because I could run wx-config command and it is in the $PATH! What else should I do to fix it? Thank guys. |
Hi,
welcome to LQ and this Slackware forum. I suppose that you use a SlackBuild from slackbuilds.org, and that you are running Slackware 14, right? Did you install the the dependencies mentioned on this page? Also, Some SlackBuilds for 13.37 don't work for 14.0 and that could be the case for this one (I didn't try). Then better simply wait for the SlackBuilds intended for Slackware 14.0 to be released, this could take a few days. Now if you are running Slackware 13.37, better inform the maintainer of the script or post in slackbuild.org's mailing list. |
Use wxGTK 2.8.x instead of going with the development release of 2.9.x
|
Quote:
Thx anyway. |
Quote:
|
Oh.... btw, I've found that the amule installation is looking for wxWidgets in /user/bin. But the slackbuild put the wxWidgets in /usr/local/bin. How can I tell slackbuild to install the lib in the right place?
Thx. |
Where did you get the SlackBuild for wxWidgets?
|
You should pass the option --prefix=/usr to the configure script.
|
Quote:
it builds fine with SlackBuilds |
Quote:
Code:
CFLAGS="$SLKCFLAGS" \ |
Quote:
Quote:
Quote:
My problem isn't the wxWidgets installation. It installed just fine to me(I guess). But when I installed the application aMule from slackbuild, it said no wxWidgets installed. I think the problem should be aMule installation, not wxWidgets. Quote:
Thx guys. |
can it be you got a previous install of wxWidgets from sources laying around?
can you show us the content of the wx* package you have installed? Its file list is in /var/log/packages/wx* |
Quote:
Also, post the link on slackbuilds.org where you downloaded it from. |
Quote:
Did you use the latest version of aMule? |
Quote:
I installed the wxGTK this morning and things seemed ok for wxWidgets. Quote:
Quote:
But there is another error: checking for crypto++ version >= 5.1... no configure: error: Could not find crypto++ header file "cryptlib.h". Please try again with --with-crypto-prefix=/my_crypto_prefix (replace /my_crypto_prefix with a valid path to your crypto++ installation directory). I googled the error message and it seems like something about GCC compiler. Should I install avr-gcc from SlackBuilds? Or should I apply the new gcc patch (and how to do it in Slackware)? Thx guys. |
All times are GMT -5. The time now is 01:20 PM. |