* Armin Bauer schrieb am 14.04.04 um 11:34 Uhr: > Hi. Hi Armin,
i created a patch to update autogen.sh files. Attached. -Marc > > Since yesterday i had problems with building the plugins. the autotools > didnt append the .so to the libraries (libpalm_sync.0.0.0). Because of > this i could not install the plugin (they were not found during > loading). > > sr/lib/libpisock.so -Wl,--export-dynamic -Wl,-soname -Wl,libpalm_sync.0 > -o .libs/libpalm_sync.0.0.0 > (cd .libs && rm -f libpalm_sync.0 && ln -s libpalm_sync.0.0.0 > libpalm_sync.0) > (cd .libs && rm -f libpalm_sync && ln -s libpalm_sync.0.0.0 > libpalm_sync) > > I guess that an update of the autotools broke this. I remembered a hint > i got on irc: > > our autogen.sh file in multisync looks like this > > if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then > if test -z "$NO_LIBTOOLIZE" ; then > echo "Running libtoolize..." > libtoolize --force --copy > fi > fi > > this has been correct some time ago but now it should be AC_PROG_LIBTOOL > By changing this i got the behaviuor i wanted (libpalm_sync.so.0.0.0) > > usr/lib/libpisock.so -Wl,--export-dynamic -Wl,-soname > -Wl,libpalm_sync.so.0 -o .libs/libpalm_sync.so.0.0.0 > (cd .libs && rm -f libpalm_sync.so.0 && ln -s libpalm_sync.so.0.0.0 > libpalm_sync.so.0) > (cd .libs && rm -f libpalm_sync.so && ln -s libpalm_sync.so.0.0.0 > libpalm_sync.so) > > could you please change the AM_PROG_LIBTOOL to AC_PROG_LIBTOOL (line > 131) in your local copy, rebuild everything and see if it breaks > anything. Please tell me what happend so i can see if it is ok to commit > this change. > > Armin > -- ------------------------------------------- Take back the Net! http://www.anti-dmca.org -------------------------------------------
Index: autogen.sh =================================================================== RCS file: /cvsroot/multisync/multisync/autogen.sh,v retrieving revision 1.2 diff -u -3 -p -u -r1.2 autogen.sh --- autogen.sh 28 Jun 2003 11:44:52 -0000 1.2 +++ autogen.sh 19 Apr 2004 14:54:05 -0000 @@ -48,7 +48,7 @@ fi } } -(grep "^AM_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && { +(grep "^AC_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && { (libtool --version) < /dev/null > /dev/null 2>&1 || { echo echo "**Error**: You must have \`libtool' installed." @@ -128,7 +128,7 @@ do echo "Running xml-i18n-toolize..." xml-i18n-toolize --copy --force --automake fi - if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then + if grep "^AC_PROG_LIBTOOL" configure.in >/dev/null; then if test -z "$NO_LIBTOOLIZE" ; then echo "Running libtoolize..." libtoolize --force --copy Index: plugins/backup_plugin/autogen.sh =================================================================== RCS file: /cvsroot/multisync/multisync/plugins/backup_plugin/autogen.sh,v retrieving revision 1.2 diff -u -3 -p -u -r1.2 autogen.sh --- plugins/backup_plugin/autogen.sh 28 Jun 2003 11:23:24 -0000 1.2 +++ plugins/backup_plugin/autogen.sh 19 Apr 2004 14:54:12 -0000 @@ -48,7 +48,7 @@ fi } } -(grep "^AM_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && { +(grep "^AC_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && { (libtool --version) < /dev/null > /dev/null 2>&1 || { echo echo "**Error**: You must have \`libtool' installed." @@ -128,7 +128,7 @@ do echo "Running xml-i18n-toolize..." xml-i18n-toolize --copy --force --automake fi - if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then + if grep "^AC_PROG_LIBTOOL" configure.in >/dev/null; then if test -z "$NO_LIBTOOLIZE" ; then echo "Running libtoolize..." libtoolize --force --copy Index: plugins/evolution_sync/autogen.sh =================================================================== RCS file: /cvsroot/multisync/multisync/plugins/evolution_sync/autogen.sh,v retrieving revision 1.2 diff -u -3 -p -u -r1.2 autogen.sh --- plugins/evolution_sync/autogen.sh 28 Jun 2003 11:20:42 -0000 1.2 +++ plugins/evolution_sync/autogen.sh 19 Apr 2004 14:54:12 -0000 @@ -48,7 +48,7 @@ fi } } -(grep "^AM_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && { +(grep "^AC_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && { (libtool --version) < /dev/null > /dev/null 2>&1 || { echo echo "**Error**: You must have \`libtool' installed." @@ -128,7 +128,7 @@ do echo "Running xml-i18n-toolize..." xml-i18n-toolize --copy --force --automake fi - if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then + if grep "^AC_PROG_LIBTOOL" configure.in >/dev/null; then if test -z "$NO_LIBTOOLIZE" ; then echo "Running libtoolize..." libtoolize --force --copy Index: plugins/irmc_sync/autogen.sh =================================================================== RCS file: /cvsroot/multisync/multisync/plugins/irmc_sync/autogen.sh,v retrieving revision 1.2 diff -u -3 -p -u -r1.2 autogen.sh --- plugins/irmc_sync/autogen.sh 28 Jun 2003 11:25:42 -0000 1.2 +++ plugins/irmc_sync/autogen.sh 19 Apr 2004 14:54:12 -0000 @@ -48,7 +48,7 @@ fi } } -(grep "^AM_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && { +(grep "^AC_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && { (libtool --version) < /dev/null > /dev/null 2>&1 || { echo echo "**Error**: You must have \`libtool' installed." @@ -128,7 +128,7 @@ do echo "Running xml-i18n-toolize..." xml-i18n-toolize --copy --force --automake fi - if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then + if grep "^AC_PROG_LIBTOOL" configure.in >/dev/null; then if test -z "$NO_LIBTOOLIZE" ; then echo "Running libtoolize..." libtoolize --force --copy Index: plugins/opie_sync/macros/autogen.sh =================================================================== RCS file: /cvsroot/multisync/multisync/plugins/opie_sync/macros/autogen.sh,v retrieving revision 1.1 diff -u -3 -p -u -r1.1 autogen.sh --- plugins/opie_sync/macros/autogen.sh 11 Jul 2003 21:21:04 -0000 1.1 +++ plugins/opie_sync/macros/autogen.sh 19 Apr 2004 14:54:12 -0000 @@ -27,7 +27,7 @@ fi } } -(grep "^AM_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && { +(grep "^AC_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && { (libtool --version) < /dev/null > /dev/null 2>&1 || { echo echo "**Error**: You must have \`libtool' installed to compile Gnome." @@ -152,7 +152,7 @@ do echo "Running xml-i18n-toolize... Ignore non-fatal messages." xml-i18n-toolize --copy --force --automake fi - if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then + if grep "^AC_PROG_LIBTOOL" configure.in >/dev/null; then if test -z "$NO_LIBTOOLIZE" ; then echo "Running libtoolize..." libtoolize --force --copy Index: plugins/syncml_plugin/autogen.sh =================================================================== RCS file: /cvsroot/multisync/multisync/plugins/syncml_plugin/autogen.sh,v retrieving revision 1.2 diff -u -3 -p -u -r1.2 autogen.sh --- plugins/syncml_plugin/autogen.sh 28 Jun 2003 11:35:13 -0000 1.2 +++ plugins/syncml_plugin/autogen.sh 19 Apr 2004 14:54:12 -0000 @@ -48,7 +48,7 @@ fi } } -(grep "^AM_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && { +(grep "^AC_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && { (libtool --version) < /dev/null > /dev/null 2>&1 || { echo echo "**Error**: You must have \`libtool' installed." @@ -128,7 +128,7 @@ do echo "Running xml-i18n-toolize..." xml-i18n-toolize --copy --force --automake fi - if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then + if grep "^AC_PROG_LIBTOOL" configure.in >/dev/null; then if test -z "$NO_LIBTOOLIZE" ; then echo "Running libtoolize..." libtoolize --force --copy