| View previous topic :: View next topic |
| Author |
Message |
dom
Joined: 05 Oct 2004 Posts: 29
|
Posted: Wed Nov 09, 2005 1:10 am Post subject: libtool.m4 and ltmain.sh have a version mismatch! |
|
|
Hi everybody,
i'm trying to compile some libs for the psp.
when configuring libogg, i get the following error :
| Code: | *** [Gentoo] sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.20, ltmain.sh = 1.5.6) ***
Please run:
libtoolize --copy --force
if appropriate, please contact the maintainer of this
package (or your distribution) for help.
|
when running libtoolize --copy --force , psp specific configuration is gone.
After :
| Code: |
LDFLAGS="-L`psp-config --pspsdk-path`/lib -lc -lpspuser" ./autogen.sh --host psp --prefix=`psp-config --psp-prefix`
|
i commented the following in configure :
| Code: | # # Check if we have a version mismatch between libtool.m4 and ltmain.sh.
# #
# # Note: This should be in AC_LIBTOOL_SETUP, _after_ $ltmain have been defined.
# # We also should do it _before_ AC_LIBTOOL_LANG_C_CONFIG that actually
# # calls AC_LIBTOOL_CONFIG and creates libtool.
# #
# echo "$as_me:$LINENO: checking for correct ltmain.sh version" >&5
# echo $ECHO_N "checking for correct ltmain.sh version... $ECHO_C" >&6
# if test -z "$ltmain"; then
# echo "$as_me:$LINENO: result: no" >&5
# echo "${ECHO_T}no" >&6
# echo
# echo "*** [Gentoo] sanity check failed! ***"
# echo "*** \$ltmain is not defined, please check the patch for consistency! ***"
# echo
# exit 1
# fi
# gentoo_lt_version="1.5.20"
# gentoo_ltmain_version=`grep '^[[:space:]]*VERSION=' $ltmain | sed -e 's|^[[:space:]]*VERSION=||'`
# if test "$gentoo_lt_version" != "$gentoo_ltmain_version"; then
# echo "$as_me:$LINENO: result: no" >&5
# echo "${ECHO_T}no" >&6
# echo
# echo "*** [Gentoo] sanity check failed! ***"
# echo "*** libtool.m4 and ltmain.sh have a version mismatch! ***"
# echo "*** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***"
# echo
# echo "Please run:"
# echo
# echo " libtoolize --copy --force"
# echo
# echo "if appropriate, please contact the maintainer of this"
# echo "package (or your distribution) for help."
# echo
# exit 1
# else
# echo "$as_me:$LINENO: result: yes" >&5
# echo "${ECHO_T}yes" >&6
# fi
|
then :
| Code: |
LDFLAGS="-L`psp-config --pspsdk-path`/lib -lc -lpspuser" ./configure --host psp --prefix=`psp-config --psp-prefix`
|
and make && make install just run fine.
Is this safe to bypass this sanity check ?
Can this sanity check be disabled in configure.in or elsewhere with a less dirty method ?
Is this problem related to my following settings or distribution ?
| Code: |
automake --version
automake (GNU automake) 1.6.3
but automake-1.4 automake-1.5 automake-1.6 automake-1.7 automake-1.8 automake-1.9 are also present
autoconf --version
autoconf (GNU Autoconf) 2.59
but autoconf-2.13 autoconf-2.59 are aslo present
libtool --version
ltmain.sh (GNU libtool) 1.5.20 (1.1220.2.287 2005/08/31 18:54:15)
Os is gentoo on p4 hardware
|
_________________ @+
dom |
|
| Back to top |
|
 |
mrbrown
Joined: 17 Jan 2004 Posts: 1536
|
Posted: Wed Nov 09, 2005 4:30 am Post subject: |
|
|
If everything works then I'd guess it's ok to bypass that check.
BTW, I added libogg and libvorbis so that I could get OGG support for SDL_mixer going. I then hacked SDL_mixer to be able to link with libTremor (the fastest OGG decoder on PSP). libogg and libvorbis are horribly slow on PSP. If you want to play OGG through SDL_mixer or without it, I suggest you use libTremor. |
|
| Back to top |
|
 |
dom
Joined: 05 Oct 2004 Posts: 29
|
Posted: Mon Nov 14, 2005 6:50 am Post subject: |
|
|
Thank you mrbrown,
will try libTremor asap, not much time those days .... _________________ @+
dom |
|
| Back to top |
|
 |
pensoffsky
Joined: 13 Nov 2005 Posts: 8
|
Posted: Mon Dec 12, 2005 7:05 am Post subject: |
|
|
| Quote: | | BTW, I added libogg and libvorbis so that I could get OGG support for SDL_mixer going. I then hacked SDL_mixer to be able to link with libTremor (the fastest OGG decoder on PSP). libogg and libvorbis are horribly slow on PSP. If you want to play OGG through SDL_mixer or without it, I suggest you use libTremor. |
how did you do that?
i am trying to get ogg support in sdl_mixer,
on the pc it works fine, the program plays ogg and wav,
but on the psp only wav works, when the prog tries to load a ogg file it crashes,
i think the lvorbis & logg are not linked into the program
what am i doing wrong?
pensoffsky |
|
| Back to top |
|
 |
mrbrown
Joined: 17 Jan 2004 Posts: 1536
|
Posted: Mon Dec 12, 2005 7:10 am Post subject: |
|
|
| Compile and install libTremor. Don't use libogg and libvorbis, they are way too slow. Reconfigure and recompile SDL_mixer once libTremor is installed. |
|
| Back to top |
|
 |
pensoffsky
Joined: 13 Nov 2005 Posts: 8
|
Posted: Mon Dec 12, 2005 8:11 am Post subject: |
|
|
thx for the fast answer,
that solved the problem,
thanks
pens |
|
| Back to top |
|
 |
|