LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Thread Tools
Old 01-21-2007, 08:18 AM   #1
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519
Thanked: 0
Error compiling Audacity: says I need wxGTK-2.4, but I do have it


[Log in to get rid of this advertisement]
The configure output says this:

Code:
source@radhagovinda:/usr/local/src/audacity-src-1.2.6$ ./configure
checking for gcc... gcc
<successful checks snipped>
checking for wx-config... /usr/local/bin/wx-config
Usage: wx-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--static]
                 [--libs] [--gl-libs]
                 [--cppflags] [--cflags] [--cxxflags] [--ldflags] [--rezflags]
                 [--cc] [--cxx] [--ld]
                 [--inplace]

wx-config returns configuration information about the installed
version of wxWindows. It may be used to query its version and
installation directories and also retrieve the C and C++ compilers
and linker which were used for its building and the corresponding
flags.

The --inplace flag allows wx-config to be used from the wxWindows
build directory and output flags to use the uninstalled version of
the headers and libs in the build directory.  (Currently configure
must be invoked via a full path name for this to work correctly.)
configure: Checking that the installed version of wxWidgets is 2.4.x
configure: error: Unable to locate a suitable configuration of wxWidgets v2.4.x.
The currently available configurations are listed below.  If necessary, either
install the package for your distribution or download the 2.4.x version of
wxWidgets from http://wxwidgets.org.
To help configure find the right version set WX_CONFIG to point to it.
wxWidgets 2.5.x and 2.6.x are NOT supported!
But I do have wxwidgets for GTK, version 2.4:

Code:
source@radhagovinda:/usr/local/src/audacity-src-1.2.6$ which wx-config
/usr/local/bin/wx-config
source@radhagovinda:/usr/local/src/audacity-src-1.2.6$ wx-config --version
2.4.0
Okay, so it says I need to set WX_CONFIG to 'point to it.' Obviously it is referring to an environment variable. But set it to point at what??

I've compiled Audacity from source before but never had this trouble in the past. This is Slackware 11, btw.
vasudevadas is offline     Reply With Quote
Old 01-21-2007, 03:31 PM   #2
studioj
Member
 
Registered: Oct 2006
Posts: 460
Thanked: 0
the environtmental variable is for pointing to wx-config
its just a link so if you have multiples you can point to others witht he shell variable

it looks like you need to fix the configure script
the usage dump from wx-config means it has recieved an invalid parameter.

look at the script
if i remember right it says something like
Code:
if which wx-config &> /dev/null && wx-config --unicode &> /dev/null; then
just try changing it to
Code:
if which wx-config &> /dev/null; then
or something like that
studioj is offline     Reply With Quote
Old 01-21-2007, 06:31 PM   #3
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519
Thanked: 0

Original Poster
Oh man, I can't hack the configure script. Everything is buried deep in macros.
vasudevadas is offline     Reply With Quote
Old 01-21-2007, 06:51 PM   #4
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 2,632
Thanked: 2
Try searching Gentoo Bugzilla, I think I saw this bug there with solution.
Emerson is offline     Reply With Quote
Old 01-22-2007, 04:24 AM   #5
The Headacher
Member
 
Registered: Jan 2007
Distribution: Vector Linux
Posts: 90
Thanked: 0
Looks to me like wx-gtk should've been built with prefix=/usr for audacity 1.2.x to work ...

I used a later wxGTK package from my distribution and installed audacity 1.3.2 beta instead.
The Headacher is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
problems in compiling wxGTK yumener Linux - Newbie 1 09-17-2006 10:55 AM
Audacity/Suse10.0 - 2.4version wxGTK~ needed AgedHenry Suse/Novell 2 06-19-2006 06:50 AM
Error compiling audacity hs123 Slackware 12 04-05-2006 11:20 AM
problem installing wxGTK for audacity lnebrown Linux - Software 1 01-31-2005 02:30 PM
Problems while compiling wxGTK ! Cdzin Slackware 3 08-08-2003 04:55 PM


All times are GMT -5. The time now is 07:57 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration