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. |
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. |
Quote:
|
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 |
# 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'. .. |
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/ |
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. ) |
All times are GMT -5. The time now is 02:10 AM. |