[SOLVED] problems installing audacity on 32 bit 13
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
SOLVED - problems installing audacity on 32 bit 13
Have tried this a couple of ways and failed with the same problem. Used wxPython first, removed and tried wxGTK. Both installed fine, but when building audacity (from Slackbuilds) things failed with the following:
import/ImportFFmpeg.o: In function `FFmpegImportFileHandle::ReadNextFrame()':
ImportFFmpeg.cpp.text+0x207): undefined reference to `av_free_packet'
import/ImportFFmpeg.o: In function `FFmpegImportFileHandle::Import(TrackFactory*, Track***, int*, Tags*)':
ImportFFmpeg.cpp.text+0x17fd): undefined reference to `av_free_packet'
ImportFFmpeg.cpp.text+0x1aed): undefined reference to `av_free_packet'
collect2: ld returned 1 exit status
make[1]: *** [../audacity] Error 1
make[1]: Leaving directory `/tmp/SBo/audacity-src-1.3.7/src'
make: *** [audacity] Error 2
I checked the post regarding same on the 64 bit install, compared my Slackbuild script to the one that solved that problem and found them identical.
Any good ideas?
Last edited by patostevens; 04-14-2010 at 09:35 AM.
Reason: solved
It looks like an issue with ffmpeg. You could try running configure with --without-ffmpeg. I just build audacity 1.3.7 and 1.3.10 using the slackbuild script from SBo and with ffmpeg installed and it compiled fine. Not sure what is the problem.
I removed ffmpeg, installed Alien Bob's package of same and went on. Surprise - it all worked. I am now in the process of building an altar to Alien Bob (and his packages) and will be making regular sacrifices.
Thanks for your idea - it sent me down the right path.
I removed ffmpeg, installed Alien Bob's package of same and went on. Surprise - it all worked. I am now in the process of building an altar to Alien Bob (and his packages) and will be making regular sacrifices.
Thanks for your idea - it sent me down the right path.
Excuse me. I have a question. I did as you mentionned, and still, I get the same error, "undefined reference to `av_free_packet'". Still says ffmpeg error.
Now, this is the file I downloaded from Alien Bob's place:
ffmpeg-r20056-i486-1alien.tgz
I installed it with installpkg.
Isnt this what you did? If you didnt, can you please tell me? The only reason I'm running Ubuntu is because I have audacity. I really want to have only slacks in my comps. And I need to compile that damn audacity (=
It looks like an issue with ffmpeg. You could try running configure with --without-ffmpeg. I just build audacity 1.3.7 and 1.3.10 using the slackbuild script from SBo and with ffmpeg installed and it compiled fine. Not sure what is the problem.
What version of ffmpeg did you use?
I tried the version on slackbuilds.org and it gave me the first error. Then I tried the other version on Alien Bob's and it didnt help either.
You did install a .tgz with installpkg as root didnt you?
Well, it seems there was already another package of ffmpeg installed. So I removed both manually, reinstalled the one from Alien Bob's, and it seems to work. So that was my mistake.
Well, it seems there was already another package of ffmpeg installed. So I removed both manually, reinstalled the one from Alien Bob's, and it seems to work. So that was my mistake.
Cheers,
Dumdadum
Nope, that didnt do it, I still get the same error message, but way further in the build.
Ok so I tried building ffmpeg and it showed me a few errors. So working on that right now. I had alot of packages that werent installed. You also need to modify the .SlackBuild script, cause if you download everything manuallly from slackbuilds.org, you need to change NO to YES for each file. Anyways, downloading them doesnt work. Its just a way to show you to download them. Then you build.
Ok I dont know if this is a joke, but Alien Bob needs another beer.
First of all, the sources dont even download. Second of all, this script is a real mess. I had to delete almost 3/4 of what was written in there.
Its plain simple. When you compile ffmpeg manually, you get all these errors. Well these errors tell you what file to download from slackbuilds.org. You download them, and build them, and install them. I had no trouble doing so, it was real simple, but very long. If you're worried if you have the correct version or not, theres a section in Alien Bob's script that lists the correct versions for every file to download from slackbuilds.org. Anyhow, all the versions on slackbuild.org were correct, just so I reassure you.
I will post my own script I think. Unless Alien Bob's script works with the sources found on slackbuilds.org, I dont see how Alien Bob got this working on his own slack machine.
I'll keep you posted for sure. I think audacity is super, and its a shame that its so hard to build. Never the less, for the true slackers out there, if others succeeded, so will I. And I will post every little bit of info that I can, because it seems that others dont even bother in giving us all the juicy details. Some people out there are new to Slackware. So if we want the community to build, we need to post more info.
Finally, a response, and from the author of the script. Superb. (=
Well for starters, the scirpt is supposed to make a package for ffmpeg. Well the script is configured to download sources, like libgsm, or any other. I ran the script, got an error saying it cannot download the files.
I'll run it again, just to be sure.
...
There we go. Here is what I got from running the script without any modifications. And yes you mentionned in the script that we might have to edit it above a certain point. Still, heres what I get:
**
** This build uses patented code (MP3 and AAC encoders)
** Run the command 'USE_PATENTS=NO ./ffmpeg.SlackBuild ' to avoid patent issues.
**
Source 'gsm-1.0.13.tar.gz' not available yet...
Will download file to /mnt/nfs http://user.cs.tu-berlin.de/~jutta/g...1.0.13.tar.gz:
2010-04-10 16:45:02 ERROR 404: Not Found.
Downloading 'gsm-1.0.13.tar.gz' failed.. aborting the build.
You know, I installed gsm, and the correct version, got it from slackbuilds. And when I run you huge ./configure command, it says gsm isnt installed.
You know, I have been working on figuring out how to build audacity for over 6 months now. All I get is errors. First it was the build of wxPython at slackbuilds.org that wouldnt compile. Today I decided I was gona find a solution to my audacity building problems. And so wxPython compiled without any errors. So I decided to go forth and do the rest of the install. So I ended up at linuxquestions.org with this exact post saying that on Alien Bob's site was the answer to the ffmpeg error. Still I have been working on this since 3am, and still no working audacity.
I'm having a look at your script, and I changed the NO's to YES's cause I manually installed all the packages.
Now, do you need to tell me that I need all the sources and that your script will complile everything? Well, lets give it a go. I'll do it. I just want this damn audacity to work. I'm tired of Ubuntu, I want slacks all around, and plus my roomate needs audacity on his laptop and the only OS we got working on it was slackware. So I will not rest until I find a solution.
Now, any advice you can give me is more than welcome. In the past I posted a few comments on building audacity and it seems that the senior slackers arent that willing to give us a step by step tutorial on how to install audacity. Maybe you can change that?
Now, if we pick it up from the start. First we install wxPython. Thats done. Whats next? ffmpeg? What .tgz version of that file do we need to install? I took the one from the 13.0 folder on Alien Bob's web site. Still that doesnt work. What am I missing here?
And by the way, I didnt want to insult you in any way. I'm just tired, spent the night up trying to figure this out. And please understand that I'm truly in love with Slackware. I think its the best OS around. I havent had any problems doing whatever I needed to do, other than get a compiled audacity. I just need someone thats willing to help. Maybe I'm forgetting something, or maybe I'm doing it wrong. If audacity is so complicated to build, there should be a step by step tutorial that should tell the users what to do. Cause surely I aint the first one to ask how to build that damn program.
If you have any questions I can answer that will help you help me, than go for it. Nothing is too technical. More or less.
What prevents you from downloading the whole directory of source tarballs instead of just the SlackBuild script? When time passes, developers release newer versions and the older versions will be removed from their servers. It happens. That is why I have all those sources too, not jut the script. See ftp://ftp.slackware.org.uk/people/al.../ffmpeg/build/
If building audacious is too daunting a task for you, perhaps you should consider looking for a ready-built package.
Messing with my SlackBuild script, changing YES to NO and whatnot is not going to help either, since the script wants to access all sources in order to create a single ffmpeg package containing statically linked libraries.
What prevents you from downloading the whole directory of source tarballs instead of just the SlackBuild script? When time passes, developers release newer versions and the older versions will be removed from their servers. It happens. That is why I have all those sources too, not jut the script. See ftp://ftp.slackware.org.uk/people/al.../ffmpeg/build/
If building audacious is too daunting a task for you, perhaps you should consider looking for a ready-built package.
Messing with my SlackBuild script, changing YES to NO and whatnot is not going to help either, since the script wants to access all sources in order to create a single ffmpeg package containing statically linked libraries.
Eric
Ok so thats my mistake, I compiled all the files individually and hoped that when I would compile ffmpeg it would find the installed versions of the librairies.
Ok I'm gona try it right away and come back to you on this. I just hope that once I have ffmpeg I will be able to install it and it will solve the ffmpeg error in building audacity.
And if there is a ready-built package, I havent found it. The only way I found to have a ready-built package is with Ubuntu, and I want Slackware, not Ubuntu.
Cheers,
Dumdadum ( getting tired, but getting there )
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.