LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-20-2007, 09:43 PM   #1
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
trouble compiling wxGTK and audacity


Hi,

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.

Thanks for any help,

Brian
 
Old 06-20-2007, 10:19 PM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
If you want to compile it, I would re-install gtk+2 from the 'l' directory of the slackware install CD/DVD.

There's also a 2.6.x wxWidgets here:
http://www.slackware.com/~alien/slac...gets/pkg/10.1/
 
Old 06-20-2007, 10:36 PM   #3
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by H_TeXMeX_H
If you want to compile it, I would re-install gtk+2 from the 'l' directory of the slackware install CD/DVD.
I tried that...no luck.

Quote:
There's also a 2.6.x wxWidgets here:
http://www.slackware.com/~alien/slac...gets/pkg/10.1/
According to the README I need wxGTK.

Brian
 
Old 06-20-2007, 11:32 PM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
There is no longer such a thing as wxGTK, it has been renamed to wxWidgets.

I hope you're trying to install a reasonably new version of audacity.
 
Old 06-21-2007, 01:08 AM   #5
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Original Poster
Rep: Reputation: Disabled
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" ;-)

Brian
 
Old 06-21-2007, 01:14 AM   #6
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Quote:
Originally Posted by H_TeXMeX_H
There is no longer such a thing as wxGTK, it has been renamed to wxWidgets.
There most certainly *is* such a thing as wxGTK. The source code is hosted at the wxwidgets site.
 
Old 06-21-2007, 01:16 AM   #7
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Quote:
Originally Posted by BCarey
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" ;-)
It appears as if some core parts of your system are messed up.
I can state without reservation that the wxGTK and audacity build scripts hosted at http://slackbuilds.org will build and work just fine on a proper Slackware 11.0 system.
http://www.slackbuilds.org/repository/libraries/wxGTK/
http://www.slackbuilds.org/repositor...edia/audacity/
 
Old 06-21-2007, 10:46 AM   #8
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rworkman
It appears as if some core parts of your system are messed up.
I can state without reservation that the wxGTK and audacity build scripts hosted at http://slackbuilds.org will build and work just fine on a proper Slackware 11.0 system.
http://www.slackbuilds.org/repository/libraries/wxGTK/
http://www.slackbuilds.org/repositor...edia/audacity/
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.

Brian

Last edited by BCarey; 06-21-2007 at 10:50 AM.
 
Old 06-21-2007, 12:35 PM   #9
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
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..
 
Old 06-21-2007, 01:28 PM   #10
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by rworkman
There most certainly *is* such a thing as wxGTK. The source code is hosted at the wxwidgets site.
Oh, yes I remember now, there's also:

Code:
    * wxAll - all wxWidgets ports (other formats: bz2, zip)
    * wxMSW - installer for Windows, with manual (other formats: zip)
    * wxGTK
    * wxMac
    * wxX11
    * Other ports (Motif, OS/2, MGL, Base) and releases
So, yes there is a wxGTK, wxX11, etc.

They are still all wxWidgets ports, and all found at http://www.wxwidgets.org/
 
Old 06-21-2007, 08:16 PM   #11
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
I know what the problem is you need wxcairo maybe a couple of other deps
 
Old 06-21-2007, 08:26 PM   #12
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Quote:
Originally Posted by Boow
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.
 
Old 06-21-2007, 08:28 PM   #13
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
On second thought: does /usr/lib/pkgconfig/gtk+-2.0.pc exist on your system?

Can you put the config.log somewhere on the net and post a link to it here - I'd like to see that.
 
Old 06-22-2007, 09:11 AM   #14
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jong357
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'll try it this weekend and let you know.

Thanks,
Brian
 
Old 06-22-2007, 09:26 AM   #15
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rworkman
On second thought: does /usr/lib/pkgconfig/gtk+-2.0.pc exist on your system?
Yes, I do.

Quote:

Can you put the config.log somewhere on the net and post a link to it here - I'd like to see that.
Do you need to see the whole thing? The error messages regarding GTK found in the config.log are the same as I posted at the beginning.

Brian
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't get Audacity running, wxGTK misconfigured anon104 Linux - Software 2 05-05-2007 06:52 AM
Error compiling Audacity: says I need wxGTK-2.4, but I do have it vasudevadas Linux - Software 4 01-22-2007 03:24 AM
Audacity/Suse10.0 - 2.4version wxGTK~ needed AgedHenry SUSE / openSUSE 2 06-19-2006 05:50 AM
problem installing wxGTK for audacity lnebrown Linux - Software 1 01-31-2005 01:30 PM
Problems while compiling wxGTK ! Cdzin Slackware 3 08-08-2003 03:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration