[icecast] ices configure script
Alex Gutteridge
a.gutteridge at cryst.bbk.ac.uk
Mon Mar 25 01:00:32 UTC 2002
Brendan Cully wrote:
>On Saturday, 16 March 2002 at 12:14, Alex Gutteridge wrote:
>
>>Hi,
>>
>>I'm having difficulty getting ices 0.2.2 to see my lame install and my
>>perl install. The lame libraries (v3.91) are installed in:
>>/usr/local/lib/ with the header file at: /usr/local/include/lame/lame.h,
>>but when I run:
>>
>>./configure --with-lame --with-lame-includes=/usr/local/include/lame/
>>--with-lame-libraries=/usr/local/
>>
>>it says it can't find the lame libraries. ldconfig seems to show they're
>>installed:
>>
>>libmp3lame.so.0 (libc6) => /usr/local/lib/libmp3lame.so.0
>>
>
>Uh, that's kind of odd. It should be pointing to something like
>libmp3lame.so.0.0.0
>
>Can you do ls -l /usr/local/lib/libmp3lame*
>
I just tried ldconfig again and it does point to .so.0.0.0 - so that's OK.
>
>
>>libmp3lame.so (libc6) => /usr/local/lib/libmp3lame.so
>>
>>I get the same problem with the --with-perl option - I have perl
>>installed in the normal place (/usr/bin/perl) but when I try
>>--with-perl=/usr it says is can't find /usr/bin/perl (no such file).
>>I've intalled Ices fine withoutthese options, but I'd really like to get
>>it working with the re-encoding and perl. What am I doing wrong?
>>
>
>ices should search both of these directories by default, so you
>shouldn't have to provide any options to get perl and lame. In a pinch,
>--with-lame=/usr/local ought to do. The --with-perl option ought to have
>worked. Can you send the actual output from configure where these tests
>failed?
>
I've been banging on this for a while and discovered that configure does
see my lame libraries if I use --with-cache=/dev/null, however it still
doesn't see perl (from the configure script run with no other options):
checking for shout/shout.h... yes
checking for shout_init_connection in -lshout... yes
updating cache /dev/null
checking for lame/lame.h... yes
checking for lame_init_old in -lmp3lame... yes
checking for lame_encode_flush_nogap in -lmp3lame... yes
updating cache /dev/null
checking for vorbis/vorbisfile.h... no
Could not find libvorbisfile, vorbis support disabled
updating cache /dev/null
Note (probably harmless): No library found for -ldbm
checking for perl_construct... no
Could not find perl libraries, perl scripting disabled
If I specify --with-perl=/usr the output is slightly different but still
doesn't work:
checking for lame/lame.h... yes
checking for lame_init_old in -lmp3lame... yes
checking for lame_encode_flush_nogap in -lmp3lame... yes
updating cache /dev/null
checking for vorbis/vorbisfile.h... no
Could not find libvorbisfile, vorbis support disabled
updating cache /dev/null
./configure: perl=/usr/bin/perl: No such file or directory
configure: error: Perl not found in the specified location
/usr/bin/perl is a link to another link which links to the real perl
binary (don't ask me why - that's how debian has installed it):
parcstation:/home/alex/ices-0.2.2# ls -l /usr/bin/perl
lrwxrwxrwx 1 root root 22 Mar 8 23:54 /usr/bin/perl ->
/etc/alternatives/perl
sparcstation:/home/alex/ices-0.2.2# ls -l /etc/alternatives/perl
lrwxrwxrwx 1 root root 19 Mar 8 23:54
/etc/alternatives/perl -> /usr/bin/perl-5.005
sparcstation:/home/alex/ices-0.2.2# ls -l /usr/bin/perl-5.005
-rwxr-xr-x 3 root root 624532 Apr 30 2000 /usr/bin/perl-5.005
One thing I thought it might be is that my debian install of perl
provides a static perl library (libperl.a) - does ices need the dynamic
version (libperl.so) installed? I'm not a C programmer so I may well be
off the right track here but I thought that could be one explanation.
<p>--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Icecast
mailing list