[MacPorts] #17980: Libtool causing configure problems

MacPorts noreply at macports.org
Tue Jan 13 04:08:24 PST 2009


#17980: Libtool causing configure problems
---------------------------+------------------------------------------------
 Reporter:  ray.j@…        |       Owner:  pguyot@…           
     Type:  defect         |      Status:  new                
 Priority:  Normal         |   Milestone:  Port Bugs          
Component:  ports          |     Version:  1.7.0              
 Keywords:  libtool        |        Port:  libtool,faad2      
---------------------------+------------------------------------------------
Changes (by jmr@…):

 * cc: jmr@… (added)
  * owner:  macports-tickets@… => pguyot@…


Old description:

> 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.

New description:

 {{{
 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.
 }}}

--

Comment:

 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 `.'
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/17980#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list