LinuxQuestions.org
Register a domain and help support LQ
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 12-02-2007, 11:38 PM   #1
dissociative
Member
 
Registered: Jul 2007
Posts: 36

Rep: Reputation: 15
problem trying to build audacity-1.3.4-beta


I'm trying to compile audacity-1.3.4 beta with libmad support enabled and audacity uses pkg-config to check the version of libmad installed, but the libmad tgz package from the install media doesnt contains the libmad package configuration file "mad.pc", what should be the right solution? its possible to generate the pkg-config file for libmad?, I think that I ran into a similar issue when trying to compile audacity 1.3.3 beta under FreeBSD 6.2-release

Last edited by dissociative; 12-02-2007 at 11:44 PM. Reason: cleaned up some typo
 
Old 12-03-2007, 05:42 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,745
Blog Entries: 1

Rep: Reputation: 224Reputation: 224Reputation: 224
Change whatever you need to for your system.
Code:
cat > /usr/lib/pkgconfig/mad.pc << "EOF"
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: mad
Description: MPEG audio decoder
Requires:
Version: 0.15.1b
Libs: -L${libdir} -lmad
Cflags: -I${includedir}
EOF
 
Old 12-03-2007, 01:25 PM   #3
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,441

Rep: Reputation: 70
Are you using Slackware 12? I used the Slackbuild at http://slackbuilds.org/repository/12...edia/audacity/ and it worked without any problems. I had compiled 1.3.3.

libMAD support works for me.
 
Old 12-07-2007, 02:21 PM   #4
dissociative
Member
 
Registered: Jul 2007
Posts: 36

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by shadowsnipes View Post
Are you using Slackware 12? I used the Slackbuild at http://slackbuilds.org/repository/12...edia/audacity/ and it worked without any problems. I had compiled 1.3.3.

libMAD support works for me.
I'm under Slackware-current, audacity 1.3.3 beta compiled fine but 1.3.4 did not.
 
Old 12-07-2007, 03:41 PM   #5
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,913

Rep: Reputation: Disabled
Quote:
Originally Posted by weibullguy View Post
Change whatever you need to for your system.
Code:
cat > /usr/lib/pkgconfig/mad.pc << "EOF"
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: mad
Description: MPEG audio decoder
Requires:
Version: 0.15.1b
Libs: -L${libdir} -lmad
Cflags: -I${includedir}
EOF
Indeed. Someone should poke the audacity devs and nicely ask them not to require distribution-specific files. Until/unless libmad ships a pkgconfig file, that's exactly what the audacity devs are doing. Of course, I guess a poke should also be done to the libmad devs
 
  


Reply

Tags
audacity, beta, compilation, error, libmad


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: OpenSUSE 10.3 beta and build service app LXer Syndicated Linux News 0 08-13-2007 10:30 AM
Editing Hassles - Audacity 1.3.2 beta, SuSE 10.0 J.W. Linux - Software 2 11-26-2006 02:05 PM
Audacity source build PCPbSlack Slackware 11 10-29-2006 08:54 PM
audacity 1.2.3 on 10.1 problem davidsrsb Slackware 3 02-14-2005 01:48 AM
audacity problem jasonmcneil0 Linux - Software 6 11-12-2003 05:18 PM


All times are GMT -5. The time now is 07:34 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 Google+: linuxquestions
Open Source Consulting | Domain Registration