LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-01-2010, 07:20 PM   #1
patostevens
Member
 
Registered: Dec 2007
Location: Kennewick,WA
Distribution: Slackware 14
Posts: 172

Rep: Reputation: 21
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
 
Old 01-01-2010, 08:56 PM   #2
larryhaja
Member
 
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 305

Rep: Reputation: 80
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.
 
Old 01-01-2010, 09:28 PM   #3
patostevens
Member
 
Registered: Dec 2007
Location: Kennewick,WA
Distribution: Slackware 14
Posts: 172

Original Poster
Rep: Reputation: 21
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.
 
Old 04-10-2010, 09:53 AM   #4
dumdadum
Member
 
Registered: May 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 14.1 64 bits
Posts: 238

Rep: Reputation: 15
Question

Quote:
Originally Posted by patostevens View Post
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 (=

Thanks again,
Dumdadum

Last edited by dumdadum; 04-10-2010 at 11:04 AM.
 
Old 04-10-2010, 11:03 AM   #5
dumdadum
Member
 
Registered: May 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 14.1 64 bits
Posts: 238

Rep: Reputation: 15
Question

Quote:
Originally Posted by larryhaja View Post
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?

Please help, I need audacity.

Waiting for a response,
Dumdadum
 
Old 04-10-2010, 11:37 AM   #6
dumdadum
Member
 
Registered: May 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 14.1 64 bits
Posts: 238

Rep: Reputation: 15
Lightbulb hum hum

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
 
Old 04-10-2010, 11:53 AM   #7
dumdadum
Member
 
Registered: May 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 14.1 64 bits
Posts: 238

Rep: Reputation: 15
Thumbs down

Quote:
Originally Posted by dumdadum View Post
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.

What do I do guys? Help me (=

Cheers,
Dumdadum
 
Old 04-10-2010, 02:11 PM   #8
dumdadum
Member
 
Registered: May 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 14.1 64 bits
Posts: 238

Rep: Reputation: 15
Exclamation building a new one

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.

So I'll keep y'a'll posted.
Cheers,
Dumdadum
 
Old 04-10-2010, 02:56 PM   #9
dumdadum
Member
 
Registered: May 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 14.1 64 bits
Posts: 238

Rep: Reputation: 15
Exclamation Alien Bob's .slackbuild file

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.

Cheers,
Dumdadum
 
Old 04-10-2010, 03:37 PM   #10
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by dumdadum View Post
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.
What messy script are you talking about exactly?

Eric
 
Old 04-10-2010, 03:58 PM   #11
dumdadum
Member
 
Registered: May 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 14.1 64 bits
Posts: 238

Rep: Reputation: 15
Unhappy

Quote:
Originally Posted by Alien Bob View Post
What messy script are you talking about exactly?

Eric
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?

Hoping you will have answers,
Dumdadum
 
Old 04-10-2010, 04:07 PM   #12
dumdadum
Member
 
Registered: May 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 14.1 64 bits
Posts: 238

Rep: Reputation: 15
Wink

Quote:
Originally Posted by Alien Bob View Post
What messy script are you talking about exactly?

Eric
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.

Cheers Alien Bob,
Dumdadum
 
Old 04-10-2010, 04:21 PM   #13
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
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
 
Old 04-10-2010, 04:28 PM   #14
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
In response to Eric's post you should have given the exact URL of the SlackBuild you were speaking of.

If it is a SlackBuild for ffmpeg it can be one of those:
ftp://slackware.org.uk/people/alien/...peg.SlackBuild #unretricted
http://connie.slackware.com/~alien/s...peg.SlackBuild #restricted

Anyhow to use it you should follow instructions given by Eric here:
http://connie.slackware.com/~alien/slackbuilds/README
especially the lftp command.

That way you won't have to download anything beside the files already stored in the build directory.

[EDIT]Sorry, I didn't see Eric's second post before posting.

Last edited by Didier Spaier; 04-10-2010 at 04:29 PM.
 
Old 04-10-2010, 05:20 PM   #15
dumdadum
Member
 
Registered: May 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 14.1 64 bits
Posts: 238

Rep: Reputation: 15
Thumbs up

Quote:
Originally Posted by Alien Bob View Post
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 )
 
  


Reply



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
Installing RHEL 5 64 bit problems madbrad70 Linux - Server 3 07-29-2008 11:11 AM
Installing 32-bit firefox on AMD64 to solve problems ? WhiskeyTangoFoxtrot Linux - Software 9 11-09-2006 04:35 PM
Need help installing Audacity watha SUSE / openSUSE 7 09-29-2006 01:18 PM
SuSe 10 having problems installing audacity MoZarK Linux - Newbie 1 05-20-2006 07:28 PM
Problems installing Fedora (32 and 64 bit) and Gentoo josepha Linux - Newbie 2 04-15-2004 04:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:27 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration