Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
Due to network maintenance being performed by our provider, LQ will be down starting at 05:01 AM UTC. The exact duration of the downtime isn't currently known. We apologize for the inconvenience.
|
 |
|
09-30-2012, 11:44 PM
|
#1
|
|
Member
Registered: Sep 2012
Location: Hong Kong
Distribution: Slackware14 (3.7)
Posts: 51
Rep: 
|
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.
Last edited by 688a; 10-01-2012 at 12:00 AM.
Reason: Wrong spelling
|
|
|
|
10-01-2012, 12:34 AM
|
#2
|
|
Senior Member
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware-14.0 on a Lenovo T61 6457-4XG
Posts: 2,787
|
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.
|
|
|
|
10-01-2012, 02:24 AM
|
#3
|
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 1,860
|
Use wxGTK 2.8.x instead of going with the development release of 2.9.x
|
|
|
1 members found this post helpful.
|
10-01-2012, 09:15 PM
|
#4
|
|
Member
Registered: Sep 2012
Location: Hong Kong
Distribution: Slackware14 (3.7)
Posts: 51
Original Poster
Rep: 
|
Quote:
Originally Posted by Didier Spaier
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.
|
Thx dude. Yes mine is 14. I am pretty new and don't really understand how to set all these variables in the link you mentioned. And more questions are coming along when I start using it, such as no audio etc... I think I need to read the SlackDocs again more carefully.
Thx anyway.
|
|
|
|
10-01-2012, 09:16 PM
|
#5
|
|
Member
Registered: Sep 2012
Location: Hong Kong
Distribution: Slackware14 (3.7)
Posts: 51
Original Poster
Rep: 
|
Quote:
Originally Posted by willysr
Use wxGTK 2.8.x instead of going with the development release of 2.9.x
|
I got no luck on 2.8.x!
|
|
|
|
10-01-2012, 09:22 PM
|
#6
|
|
Member
Registered: Sep 2012
Location: Hong Kong
Distribution: Slackware14 (3.7)
Posts: 51
Original Poster
Rep: 
|
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.
|
|
|
|
10-01-2012, 11:07 PM
|
#7
|
|
Member
Registered: Jul 2010
Distribution: Slackware
Posts: 125
Rep:
|
Where did you get the SlackBuild for wxWidgets?
|
|
|
|
10-01-2012, 11:42 PM
|
#8
|
|
Member
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware 13.37, Pardus 2011.2
Posts: 884
Rep:
|
You should pass the option --prefix=/usr to the configure script.
|
|
|
|
10-02-2012, 12:16 AM
|
#9
|
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 1,860
|
Quote:
Originally Posted by 688a
I got no luck on 2.8.x!
|
what do you mean no luck?
it builds fine with SlackBuilds
|
|
|
|
10-02-2012, 02:41 AM
|
#10
|
|
Member
Registered: Jan 2011
Distribution: Slackware 14.0
Posts: 94
Rep:
|
Quote:
Originally Posted by 688a
But the slackbuild put the wxWidgets in /usr/local/bin. How can I tell slackbuild to install the lib in the right place?
Thx.
|
As others have already asked, are you using the wxGTK package from SlackBuild.org( http://slackbuilds.org/repository/13...braries/wxGTK/)? I have wxGTK 2.8.12 on 13.37; it installed flawlessly in /usr; I don't think that SlackBuilds from SlackBuild.org install using the /usr/local prefix.
Code:
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--enable-shared \
--with-opengl \
--${_do_unicode}able-unicode \
--build=$ARCH-slackware-linux$ARCHQUADLET
|
|
|
|
10-02-2012, 11:56 AM
|
#11
|
|
Member
Registered: Sep 2012
Location: Hong Kong
Distribution: Slackware14 (3.7)
Posts: 51
Original Poster
Rep: 
|
Quote:
Originally Posted by Ilgar
You should pass the option --prefix=/usr to the configure script.
|
I'll try later.
Quote:
Originally Posted by bnguyen
Where did you get the SlackBuild for wxWidgets?
|
I got mine from slackbuilds.org!
Quote:
Originally Posted by willysr
what do you mean no luck?
it builds fine with SlackBuilds
|
Sorry about my English and it got you guys confused.
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:
Originally Posted by fgcl2k
As others have already asked, are you using the wxGTK package from SlackBuild.org( http://slackbuilds.org/repository/13...braries/wxGTK/)? I have wxGTK 2.8.12 on 13.37; it installed flawlessly in /usr; I don't think that SlackBuilds from SlackBuild.org install using the /usr/local prefix.
Code:
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--enable-shared \
--with-opengl \
--${_do_unicode}able-unicode \
--build=$ARCH-slackware-linux$ARCHQUADLET
|
I don't know. I didn't change any codes anything. I just followed the instruction and installed the software. I don't know why the slackbuild put the things in the /usr/local! When I used "which wx-config", it showed /usr/local/bin. Is that meant to be in there?!
Thx guys.
Last edited by 688a; 10-02-2012 at 12:04 PM.
|
|
|
|
10-02-2012, 12:12 PM
|
#12
|
|
Senior Member
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 1,950
|
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*
Last edited by ponce; 10-02-2012 at 12:15 PM.
|
|
|
|
10-02-2012, 01:06 PM
|
#13
|
|
Member
Registered: Jul 2010
Distribution: Slackware
Posts: 125
Rep:
|
Quote:
Originally Posted by 688a
I'll try later.
I got mine from slackbuilds.org!
|
Please be specific, did you use wxX11, wxGTK or wxPython?
Also, post the link on slackbuilds.org where you downloaded it from.
|
|
|
|
10-02-2012, 06:55 PM
|
#14
|
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 1,860
|
Quote:
Originally Posted by ponce
can it be you got a previous install of wxWidgets from sources laying around?
|
I'm thinking the same idea, but even with source installation, the aMule should be able to find wxWidgets
Did you use the latest version of aMule?
|
|
|
|
10-02-2012, 09:56 PM
|
#15
|
|
Member
Registered: Sep 2012
Location: Hong Kong
Distribution: Slackware14 (3.7)
Posts: 51
Original Poster
Rep: 
|
Quote:
Originally Posted by bnguyen
Please be specific, did you use wxX11, wxGTK or wxPython?
Also, post the link on slackbuilds.org where you downloaded it from.
|
I just did the searching on the SlackBuilds.org.
I installed the wxGTK this morning and things seemed ok for wxWidgets.
Quote:
Originally Posted by ponce
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 sin /var/log/packages/wx*
|
Quote:
Originally Posted by willysr
I'm thinking the same idea, but even with source installation, the aMule should be able to find wxWidgets
Did you use the latest version of aMule?
|
OK guys. I've got this through. I installed 14.0 verison of the wxGTK from SlackBuilds.org and it's now ok. (14.0 version can't be searched yesterday, must be newly added)
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.
Last edited by 688a; 10-02-2012 at 09:57 PM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:50 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|