Compiling WXWidgets so Audacity .configure will work - how?
Linux - SoftwareThis 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
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.
while following the GTK compilation guide in the wxWidgets package source directory.
I. e. 2.4 compatibility IS specified...
I have configured, compiled, and installed it without any errors.
However, when trying to compile Audacity (checked out of CVS at 16:00 GMT+2 on 2009-05-19), its configure aborts with this message:
Code:
[rylan@development audacity]$ ./configure
.
.
.
checking for zip... /usr/bin/zip
checking for wx-config... /usr/local/bin/wx-config
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!
[rylan@development audacity]$
How can I get Audacity to compile with a newer wxWidgets than 2.4.x ?
If that's not possible, where can I get hold of such an old wxWidgets source version?
Or is the audacity ./configure for recent checked-out versions just broken for newer wxWidgets versions? I could not get an official distribution of the Audacity source, due to SF being down at 16:00 GMT+2 on 2009-05-19...
Ive been there.You need the newer version of audacity which will compile with the wxwidgets you have installed.Version 1.3 is still a beta but I havent had any problems running it.
It compiles on FC 6 just fine at work, but on my FC 10 system at home no version of FLAC will compile - damn damn damn!
Seems like the GCC version that ships with FC 10 is incompatible with some of the C++ syntax in FLAC... so no Audacity on FC10 for me. I did try several versions of FLAC, all fail to compile, and thusly Audacity won't compile.
Thanks for the reply! I'll need to get them from home as I'm using FC6 at work (yup... I like old, obsolete stuff). What is interesting is that FLAC compiles just fine here (at work, on FC6) but FC10 (which of course has a newer GCC) it doesn't.
Hi Stefan,
This is very strange. I just compiled version 1.3.7(beta) of Audacity and here is the relevant part of the config.log file:
Code:
configure:5155: checking for wx-config
configure:5174: found /usr/local/bin/wx-config
configure:5187: result: /usr/local/bin/wx-config
configure:5210: Checking that the chosen version of wxWidgets is 2.8.x
As you see there is no problem with wx version 2.8. I would guess that a snapshot is even more recent than a beta version. I don't understand why only an older version of wx is supported in a snapshot. Have I misunderstood something?
cheers,
jdk
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,521
Rep:
The configure script is fairly generic. All programs that use a configure script are similarly configured. Configure is generated by another program, autoconf. It continuously checks in different places for dependencies, and when it finds them all, it quits. But configure lists a lot of things the software package it is configuring may or may not understand. So, because the configure output lists wxwidgets 2.8.x, does not mean the software package being configured can use wxwidgets 2.8.x. It just means your system is telling the configure script to use that version.
You can force configure to use a certain package, like this:
./configure --with-PACKAGE=yes, where package is something like: wxwidgets2.8. So, configure only knows what it gleans from the system.
The configure script is fairly generic. All programs that use a configure script are similarly configured. Configure is generated by another program, autoconf. It continuously checks in different places for dependencies, and when it finds them all, it quits. But configure lists a lot of things the software package it is configuring may or may not understand. So, because the configure output lists wxwidgets 2.8.x, does not mean the software package being configured can use wxwidgets 2.8.x. It just means your system is telling the configure script to use that version.
You can force configure to use a certain package, like this:
./configure --with-PACKAGE=yes, where package is something like: wxwidgets2.8. So, configure only knows what it gleans from the system.
Be that as it may, there was no problem compiling audacity version 1.3.7 using wxwidgets 2.8.x.
jdk
I don't see why they keep the old audacity around, it just confuses people. Just mark it as "old" and go with the new one. In fact, the new version has been out for many years, why haven't they moved along ...
H_Tex_Mex_H's fix worked, I just removed the demo and test folders from the SUBDIRS line in the FLAC makefile, and FLAC compiled fine on my FC10 setup.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.