LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-01-2010, 10:05 PM   #1
virii47
LQ Newbie
 
Registered: Aug 2010
Posts: 3

Rep: Reputation: 0
lame compile error


Hi, I'm a newbie on Linux.

I tried to install lame on Linux, but I failed running ./configure

Could anyone tell me what's the problem?

Thanks!

================================================

checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /home/bin/mkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
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.
 
Old 08-01-2010, 10:34 PM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959
Do you really need to compile it yourself? Most distributions offer pre-compiled packages for lame and liblame already. If it's not in the main repositories, then there's usually some kind of additional one for non-free extra stuff.

Speaking of which, it would help if you added the distro you're using to your profile.
 
Old 08-01-2010, 11:31 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally Posted by virii47 View Post
Hi, I'm a newbie on Linux.

I tried to install lame on Linux, but I failed running ./configure

Could anyone tell me what's the problem?

Thanks!

================================================

checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /home/bin/mkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
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.
And what did "config.log" say?
 
Old 08-02-2010, 09:36 AM   #4
virii47
LQ Newbie
 
Registered: Aug 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Below is on "config.log"

I tried to install lame package on my web hosting server,
and the company runs CentOS 5.2.

Thanks!

=====================================

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by lame configure 3.98.4, which was
generated by GNU Autoconf 2.61. Invocation command line was

$ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = ******.com
uname -m = x86_64
uname -r = 2.6.24.2
uname -s = Linux
uname -v = #1 SMP Thu Feb 14 18:00:23 KST 2008

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = x86_64
/usr/bin/arch -k = unknown
"config.log" 324L, 8549C 2,1
 
Old 08-02-2010, 10:03 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,634

Rep: Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268
# yum install lame ( lame-devel )

And both packages are also on the install DVD, or :
disk-4:lame-3.97-1.sl.x86_64.rpm
disk-4:lame-devel-3.97-1.sl.x86_64.rpm
( From ScientificLinux SL55 index, hence the "sl".)
EDIT : No lame on CentOS install disks.

Building lame : # yum install glibc-devel
.. to have a usable 'gcc'.
..

Last edited by knudfl; 08-02-2010 at 12:46 PM.
 
Old 08-02-2010, 11:01 AM   #6
virii47
LQ Newbie
 
Registered: Aug 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks knudfl.

But I don't have a root privilege because I am using web hosting service.

For example,
I can only access /root/users/my_account/
 
Old 08-02-2010, 12:44 PM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,634

Rep: Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268
OK then. No need to compile liblame. (Or other libs.)
Shared libraries can usually work in any location.

Suggest : Unpack lame-3.97-1.sl.x86_64.rpm
http://ftp.scientificlinux.org/linux....sl.x86_64.rpm
.. and : cp libmp3lame.so.0.0.0 /home/<name>/lib64/
cd lib64/ && ln -s libmp3lame.so.0.0.0 libmp3lame.so.0
( ///bin/lame : /home/<name>/bin/lame ).

Your application can be started with e.g. :
export LD_LIBRARY_PATH=/home/<name>/lib64 && <start-command>

SL55 x86_64 http://ftp.scientificlinux.org/linux.../55/x86_64/SL/

CentOS55 http://mirror.centos.org/centos/5.5/os/x86_64/CentOS/
( Sorry, no lame in the CentOS repo. )
 
  


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
A possible lame Multi media lame thread a_c_g_t Fedora 3 08-07-2007 02:59 PM
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
KAudioCreator LAME error xTheLostx Linux - Software 3 05-27-2005 09:15 PM


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