SlackwareThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I wonder if anyone could help me with compiling wxGTK and audacity.
I am using the scripts from slackbuilds.org. When I try to compile wxGTK I get the following error message:
Code:
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.
I do have the slack package of gtk+2 installed and I have added the mentioned libraries to LD_LIBRARY_PATH.
Then I decided, for lack of time, to try the wxGTK package on linuxpackages.net, but only 2.8.x versions are available there, and when compiling audacity, again with the slackbuild from slackbuilds.org, it complains that it wants 2.6.x.
Hmmm... I'm trying to compile audacity 1.3.2. Sourceforge shows a version of wxGTK (2.8.4) released May 18, 2007. (cut to Holy Grail: "I'm not dead yet" ;-)
Hmmm... I'm trying to compile audacity 1.3.2. Sourceforge shows a version of wxGTK (2.8.4) released May 18, 2007. (cut to Holy Grail: "I'm not dead yet" ;-)
This system has DLG installed, but other than that it is a clean Slackware 11.0 system. I did try removing DLG's gtk+ and reinstalling Slack's, but that didn't help. I am using the slackbuilds from the url's you quote.
I did get it to compile some months back on my more experimental laptop system, and I have installed the packages I created on my clean system. It works fine. Never-the-less, I'd really like to understand why wxGTK cannot find the libraries which are certainly installed, and why the compile fails on this system.
Try using wxwidgets instead. Audacity compiles fine with wxwidgets because I just tried it.. Besides, it's the same thing really as wxgtk.. I am however using the latest 2.6 version of wxwidgets because vlc doesn't like 2.8..
I know what the problem is you need wxcairo maybe a couple of other deps
No, that's incorrect. Audacity will compile just fine with only wxGTK added to a vanilla Slackware 11.0 system.
I wish I had some other insight into what might be the actual problem with the OP's system, but I don't. However, I do know that your proposed solution is not it.
Try using wxwidgets instead. Audacity compiles fine with wxwidgets because I just tried it.. Besides, it's the same thing really as wxgtk.. I am however using the latest 2.6 version of wxwidgets because vlc doesn't like 2.8..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.