hi! I'm trying to compile the latest version of PiDiP on a Debian system, but keep getting a mp3lame error during configure. I have liblame-dev 3.93.1 debian-package installed, and also tried lame 3.92 from the source tarball.
Any hints?
The error message: checking for InitMP3 in -lmp3lame... no configure: error: streaming requires lame library!!
same with me - just commented out the according line in configure.ac and autoconf'd - it still links successfull
martin
On Wed, 26 Feb 2003, 220hex wrote:
hi! I'm trying to compile the latest version of PiDiP on a Debian system, but keep getting a mp3lame error during configure. I have liblame-dev 3.93.1 debian-package installed, and also tried lame 3.92 from the source tarball.
Any hints?
The error message: checking for InitMP3 in -lmp3lame... no configure: error: streaming requires lame library!!
--
www.220hex.org www.r3aktor.com http://mob.bek.no
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
martin pi
http://attacksyour.net/pi
www.machfeld.net
thanks, that got me a little further, but now make stops with:
gcc: /home/gif/dl/pd/ffmpeg-cvs-2003-02-25/libavformat/libavformat.a: No such file or directory gcc: /home/gif/dl/pd/ffmpeg-cvs-2003-02-25/libavcodec/libavcodec.a: No such file or directory make: *** [pidip.pd_linux] Error 1
As you can see I'm using the latest ffmpeg source from cvs. ??
.gif
Wednesday February 26 2003 10:16, skrev martin pi:
same with me - just commented out the according line in configure.ac and autoconf'd - it still links successfull
martin
On Wed, 26 Feb 2003, 220hex wrote:
hi! I'm trying to compile the latest version of PiDiP on a Debian system, but keep getting a mp3lame error during configure. I have liblame-dev 3.93.1 debian-package installed, and also tried lame 3.92 from the source tarball.
Any hints?
The error message: checking for InitMP3 in -lmp3lame... no configure: error: streaming requires lame library!!
--
www.220hex.org www.r3aktor.com http://mob.bek.no
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
martin pi http://attacksyour.net/pi www.machfeld.net
I read: . .
make: *** [pidip.pd_linux] Error 1
As you can see I'm using the latest ffmpeg source from cvs. ??
do you need the ffmpeg objects ? If not you can just take them out of the makefile and remove the corresponding setup functions.
regards
x
ok, removed ffmpeg from the makefile, and finally got it to compile but I get an 'undefined symbol' when trying to load in PD:
/usr/lib/pd/externs/pidip.pd_linux: undefined symbol: av_open_input_file pidip: can't load library
:((((
-gif
Wednesday February 26 2003 11:13, skrev CK:
I read: . .
make: *** [pidip.pd_linux] Error 1
As you can see I'm using the latest ffmpeg source from cvs. ??
do you need the ffmpeg objects ? If not you can just take them out of the makefile and remove the corresponding setup functions.
regards
x
I read:
ok, removed ffmpeg from the makefile, and finally got it to compile but I get an 'undefined symbol' when trying to load in PD:
ok go to system/ and comment out or remove
void pdp_ffmpeg_tilde_setup(void);
and in pidip_setup:
pdp_ffmpeg_tilde_setup();
HTH
x
voila! problem solved. just compiled ffmpeg and kept it in the makefile. Now it loads ok.
.gif
Wednesday February 26 2003 11:38, skrev 220hex:
ok, removed ffmpeg from the makefile, and finally got it to compile but I get an 'undefined symbol' when trying to load in PD:
/usr/lib/pd/externs/pidip.pd_linux: undefined symbol: av_open_input_file pidip: can't load library
:((((
-gif
Wednesday February 26 2003 11:13, skrev CK:
I read: . .
make: *** [pidip.pd_linux] Error 1
As you can see I'm using the latest ffmpeg source from cvs. ??
do you need the ffmpeg objects ? If not you can just take them out of the makefile and remove the corresponding setup functions.
regards
x
hi,
the problem here is, i think, that you did not compile the ffmpeg package, no ? when you compile it, it usually produces these libraries ))
for the lame issue, i think it doesn't find libmp3lame which must be in a weird location on debian ((
can't help you more from that distance )
cheers,
sevy/yves
220hex wrote:
thanks, that got me a little further, but now make stops with:
gcc: /home/gif/dl/pd/ffmpeg-cvs-2003-02-25/libavformat/libavformat.a: No such file or directory gcc: /home/gif/dl/pd/ffmpeg-cvs-2003-02-25/libavcodec/libavcodec.a: No such file or directory make: *** [pidip.pd_linux] Error 1
As you can see I'm using the latest ffmpeg source from cvs. ??
.gif
Wednesday February 26 2003 10:16, skrev martin pi:
same with me - just commented out the according line in configure.ac and autoconf'd - it still links successfull
martin
On Wed, 26 Feb 2003, 220hex wrote:
hi! I'm trying to compile the latest version of PiDiP on a Debian system, but keep getting a mp3lame error during configure. I have liblame-dev 3.93.1 debian-package installed, and also tried lame 3.92 from the source tarball.
Any hints?
The error message: checking for InitMP3 in -lmp3lame... no configure: error: streaming requires lame library!!
--
www.220hex.org www.r3aktor.com http://mob.bek.no
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
martin pi http://attacksyour.net/pi www.machfeld.net
for the lame issue, i think it doesn't find libmp3lame which must be in a weird location on debian ((
can't help you more from that distance )
maybe it has something to do with the fact that on debian, the libmp3lame package has only static libararies?
-rw-r--r-- 1 root root 352520 Aug 16 2001 libmp3lame.a -rw-r--r-- 1 root root 668 Aug 16 2001 libmp3lame.la
maybe AC_CHECK_LIB(mp3lame) does not include statics?
surely true !! tom !!
but that's really silly from debian.
cheers,
sevy/yves
Tom Schouten wrote:
for the lame issue, i think it doesn't find libmp3lame which must be in a weird location on debian ((
can't help you more from that distance )
maybe it has something to do with the fact that on debian, the libmp3lame package has only static libararies?
-rw-r--r-- 1 root root 352520 Aug 16 2001 libmp3lame.a -rw-r--r-- 1 root root 668 Aug 16 2001 libmp3lame.la
maybe AC_CHECK_LIB(mp3lame) does not include statics?
I reinstalled lame and libmp3lame from the source package, so here's what I've got:
-rw-r--r-- 1 root root 376246 2002-06-30 18:04 libmp3lame.a -rw-r--r-- 1 root root 668 2002-06-30 18:04 libmp3lame.la lrwxrwxrwx 1 root root 19 2003-02-26 01:11 libmp3lame.so -> libmp3lame.so.0.0.0 lrwxrwxrwx 1 root root 19 2003-02-25 23:47 libmp3lame.so.0 -> libmp3lame.so.0.0.0 -rwxr-xr-x 1 root root 347012 2003-02-25 23:47 libmp3lame.so.0.0.0
still not recognised from .configure...
.gif
Wednesday February 26 2003 15:36, skrev Yves Degoyon:
surely true !! tom !!
but that's really silly from debian.
cheers,
sevy/yves
Tom Schouten wrote:
for the lame issue, i think it doesn't find libmp3lame which must be in a weird location on debian ((
can't help you more from that distance )
maybe it has something to do with the fact that on debian, the libmp3lame package has only static libararies?
-rw-r--r-- 1 root root 352520 Aug 16 2001 libmp3lame.a -rw-r--r-- 1 root root 668 Aug 16 2001 libmp3lame.la
maybe AC_CHECK_LIB(mp3lame) does not include statics?
is the location where it is installed is included in /etc/ld.so.conf ??
does a 'ldconfig -v' includes the lame libraries ??
220hex wrote:
I reinstalled lame and libmp3lame from the source package, so here's what I've got:
-rw-r--r-- 1 root root 376246 2002-06-30 18:04 libmp3lame.a -rw-r--r-- 1 root root 668 2002-06-30 18:04 libmp3lame.la lrwxrwxrwx 1 root root 19 2003-02-26 01:11 libmp3lame.so -> libmp3lame.so.0.0.0 lrwxrwxrwx 1 root root 19 2003-02-25 23:47 libmp3lame.so.0 -> libmp3lame.so.0.0.0 -rwxr-xr-x 1 root root 347012 2003-02-25 23:47 libmp3lame.so.0.0.0
still not recognised from .configure...
.gif
Wednesday February 26 2003 15:36, skrev Yves Degoyon:
surely true !! tom !!
but that's really silly from debian.
cheers,
sevy/yves
Tom Schouten wrote:
for the lame issue, i think it doesn't find libmp3lame which must be in a weird location on debian ((
can't help you more from that distance )
maybe it has something to do with the fact that on debian, the libmp3lame package has only static libararies?
-rw-r--r-- 1 root root 352520 Aug 16 2001 libmp3lame.a -rw-r--r-- 1 root root 668 Aug 16 2001 libmp3lame.la
maybe AC_CHECK_LIB(mp3lame) does not include statics?
yes:
ldconfig -v|grep lame libmp3lame.so.0 -> libmp3lame.so.0.0.0 libmp3lame.so.0 -> libmp3lame.so.0.0.0
.gif
Wednesday February 26 2003 16:45, skrev Yves Degoyon:
is the location where it is installed is included in /etc/ld.so.conf ??
does a 'ldconfig -v' includes the lame libraries ??
220hex wrote:
I reinstalled lame and libmp3lame from the source package, so here's what I've got:
-rw-r--r-- 1 root root 376246 2002-06-30 18:04 libmp3lame.a -rw-r--r-- 1 root root 668 2002-06-30 18:04 libmp3lame.la lrwxrwxrwx 1 root root 19 2003-02-26 01:11 libmp3lame.so -> libmp3lame.so.0.0.0 lrwxrwxrwx 1 root root 19 2003-02-25 23:47 libmp3lame.so.0 -> libmp3lame.so.0.0.0 -rwxr-xr-x 1 root root 347012 2003-02-25 23:47 libmp3lame.so.0.0.0
still not recognised from .configure...
.gif
Wednesday February 26 2003 15:36, skrev Yves Degoyon:
surely true !! tom !!
but that's really silly from debian.
cheers,
sevy/yves
Tom Schouten wrote:
for the lame issue, i think it doesn't find libmp3lame which must be in a weird location on debian ((
can't help you more from that distance )
maybe it has something to do with the fact that on debian, the libmp3lame package has only static libararies?
-rw-r--r-- 1 root root 352520 Aug 16 2001 libmp3lame.a -rw-r--r-- 1 root root 668 Aug 16 2001 libmp3lame.la
maybe AC_CHECK_LIB(mp3lame) does not include statics?
so, i'm puzzled with the behaviour of configure on debian !!
well, you can comment the line, but it's perfectly valid on any other distributions ( i had a redhat at first, but now it evolved to something, hum, else ... )) )
220hex wrote:
yes:
ldconfig -v|grep lame libmp3lame.so.0 -> libmp3lame.so.0.0.0 libmp3lame.so.0 -> libmp3lame.so.0.0.0
.gif
Wednesday February 26 2003 16:45, skrev Yves Degoyon:
is the location where it is installed is included in /etc/ld.so.conf ??
does a 'ldconfig -v' includes the lame libraries ??
220hex wrote:
I reinstalled lame and libmp3lame from the source package, so here's what I've got:
-rw-r--r-- 1 root root 376246 2002-06-30 18:04 libmp3lame.a -rw-r--r-- 1 root root 668 2002-06-30 18:04 libmp3lame.la lrwxrwxrwx 1 root root 19 2003-02-26 01:11 libmp3lame.so -> libmp3lame.so.0.0.0 lrwxrwxrwx 1 root root 19 2003-02-25 23:47 libmp3lame.so.0 -> libmp3lame.so.0.0.0 -rwxr-xr-x 1 root root 347012 2003-02-25 23:47 libmp3lame.so.0.0.0
still not recognised from .configure...
.gif
Wednesday February 26 2003 15:36, skrev Yves Degoyon:
surely true !! tom !!
but that's really silly from debian.
cheers,
sevy/yves
Tom Schouten wrote:
for the lame issue, i think it doesn't find libmp3lame which must be in a weird location on debian ((
can't help you more from that distance )
maybe it has something to do with the fact that on debian, the libmp3lame package has only static libararies?
-rw-r--r-- 1 root root 352520 Aug 16 2001 libmp3lame.a -rw-r--r-- 1 root root 668 Aug 16 2001 libmp3lame.la
maybe AC_CHECK_LIB(mp3lame) does not include statics?
ok, i got your config.log and the real reason for this error is :
configure:4124: gcc -o conftest -g -O2 conftest.c -lmp3lame -ldl -lz -lbz2 >&5 /usr/lib/gcc-lib/i386-linux/3.2.3/../../../libmp3lame.so: undefined reference to `pow'
so, it seems the following macro : AC_CHECK_LIB(mp3lame, InitMP3, , AC_MSG_ERROR(streaming requires lame library!!))
forgets to link with -lm, i really don't know how to fix this on my side.
Yves Degoyon wrote:
so, i'm puzzled with the behaviour of configure on debian !!
well, you can comment the line, but it's perfectly valid on any other distributions ( i had a redhat at first, but now it evolved to something, hum, else ... )) )
220hex wrote:
yes:
ldconfig -v|grep lame libmp3lame.so.0 -> libmp3lame.so.0.0.0 libmp3lame.so.0 -> libmp3lame.so.0.0.0
.gif
Wednesday February 26 2003 16:45, skrev Yves Degoyon:
is the location where it is installed is included in /etc/ld.so.conf ??
does a 'ldconfig -v' includes the lame libraries ??
220hex wrote:
I reinstalled lame and libmp3lame from the source package, so here's what I've got:
-rw-r--r-- 1 root root 376246 2002-06-30 18:04 libmp3lame.a -rw-r--r-- 1 root root 668 2002-06-30 18:04 libmp3lame.la lrwxrwxrwx 1 root root 19 2003-02-26 01:11 libmp3lame.so -> libmp3lame.so.0.0.0 lrwxrwxrwx 1 root root 19 2003-02-25 23:47 libmp3lame.so.0 -> libmp3lame.so.0.0.0 -rwxr-xr-x 1 root root 347012 2003-02-25 23:47 libmp3lame.so.0.0.0
still not recognised from .configure...
.gif
Wednesday February 26 2003 15:36, skrev Yves Degoyon:
surely true !! tom !!
but that's really silly from debian.
cheers,
sevy/yves
Tom Schouten wrote:
>for the lame issue, i think it doesn't find >libmp3lame which must be in a weird location >on debian (( > >can't help you more from that distance ) > maybe it has something to do with the fact that on debian, the libmp3lame package has only static libararies?
-rw-r--r-- 1 root root 352520 Aug 16 2001 libmp3lame.a -rw-r--r-- 1 root root 668 Aug 16 2001 libmp3lame.la
maybe AC_CHECK_LIB(mp3lame) does not include statics?
watch this! it is the official lame-check from MPlayer - is this normal? never dared to read a machine-produced configure script, yet maybe this one is even written by hand
# mencoder requires (optional) those libs: libmp3lame and divx4linux encore if test "$_mencoder" != no ; then
echocheck "libmp3lame (for mencoder)"
_mp3lame=no
cat > $TMPC <<EOF
#include <lame/lame.h>
int main(void) { lame_version_t
lv; (void) lame_init(); get_lame_version_numerical(&lv); printf("%d%d\n",lv.major,lv.minor); return
0; }
EOF
# Note: libmp3lame usually depends on vorbis
cc_check -lmp3lame $_ld_vorbis -lm &&
_mp3lame=yes
if test "$_mp3lame" = yes ; then
_def_mp3lame="#define HAVE_MP3LAME $TMPO
"
_ld_mp3lame="-lmp3lame $_ld_vorbis"
else
_def_mp3lame='#undef HAVE_MP3LAME'
fi
echores "$_mp3lame"
c'est ca
martin
On Wed, 26 Feb 2003, Yves Degoyon wrote:
ok, i got your config.log and the real reason for this error is :
configure:4124: gcc -o conftest -g -O2 conftest.c -lmp3lame -ldl -lz -lbz2 >&5 /usr/lib/gcc-lib/i386-linux/3.2.3/../../../libmp3lame.so: undefined reference to `pow'
so, it seems the following macro : AC_CHECK_LIB(mp3lame, InitMP3, , AC_MSG_ERROR(streaming requires lame library!!))
forgets to link with -lm, i really don't know how to fix this on my side.
Yves Degoyon wrote:
so, i'm puzzled with the behaviour of configure on debian !!
well, you can comment the line, but it's perfectly valid on any other distributions ( i had a redhat at first, but now it evolved to something, hum, else ... )) )
220hex wrote:
yes:
ldconfig -v|grep lame libmp3lame.so.0 -> libmp3lame.so.0.0.0 libmp3lame.so.0 -> libmp3lame.so.0.0.0
.gif
Wednesday February 26 2003 16:45, skrev Yves Degoyon:
is the location where it is installed is included in /etc/ld.so.conf ??
does a 'ldconfig -v' includes the lame libraries ??
220hex wrote:
I reinstalled lame and libmp3lame from the source package, so here's what I've got:
-rw-r--r-- 1 root root 376246 2002-06-30 18:04 libmp3lame.a -rw-r--r-- 1 root root 668 2002-06-30 18:04 libmp3lame.la lrwxrwxrwx 1 root root 19 2003-02-26 01:11 libmp3lame.so -> libmp3lame.so.0.0.0 lrwxrwxrwx 1 root root 19 2003-02-25 23:47 libmp3lame.so.0 -> libmp3lame.so.0.0.0 -rwxr-xr-x 1 root root 347012 2003-02-25 23:47 libmp3lame.so.0.0.0
still not recognised from .configure...
.gif
Wednesday February 26 2003 15:36, skrev Yves Degoyon:
surely true !! tom !!
but that's really silly from debian.
cheers,
sevy/yves
Tom Schouten wrote:
>>for the lame issue, i think it doesn't find >>libmp3lame which must be in a weird location >>on debian (( >> >>can't help you more from that distance ) >> >maybe it has something to do with the fact that on debian, the >libmp3lame package has only static libararies? > >-rw-r--r-- 1 root root 352520 Aug 16 2001 libmp3lame.a >-rw-r--r-- 1 root root 668 Aug 16 2001 libmp3lame.la > > > >maybe AC_CHECK_LIB(mp3lame) does not include statics? >
martin pi
http://attacksyour.net/pi
www.machfeld.net
On Wednesday 26 February 2003 17:38, martin pi wrote:
this seems to work for me (debian)
AC_CHECK_LIB(mp3lame, InitMP3, , AC_MSG_ERROR(streaming requires lame library!!) , -lm)
watch this! it is the official lame-check from MPlayer - is this normal? never dared to read a machine-produced configure script, yet maybe this one is even written by hand
# mencoder requires (optional) those libs: libmp3lame and divx4linux encore if test "$_mencoder" != no ; then
echocheck "libmp3lame (for mencoder)" _mp3lame=no cat > $TMPC <<EOF #include <lame/lame.h> int main(void) { lame_version_t lv; (void) lame_init(); get_lame_version_numerical(&lv); printf("%d%d\n",lv.major,lv.minor); return 0; } EOF # Note: libmp3lame usually depends on vorbis cc_check -lmp3lame $_ld_vorbis -lm && _mp3lame=yes if test "$_mp3lame" = yes ; then _def_mp3lame="#define HAVE_MP3LAME
$TMPO
" _ld_mp3lame="-lmp3lame $_ld_vorbis" else _def_mp3lame='#undef HAVE_MP3LAME' fi echores "$_mp3lame"c'est ca
martin
On Wed, 26 Feb 2003, Yves Degoyon wrote:
ok, i got your config.log and the real reason for this error is :
configure:4124: gcc -o conftest -g -O2 conftest.c -lmp3lame -ldl -lz -lbz2 >&5 /usr/lib/gcc-lib/i386-linux/3.2.3/../../../libmp3lame.so: undefined reference to `pow'
so, it seems the following macro : AC_CHECK_LIB(mp3lame, InitMP3, , AC_MSG_ERROR(streaming requires lame library!!))
forgets to link with -lm, i really don't know how to fix this on my side.
Yves Degoyon wrote:
so, i'm puzzled with the behaviour of configure on debian !!
well, you can comment the line, but it's perfectly valid on any other distributions ( i had a redhat at first, but now it evolved to something, hum, else ... )) )
220hex wrote:
yes:
ldconfig -v|grep lame libmp3lame.so.0 -> libmp3lame.so.0.0.0 libmp3lame.so.0 -> libmp3lame.so.0.0.0
.gif
Wednesday February 26 2003 16:45, skrev Yves Degoyon:
is the location where it is installed is included in /etc/ld.so.conf ??
does a 'ldconfig -v' includes the lame libraries ??
220hex wrote:
I reinstalled lame and libmp3lame from the source package, so here's what I've got:
-rw-r--r-- 1 root root 376246 2002-06-30 18:04 libmp3lame.a -rw-r--r-- 1 root root 668 2002-06-30 18:04 libmp3lame.la lrwxrwxrwx 1 root root 19 2003-02-26 01:11 libmp3lame.so -> libmp3lame.so.0.0.0 lrwxrwxrwx 1 root root 19 2003-02-25 23:47 libmp3lame.so.0 -> libmp3lame.so.0.0.0 -rwxr-xr-x 1 root root 347012 2003-02-25 23:47 libmp3lame.so.0.0.0
still not recognised from .configure...
.gif
Wednesday February 26 2003 15:36, skrev Yves Degoyon: >surely true !! tom !! > >but that's really silly from debian. > >cheers, > >sevy/yves > >Tom Schouten wrote: >>>for the lame issue, i think it doesn't find >>>libmp3lame which must be in a weird location >>>on debian (( >>> >>>can't help you more from that distance ) >> >>maybe it has something to do with the fact that on debian, the >>libmp3lame package has only static libararies? >> >>-rw-r--r-- 1 root root 352520 Aug 16 2001 >> libmp3lame.a -rw-r--r-- 1 root root 668 Aug 16 >> 2001 libmp3lame.la >> >> >> >>maybe AC_CHECK_LIB(mp3lame) does not include statics?
martin pi http://attacksyour.net/pi www.machfeld.net
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
ok, fixed in next release ( but it won't be released soon )
Tom Schouten wrote:
On Wednesday 26 February 2003 17:38, martin pi wrote:
this seems to work for me (debian)
AC_CHECK_LIB(mp3lame, InitMP3, , AC_MSG_ERROR(streaming requires lame library!!) , -lm)
watch this! it is the official lame-check from MPlayer - is this normal? never dared to read a machine-produced configure script, yet maybe this one is even written by hand
# mencoder requires (optional) those libs: libmp3lame and divx4linux encore if test "$_mencoder" != no ; then
echocheck "libmp3lame (for mencoder)" _mp3lame=no cat > $TMPC <<EOF #include <lame/lame.h> int main(void) { lame_version_t lv; (void) lame_init(); get_lame_version_numerical(&lv); printf("%d%d\n",lv.major,lv.minor); return 0; } EOF # Note: libmp3lame usually depends on vorbis cc_check -lmp3lame $_ld_vorbis -lm && _mp3lame=yes if test "$_mp3lame" = yes ; then _def_mp3lame="#define HAVE_MP3LAME
$TMPO
" _ld_mp3lame="-lmp3lame $_ld_vorbis" else _def_mp3lame='#undef HAVE_MP3LAME' fi echores "$_mp3lame"c'est ca
martin
On Wed, 26 Feb 2003, Yves Degoyon wrote:
ok, i got your config.log and the real reason for this error is :
configure:4124: gcc -o conftest -g -O2 conftest.c -lmp3lame -ldl -lz -lbz2 >&5 /usr/lib/gcc-lib/i386-linux/3.2.3/../../../libmp3lame.so: undefined reference to `pow'
so, it seems the following macro : AC_CHECK_LIB(mp3lame, InitMP3, , AC_MSG_ERROR(streaming requires lame library!!))
forgets to link with -lm, i really don't know how to fix this on my side.
Yves Degoyon wrote:
so, i'm puzzled with the behaviour of configure on debian !!
well, you can comment the line, but it's perfectly valid on any other distributions ( i had a redhat at first, but now it evolved to something, hum, else ... )) )
220hex wrote:
yes:
ldconfig -v|grep lame libmp3lame.so.0 -> libmp3lame.so.0.0.0 libmp3lame.so.0 -> libmp3lame.so.0.0.0
.gif
Wednesday February 26 2003 16:45, skrev Yves Degoyon:
is the location where it is installed is included in /etc/ld.so.conf ??
does a 'ldconfig -v' includes the lame libraries ??
220hex wrote:
>I reinstalled lame and libmp3lame from the source package, so here's >what I've got: > >-rw-r--r-- 1 root root 376246 2002-06-30 18:04 >libmp3lame.a -rw-r--r-- 1 root root 668 2002-06-30 >18:04 libmp3lame.la lrwxrwxrwx 1 root root 19 >2003-02-26 01:11 libmp3lame.so -> libmp3lame.so.0.0.0 >lrwxrwxrwx 1 root root 19 2003-02-25 23:47 >libmp3lame.so.0 -> libmp3lame.so.0.0.0 >-rwxr-xr-x 1 root root 347012 2003-02-25 23:47 >libmp3lame.so.0.0.0 > >still not recognised from .configure... > >.gif > >Wednesday February 26 2003 15:36, skrev Yves Degoyon: > >>surely true !! tom !! >> >>but that's really silly from debian. >> >>cheers, >> >>sevy/yves >> >>Tom Schouten wrote: >> >>>>for the lame issue, i think it doesn't find >>>>libmp3lame which must be in a weird location >>>>on debian (( >>>> >>>>can't help you more from that distance ) >>>> >>>maybe it has something to do with the fact that on debian, the >>>libmp3lame package has only static libararies? >>> >>>-rw-r--r-- 1 root root 352520 Aug 16 2001 >>>libmp3lame.a -rw-r--r-- 1 root root 668 Aug 16 >>>2001 libmp3lame.la >>> >>> >>> >>>maybe AC_CHECK_LIB(mp3lame) does not include statics? >>>
martin pi http://attacksyour.net/pi www.machfeld.net
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
yes,that did the trick! Had to do the same for ogg, vorbis and vorbisenc. Now everything compiles fine.
Thanks!
.gif
Wednesday February 26 2003 19:48, skrev Tom Schouten:
On Wednesday 26 February 2003 17:38, martin pi wrote:
this seems to work for me (debian)
AC_CHECK_LIB(mp3lame, InitMP3, , AC_MSG_ERROR(streaming requires lame library!!) , -lm)
watch this! it is the official lame-check from MPlayer - is this normal? never dared to read a machine-produced configure script, yet maybe this one is even written by hand
# mencoder requires (optional) those libs: libmp3lame and divx4linux encore if test "$_mencoder" != no ; then
echocheck "libmp3lame (for mencoder)" _mp3lame=no cat > $TMPC <<EOF #include <lame/lame.h> int main(void) { lame_version_t lv; (void) lame_init(); get_lame_version_numerical(&lv); printf("%d%d\n",lv.major,lv.minor); return 0; } EOF # Note: libmp3lame usually depends on vorbis cc_check -lmp3lame $_ld_vorbis -lm && _mp3lame=yes if test "$_mp3lame" = yes ; then _def_mp3lame="#define HAVE_MP3LAME
$TMPO
" _ld_mp3lame="-lmp3lame $_ld_vorbis" else _def_mp3lame='#undef HAVE_MP3LAME' fi echores "$_mp3lame"c'est ca
martin
On Wed, 26 Feb 2003, Yves Degoyon wrote:
ok, i got your config.log and the real reason for this error is :
configure:4124: gcc -o conftest -g -O2 conftest.c -lmp3lame -ldl -lz -lbz2 >&5 /usr/lib/gcc-lib/i386-linux/3.2.3/../../../libmp3lame.so: undefined reference to `pow'
so, it seems the following macro : AC_CHECK_LIB(mp3lame, InitMP3, , AC_MSG_ERROR(streaming requires lame library!!))
forgets to link with -lm, i really don't know how to fix this on my side.
Yves Degoyon wrote:
so, i'm puzzled with the behaviour of configure on debian !!
well, you can comment the line, but it's perfectly valid on any other distributions ( i had a redhat at first, but now it evolved to something, hum, else ... )) )
220hex wrote:
yes:
ldconfig -v|grep lame libmp3lame.so.0 -> libmp3lame.so.0.0.0 libmp3lame.so.0 -> libmp3lame.so.0.0.0
.gif
Wednesday February 26 2003 16:45, skrev Yves Degoyon:
is the location where it is installed is included in /etc/ld.so.conf ??
does a 'ldconfig -v' includes the lame libraries ??
220hex wrote: >I reinstalled lame and libmp3lame from the source package, so > here's what I've got: > >-rw-r--r-- 1 root root 376246 2002-06-30 18:04 > libmp3lame.a -rw-r--r-- 1 root root 668 2002-06-30 > 18:04 libmp3lame.la lrwxrwxrwx 1 root root 19 > 2003-02-26 01:11 libmp3lame.so -> libmp3lame.so.0.0.0 >lrwxrwxrwx 1 root root 19 2003-02-25 23:47 >libmp3lame.so.0 -> libmp3lame.so.0.0.0 >-rwxr-xr-x 1 root root 347012 2003-02-25 23:47 >libmp3lame.so.0.0.0 > >still not recognised from .configure... > >.gif > >Wednesday February 26 2003 15:36, skrev Yves Degoyon: >>surely true !! tom !! >> >>but that's really silly from debian. >> >>cheers, >> >>sevy/yves >> >>Tom Schouten wrote: >>>>for the lame issue, i think it doesn't find >>>>libmp3lame which must be in a weird location >>>>on debian (( >>>> >>>>can't help you more from that distance ) >>> >>>maybe it has something to do with the fact that on debian, the >>>libmp3lame package has only static libararies? >>> >>>-rw-r--r-- 1 root root 352520 Aug 16 2001 >>> libmp3lame.a -rw-r--r-- 1 root root 668 Aug 16 >>> 2001 libmp3lame.la >>> >>> >>> >>>maybe AC_CHECK_LIB(mp3lame) does not include statics?
martin pi http://attacksyour.net/pi www.machfeld.net
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
libmp3lame is an unofficial deb package and not in the debian distribution.
Yves Degoyon wrote:
surely true !! tom !!
but that's really silly from debian.
cheers,
sevy/yves
Tom Schouten wrote:
for the lame issue, i think it doesn't find libmp3lame which must be in a weird location on debian ((
can't help you more from that distance )
maybe it has something to do with the fact that on debian, the libmp3lame package has only static libararies?
-rw-r--r-- 1 root root 352520 Aug 16 2001 libmp3lame.a -rw-r--r-- 1 root root 668 Aug 16 2001 libmp3lame.la
maybe AC_CHECK_LIB(mp3lame) does not include statics?
ahh i was wondering why this wasn't a problem for me... but i'm a bit sick now so i didn't look into it. but maybe this will help you:
add this to your /etc/apt/sources.list:
deb http://marillat.free.fr/ unstable main deb http://marillat.free.fr/ stable main
and then run:
apt-get update apt-get install liblame-dev
pix.
On Wed, 26 Feb 2003 17:45:30 +0100 smoerk smoerk@gmx.de wrote:
libmp3lame is an unofficial deb package and not in the debian distribution.
Yves Degoyon wrote:
surely true !! tom !!
but that's really silly from debian.
cheers,
sevy/yves
Tom Schouten wrote:
for the lame issue, i think it doesn't find libmp3lame which must be in a weird location on debian ((
can't help you more from that distance )
maybe it has something to do with the fact that on debian, the libmp3lame package has only static libararies?
-rw-r--r-- 1 root root 352520 Aug 16 2001 libmp3lame.a -rw-r--r-- 1 root root 668 Aug 16 2001 libmp3lame.la
maybe AC_CHECK_LIB(mp3lame) does not include statics?
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
I already did that. liblame-dev is installed, and all other packages that depends on it works fine (like ffmpeg and avidmux).
.gif
Wednesday February 26 2003 17:45, skrev pix:
ahh i was wondering why this wasn't a problem for me... but i'm a bit sick now so i didn't look into it. but maybe this will help you:
add this to your /etc/apt/sources.list:
deb http://marillat.free.fr/ unstable main deb http://marillat.free.fr/ stable main
and then run:
apt-get update apt-get install liblame-dev
pix.
On Wed, 26 Feb 2003 17:45:30 +0100
smoerk smoerk@gmx.de wrote:
libmp3lame is an unofficial deb package and not in the debian distribution.
Yves Degoyon wrote:
surely true !! tom !!
but that's really silly from debian.
cheers,
sevy/yves
Tom Schouten wrote:
for the lame issue, i think it doesn't find libmp3lame which must be in a weird location on debian ((
can't help you more from that distance )
maybe it has something to do with the fact that on debian, the libmp3lame package has only static libararies?
-rw-r--r-- 1 root root 352520 Aug 16 2001 libmp3lame.a -rw-r--r-- 1 root root 668 Aug 16 2001 libmp3lame.la
maybe AC_CHECK_LIB(mp3lame) does not include statics?
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
This infinite thread about mp3lame should remind us one thing: using mp3 is lame, even more for content creators... At this point in the history of streaming audio, we whould stop using proprietary formats and use free formats like ogg. The mp3lame library cannot be distributed with free operating systems, and that's one of the reason why it's difficult to use.
Check: http://mp3licensing.com/royalty/ http://www.vorbis.com/faq.psp -- Marc
for the lame issue, i think it doesn't find libmp3lame which must be in a weird location on debian ((
just to be straight: i am using gentoo and since the linker does find the lib, it is surely not in a weird location - doesn't configure use the same env as the linker?
martin
can't help you more from that distance )
cheers,
sevy/yves
220hex wrote:
thanks, that got me a little further, but now make stops with:
gcc: /home/gif/dl/pd/ffmpeg-cvs-2003-02-25/libavformat/libavformat.a: No such file or directory gcc: /home/gif/dl/pd/ffmpeg-cvs-2003-02-25/libavcodec/libavcodec.a: No such file or directory make: *** [pidip.pd_linux] Error 1
As you can see I'm using the latest ffmpeg source from cvs. ??
.gif
Wednesday February 26 2003 10:16, skrev martin pi:
same with me - just commented out the according line in configure.ac and autoconf'd - it still links successfull
martin
On Wed, 26 Feb 2003, 220hex wrote:
hi! I'm trying to compile the latest version of PiDiP on a Debian system, but keep getting a mp3lame error during configure. I have liblame-dev 3.93.1 debian-package installed, and also tried lame 3.92 from the source tarball.
Any hints?
The error message: checking for InitMP3 in -lmp3lame... no configure: error: streaming requires lame library!!
--
www.220hex.org www.r3aktor.com http://mob.bek.no
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
martin pi http://attacksyour.net/pi www.machfeld.net
martin pi
http://attacksyour.net/pi
www.machfeld.net