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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
11-06-2005, 07:44 PM
|
#1
|
Member
Registered: Jun 2004
Distribution: OpenSuSE, CentOS, Linux From Scratch
Posts: 40
Rep:
|
Can't get Audacity to compile
Hi,
I'm trying to get Audacity to compile, but I keep getting the following error message:
Code:
effects/ToneGen.cpp: In function �wxSizer* CreateToneGenDialog(wxWindow*, bool, bool)�:
effects/ToneGen.cpp:283: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
/usr/local/include/wx-2.6/wx/gtk/choice.h:34: note: candidate 1: wxChoice::wxChoice(wxWindow*, wxWindowID, const wxPoint&, const wxSize&, int, const wxString*, long int, const wxValidator&, const wxString&)
/usr/local/include/wx-2.6/wx/gtk/choice.h:46: note: candidate 2: wxChoice::wxChoice(wxWindow*, wxWindowID, const wxPoint&, const wxSize&, const wxArrayString&, long int, const wxValidator&, const wxString&)
make[1]: *** [obj/effects/ToneGen.o] Error 1
make[1]: Leaving directory `/sources/Audio/audacity-src-1.2.3/src'
make: *** [audacity] Error 2
Does anybody have any idea what this means, or how to resolve the problem? (I'm using SuSE 10.0 with an i386_64 architecture)
I have wxGTK 2.6.1.0-4 installed (I think wxGTK is part of my problem)
|
|
|
11-06-2005, 09:43 PM
|
#2
|
Senior Member
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054
Rep:
|
Quote:
The wxWidgets library is required. Audacity 1.2 needs wxGTK 2.4, compiled without the gtk2 or unicode options. (Future versions of Audacity will support newer wxWidgets and GTK libraries.)
|
The way it's worded, i would fathom a guess that your version of wxGTK is too high, which is screwed if you have other programs that require the version of wxGTK you have already...
|
|
|
11-06-2005, 09:44 PM
|
#3
|
LQ Newbie
Registered: Oct 2005
Location: Atlanta, GA
Distribution: Fedora 14
Posts: 12
Rep:
|
Sounds like there are issues with the code. Maybe you got a bad download. You can try download it again and checking the MD5 checksum. Also, if your using SuSE you should have yum. If that's the case, try typing this: "sudo yum install audacity" it will download and install a version of audacity pre-compiled for your version of SuSE. Alternatively, find RPMs. Unless you are just insistent on having the latest version, my opinion is to do things the easiest way possible, and that means using automatic package managers first, RPMs second, tarballs third, and source last.
|
|
|
11-06-2005, 10:10 PM
|
#4
|
Senior Member
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054
Rep:
|
I doubt a redownload would work. wxGTK packages provide only specific version libraries. They don't provide older libraries like some other packages do. So where wxGTK-X.X.X would provide a libwx_gtk-X.X.so a newer version, wxGTK-Y.Y.Y would only provide libwx_gtk-Y.Y.so and not include wxGTK-X.X.so. In other words, newer version of wxGTK are not backwards compatible with older versions.
and judging by the compile errors, you couldn't try to symlink a link with the name of the old library version to the new library as there looks to be incompatibilities between the headers of different versions of wxGTK.
To make a long story short, it looks like to me that a choice will have to be made, if you want to get audacity to compile, to install the correct version of wxGTK or not.
|
|
|
11-06-2005, 11:15 PM
|
#5
|
LQ Veteran
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642
Rep:
|
If you're using SuSE, Audacity should already be installed (assuming you did a full install). It should be under SuSE > Multimedia > Media Editing
|
|
|
11-06-2005, 11:54 PM
|
#6
|
Senior Member
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054
Rep:
|
my guess is that he/she wants the newest version which may not be the version installed by suse.
|
|
|
11-07-2005, 10:01 AM
|
#7
|
Member
Registered: Jun 2004
Distribution: OpenSuSE, CentOS, Linux From Scratch
Posts: 40
Original Poster
Rep:
|
Hi,
first of all thanks for your replies. I really appreciate it.
@megaspaz: I think you might be right. My problem is: If I downgrade wxGTK I get some unresolved dependencies with other Software. Is it somehow possible to install both versions at the same time?
@J.W.&megaspaz: I'm not trying to compile the latest version of audacity. My problem ist that until SuSE 9.3 audacity was included in the distro. Since SuSE 10.0 it is not included anymore.
Last edited by didi86; 11-08-2005 at 01:15 AM.
|
|
|
11-07-2005, 09:34 PM
|
#8
|
Senior Member
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054
Rep:
|
I don't know how you could make 2 different versions of wxGTK coexist peacefully. You may want to try the wxGTK mailing list.
|
|
|
11-12-2005, 06:32 PM
|
#9
|
LQ Newbie
Registered: Sep 2005
Posts: 17
Rep:
|
I know the problem. I like to work with audacity but al the time things are missing when compiling.
Isn't there anybody who knows which libraray's in what order has to be installed. Some i cant even find. I tried several version.
I think I really messed up my Linux with it and seriously considdering to start all over again.
Two versions of wxGTK isn't working!
|
|
|
11-13-2005, 04:57 AM
|
#10
|
Senior Member
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054
Rep:
|
What distro and what is the version of the distro you're using?
http://audacity.sourceforge.net/download/source
Quote:
How to Build Audacity
Dependencies
The wxWidgets library is required. Audacity 1.2 needs wxGTK 2.4, compiled without the gtk2 or unicode options. (Future versions of Audacity will support newer wxWidgets and GTK libraries.)
You may also choose to install the following optional libraries, or get them by checking out Audacity from CVS.
libmad
libsndfile
Ogg Vorbis
If you install libraries using a package management system like Apt or RPM, make sure to install the "dev" (development) packages for each library.
Compilation
To build Audacity, run the following command in the Audacity source directory:
./configure && make
You can type ./configure --help to see a list of compilation options. After Audacity is compiled, run make install as root to install it.
|
Along with the optional packages to install, i'd suggest getting the lame package as well.
If you're using an RPM based distro, you can try searching for packages here:
http://rpm.pbone.net/
Now to let you know, you need more than just the packages. You need to get their devel packages also. Without the devel packages, compiling audacity from source will not work. You do not need to get devel packages if you compile the required/optional packages from source though, only if you use RPMS.
You need to have required/optional packages installed first before you can compile audacity (or any program for that matter).
Last edited by megaspaz; 11-13-2005 at 05:02 AM.
|
|
|
11-14-2005, 12:05 PM
|
#11
|
Member
Registered: Jun 2004
Distribution: OpenSuSE, CentOS, Linux From Scratch
Posts: 40
Original Poster
Rep:
|
A few minutes ago, I got tired of trying to get audacity to run on my SuSE 10.0, so I decided to try to install the windows-version with wine 0.9.1. I was quite surprised to find that audacity seems to run fine with wine, while I can't get the linux-version to run. I think I'm going to use the windows-version, until I find a solution to my problem.
Chris
|
|
|
01-21-2006, 06:59 PM
|
#12
|
LQ Newbie
Registered: Sep 2005
Posts: 17
Rep:
|
There is an Audacity in Mandriva 2006. It is not the latest version. I don't know which one.
I'm running edubuntu 5.1 at the moment. If i want to install Audacity it says:
"Cannot install 'Audacity' Installing this application would mean that something else needs to be removed. Please use "Advanced" mode to install 'audacity'.
When I do so I get 2 Depends (libd3tag0 and libmad0) which are not installable.
|
|
|
All times are GMT -5. The time now is 06:16 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|