Opened 16 years ago
Closed 15 years ago
#17980 closed defect (worksforme)
Libtool causing configure problems with faad2
Reported by: | ray.j@… | Owned by: | pguyot (Paul Guyot) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | libtool | Cc: | jmroot (Joshua Root) |
Port: | libtool, faad2 |
Description (last modified by jmroot (Joshua Root))
sudo port install xine-lib ---> Configuring faad2 Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_faad2/work/faad2" && ./configure --prefix=/opt/local --without-bmp --without-xmms --without-drm --without-mpeg4ip " returned error 2 Command output: configure: WARNING: unrecognized options: --without-bmp checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes ./configure: line 2554: syntax error near unexpected token `build_libtool_libs,' ./configure: line 2554: ` _LT_DECL(build_libtool_libs, enable_shared, 0,' Error: The following dependencies failed to build: faad2 ffmpeg a52dec Error: Status 1 encountered during processing.
Change History (9)
comment:1 Changed 16 years ago by ray.j@…
comment:2 Changed 16 years ago by jmroot (Joshua Root)
Cc: | jmr@… added |
---|---|
Description: | modified (diff) |
Owner: | changed from macports-tickets@… to pguyot@… |
Works fine here. Are your autoconf, automake and libtool ports up to date? If you use -v, do you see output like this at the start of the configure phase?
autoreconf: Entering directory `.' autoreconf: configure.in: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.in: tracing autoreconf: running: /opt/local/bin/glibtoolize --copy --force glibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.'. glibtoolize: copying file `./ltmain.sh' glibtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and glibtoolize: rerunning glibtoolize, to keep the correct libtool macros in-tree. glibtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: running: /opt/local/bin/autoconf --force autoreconf: running: /opt/local/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.in:14: installing `./config.guess' configure.in:14: installing `./config.sub' configure.in:12: installing `./install-sh' configure.in:12: installing `./missing' common/mp4ff/Makefile.am: installing `./depcomp' Makefile.am: installing `./INSTALL' autoreconf: Leaving directory `.'
comment:3 Changed 16 years ago by ray.j@…
I am up to date(i do a "sudo port selfupdate && sudo port update outdated" daily) but i did a sudo port uninstall automake,libtool and autoconf and install them again and it didn't help either, didn't expect it to work but it was worth a try i guess.
Anyhow, with -v :
sudo port -v install xine-lib ---> Configuring faad2 autoreconf: Entering directory `.' autoreconf: configure.in: not using Gettext autoreconf: running: aclocal --force /opt/local/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted definition of AM_PATH_GDK_PIXBUF /opt/local/share/aclocal/gdk-pixbuf.m4:12: run info '(automake)Extending aclocal' /opt/local/share/aclocal/gdk-pixbuf.m4:12: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal autoreconf: configure.in: tracing autoreconf: running: /opt/local/bin/glibtoolize --copy --force glibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.'. glibtoolize: copying file `./ltmain.sh' glibtoolize: You should add the contents of the following files to `aclocal.m4': glibtoolize: `/opt/local/share/aclocal/libtool.m4' glibtoolize: `/opt/local/share/aclocal/ltversion.m4' glibtoolize: `/opt/local/share/aclocal/ltsugar.m4' glibtoolize: `/opt/local/share/aclocal/lt~obsolete.m4' glibtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and glibtoolize: rerunning glibtoolize, to keep the correct libtool macros in-tree. glibtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. /opt/local/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted definition of AM_PATH_GDK_PIXBUF /opt/local/share/aclocal/gdk-pixbuf.m4:12: run info '(automake)Extending aclocal' /opt/local/share/aclocal/gdk-pixbuf.m4:12: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal autoreconf: running: /opt/local/bin/autoconf --force autoreconf: running: /opt/local/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing autoreconf: Leaving directory `.' configure: WARNING: unrecognized options: --without-bmp checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes ./configure: line 2554: syntax error near unexpected token `build_libtool_libs,' ./configure: line 2554: ` _LT_DECL(build_libtool_libs, enable_shared, 0,' Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_faad2/work/faad2" && ./configure --prefix=/opt/local --without-bmp --without-xmms --without-drm --without-mpeg4ip " returned error 2 Command output: configure: WARNING: unrecognized options: --without-bmp checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes ./configure: line 2554: syntax error near unexpected token `build_libtool_libs,' ./configure: line 2554: ` _LT_DECL(build_libtool_libs, enable_shared, 0,' Warning: the following items did not execute (for faad2): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install Error: The following dependencies failed to build: faad2 ffmpeg a52dec Error: Status 1 encountered during processing.
comment:4 Changed 16 years ago by blb@…
Summary: | Libtool causing configure problems → Libtool causing configure problems with faad2 |
---|
From your output:
glibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.'. glibtoolize: copying file `./ltmain.sh' glibtoolize: You should add the contents of the following files to `aclocal.m4': glibtoolize: `/opt/local/share/aclocal/libtool.m4' glibtoolize: `/opt/local/share/aclocal/ltversion.m4' glibtoolize: `/opt/local/share/aclocal/ltsugar.m4' glibtoolize: `/opt/local/share/aclocal/lt~obsolete.m4' glibtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and glibtoolize: rerunning glibtoolize, to keep the correct libtool macros in-tree. glibtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
This differs from jmr's and mine, where it doesn't say "You should add the contents..." at all. I wonder if one of those files is therefore missing and causing the error you are seeing?
To verify the tools are up to date, what is the output of port installed autoconf libtool
?
comment:5 Changed 16 years ago by ray.j@…
ort installed autoconf libtool The following ports are currently installed:
autoconf @2.63_0 (active) libtool @2.2.6a_0 (active)
comment:6 Changed 16 years ago by ray.j@…
Found the solution now after a bit of googleing: http://www.mail-archive.com/libtool@gnu.org/msg10306.html had to recompile autoconf,automake and libtool after that.
comment:7 Changed 16 years ago by jmroot (Joshua Root)
So what, you had libtool1 installed as well as libtool?
comment:9 Changed 15 years ago by jmroot (Joshua Root)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Assuming this was a conflict with libtool1.
oh yeah, i might add im running osx 10.5.6 on a MBP 2.2 c2d(santa rosa) using xcode 3.1.2.