i'm trying to compile some libs for the psp.
when configuring libogg, i get the following error :
Code: Select all
*** [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.
After :
Code: Select all
LDFLAGS="-L`psp-config --pspsdk-path`/lib -lc -lpspuser" ./autogen.sh --host psp --prefix=`psp-config --psp-prefix`
Code: Select all
# # 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
Code: Select all
LDFLAGS="-L`psp-config --pspsdk-path`/lib -lc -lpspuser" ./configure --host psp --prefix=`psp-config --psp-prefix`
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: Select all
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