LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > 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
 
LinkBack Search this Thread
Old 01-21-2007, 07:18 AM   #1
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519

Rep: Reputation: 30
Error compiling Audacity: says I need wxGTK-2.4, but I do have it


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.
 
Old 01-21-2007, 02:31 PM   #2
studioj
Member
 
Registered: Oct 2006
Posts: 460

Rep: Reputation: 31
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
 
Old 01-21-2007, 05:31 PM   #3
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519

Original Poster
Rep: Reputation: 30
Oh man, I can't hack the configure script. Everything is buried deep in macros.
 
Old 01-21-2007, 05:51 PM   #4
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 2,635

Rep: Reputation: 47
Try searching Gentoo Bugzilla, I think I saw this bug there with solution.
 
Old 01-22-2007, 03:24 AM   #5
The Headacher
Member
 
Registered: Jan 2007
Distribution: Vector Linux
Posts: 90

Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problems in compiling wxGTK yumener Linux - Newbie 1 09-17-2006 09:55 AM
Audacity/Suse10.0 - 2.4version wxGTK~ needed AgedHenry Suse/Novell 2 06-19-2006 05:50 AM
Error compiling audacity vharishankar Slackware 12 04-05-2006 10:20 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


All times are GMT -5. The time now is 12:25 AM.

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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration