LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 04-26-2007, 01:50 PM   #1
rocket777
Member
 
Registered: Apr 2007
Posts: 31

Rep: Reputation: 15
can't ./configure lame-3.97


I'm trying to build the lame shared libary from source and get this error.

Any ideas what's wrong?



[332]$ ./configure --prefix=$HOME/local
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.





Here's part of config.log that seems to have something to do with this:


Thread model: posix
gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
configure:2454: $? = 0
configure:2456: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2459: $? = 1
configure:2482: checking for C compiler default output file name
configure:2485: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2488: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "lame"
| #define PACKAGE_TARNAME "lame"
| #define PACKAGE_VERSION "3.97"
| #define PACKAGE_STRING "lame 3.97"
| #define PACKAGE_BUGREPORT "lame-dev@lists.sf.net"
| #define PACKAGE "lame"
| #define VERSION "3.97"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2527: error: C compiler cannot create executables
See `config.log' for more details.
 
Old 04-26-2007, 02:22 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
First, why don't you install lame from the Ubuntu repositories rather than build it yourself?

You likely don't have the development packages for libc. Try installing the development files. Probably something like apt-get install libc6-dev.
 
Old 04-26-2007, 03:19 PM   #3
rocket777
Member
 
Registered: Apr 2007
Posts: 31

Original Poster
Rep: Reputation: 15
Yup, it needed the development libraries. Hmmm, wonder why gcc would be there by default but not the libraries

Anyway, I wanted to get lame for audacity, and I got a google hit on how to install lame with an 'apt-get install lame' but I couldn't find the .so it wanted after the install so I uninstalled it.

The next google hit showed how to get a tar.gz file, and in one command to build the .so library and NOT put it into your system library, which I thought was a good idea (no sudo needed).

Anyway, now it works. Thanks!
 
  


Reply


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
Installed LAME, command 'lame' works but lame's not in any program directories! ayteebee Linux - Software 8 05-24-2006 05:48 PM
lame error during ./configure mythtv paradox101 Linux - Software 2 04-17-2006 06:20 PM
darkice with lame support can't find lame h2gofast Debian 4 03-17-2006 11:20 AM
How Lame! vonaras LQ Suggestions & Feedback 14 12-14-2005 10:08 PM
lame configure problem Ad01932 Linux - Newbie 4 07-13-2003 01:53 PM

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

All times are GMT -5. The time now is 11:07 PM.

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