LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-14-2005, 03:44 PM   #1
t-smurf
LQ Newbie
 
Registered: Jan 2005
Distribution: Debian w/KDE 3.4
Posts: 10

Rep: Reputation: 0
Question transcode/lame problems


I have a problem with the configuration of transcode. I installed ffmpeg and lame, but when I run the configuration on transcode, I get this error at the end:

checking whether lame support is requested... yes
checking for pkgconfig support for lame... no
checking how to determine LAME_CFLAGS... default
checking how to determine LAME_LIBS... default
checking for lame_init in -lmp3lame... yes
checking lame/lame.h usability... yes
checking lame/lame.h presence... yes
checking for lame/lame.h... yes
checking lame version... configure: error: lame requested, but cannot compile and run a test program


Can anyone help me??

I have ubuntu 4.10 installed.
 
Old 02-14-2005, 03:48 PM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
not unless you post the relevant portion of the config.log (the part where it is trying to compile a small program with lame and it bails - check around the bottom of the file).
 
Old 02-15-2005, 02:26 AM   #3
t-smurf
LQ Newbie
 
Registered: Jan 2005
Distribution: Debian w/KDE 3.4
Posts: 10

Original Poster
Rep: Reputation: 0
I'm not quite sure of what part of the config.log you need, but this is what it says about lame in the config.log:

| #define STATBUFFER 1
| #define HAVE_FREETYPE2 1
| #define HAVE_LAME_INC 1
| /* end confdefs.h. */
|
| #include <stdio.h>
|
| #ifdef HAVE_LAME_INC
| #include <lame/lame.h>
| #else
| #include <lame.h>
| #endif
|
| int main () {
| lame_version_t lv;
| get_lame_version_numerical(&lv);
| if(lv.alpha || lv.beta) lv.minor--;
| printf("%d%d\n", lv.major, lv.minor);
| return 0;
| }
|
configure:30066: error: lame requested, but cannot compile and run a test program

Tell me if I'm wrong. I'm kind of new with linux.
 
Old 02-26-2005, 06:16 PM   #4
Maestro485
Member
 
Registered: Apr 2004
Location: Pittsburgh
Distribution: Slackware
Posts: 136

Rep: Reputation: 16
I had a problem that was similar, so this might work. Some lame headers install by default to /usr/local/include/lame. The permissions are set to only allow root access. If you change the permissions to allow user access and run the transcode ./configure script again, it should work.

Hope this helps
 
Old 02-28-2005, 10:50 AM   #5
t-smurf
LQ Newbie
 
Registered: Jan 2005
Distribution: Debian w/KDE 3.4
Posts: 10

Original Poster
Rep: Reputation: 0
This worked!!!

Thank you, Maestro485....
 
Old 03-09-2005, 09:57 AM   #6
roadburns
LQ Newbie
 
Registered: Feb 2005
Posts: 5

Rep: Reputation: 0
I've the same problem but....

Quote:
Originally posted by t-smurf
This worked!!!

Thank you, Maestro485....
I've the same problem but with your solution that doesn't seem to work.

I've compiled and installed succesfully lame-3.96.1 but it's not possible to compile transcode 0.6.14 (not even last cvs version) on debian unstable with kernel 2-6-11.

That seem to be the same t-smurf's problem.

This is my config.log......I've already tried to change permission of /usr/local/include/lame and declare lame libs prefix with --with-lame-libs=/usr/local/lib/
Anyone can help me?

| #include <stdio.h>
|
| #ifdef HAVE_LAME_INC
| #include <lame/lame.h>
| #else
| #include <lame.h>
| #endif
|
| int main () {
| lame_version_t lv;
| get_lame_version_numerical(&lv);
| if(lv.alpha || lv.beta) lv.minor--;
| printf("%d%d\n", lv.major, lv.minor);
| return 0;
| }
|
configure:30069: error: lame requested, but cannot compile and run a test program
 
Old 03-09-2005, 01:21 PM   #7
Maestro485
Member
 
Registered: Apr 2004
Location: Pittsburgh
Distribution: Slackware
Posts: 136

Rep: Reputation: 16
Try running the lame ./configure script again with the '--enable-shared' option, recompile and install lame, and when thats done run (as root) /sbin/ldconfig

Then try compiling transcode again.

Also, you might want to do 'make uninstall' and 'make clean' for lame before recompiling it. I'm not sure if this is entirely necessary, but it can't hurt.
 
Old 03-10-2005, 05:33 AM   #8
roadburns
LQ Newbie
 
Registered: Feb 2005
Posts: 5

Rep: Reputation: 0
I'm sorry but....it's not my fault! ;)

Quote:
Originally posted by Maestro485
Try running the lame ./configure script again with the '--enable-shared' option, recompile and install lame, and when thats done run (as root) /sbin/ldconfig

Then try compiling transcode again.

Also, you might want to do 'make uninstall' and 'make clean' for lame before recompiling it. I'm not sure if this is entirely necessary, but it can't hurt.
I try the system that you suggested me but nothing....

...but recompiling lame I saw in the text scrolling the solution!!!
Damn...why this very important messages appear during scrolling? Often It's too difficult to see it without lost it over the terminal buffer scroll limit.

Thanks very much....and excuse me for disturb Maestro485.

The message:
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 
  


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
transcode has problems with avcodec.h (Suse 9.2) the-damian Linux - Software 0 12-03-2005 01:18 PM
transcode - mpeg encoding problems ugenn Linux - Software 2 06-11-2004 02:48 AM
Acidrip problems... (lame) Applejuice Linux - Software 3 01-24-2004 06:37 AM
transcode divx with lame or ogg vbr whansard Linux - Software 0 10-18-2003 03:35 AM
transcode jrmann1999 Linux - General 0 04-02-2003 07:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:00 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