[pulseaudio-discuss] bootstrap.sh autoconf build errors

rdiezmail-pulseaudio at yahoo.de rdiezmail-pulseaudio at yahoo.de
Tue Sep 16 07:47:29 PDT 2008


Hi all:

I still haven't managed to build PulseAudio from GIT, the bootstrap.sh script displays some error messages and stops (see below).

I get the same errors in these scenarios:
  1) cross-compiling under Cygwin
  2) compiling (for the native target) under Debian 4.0
    (standard Intel processor).

I have manually tracked down the latest versions of all dependencies I could find and manually built them fresh. These are:

 autoconf-2.62
 automake-1.10.1
 m4-1.4.11
 intltool-0.40.3
 gettext-0.17
 gdbm-1.8.3
 libatomic_ops-1.2
 libsndfile-1.0.17
 liboil-0.3.15
 glib-2.18.0
 libtool-1.5.26

The "important" errors are probably the 3 last lines. It must be some silly setting I've not set correctly for the autotools. I've tried "autoconf -v -Wall", but the verbose output does not seem to give any good hints.

I would also like to know why I'm getting "obsolete" warnings for the various M4 macros. Should I expect no warnings if I'm using the latest versions of all the tools and libraries?

This is the build log:

-----------8<-----------8<-----------8<-----------8<-----------

Starting bootstrap.sh...
+ '[' x = xam ']'
+ rm -rf autom4te.cache
+ rm -f config.cache
+ rm -f Makefile.am~ configure.ac~
++ which gettextize
+ sed 's/read dummy/\#/' /home/rdiez/pulseaudio/prereq-native/gettext-0.17-bin/bin/gettextize
+ sh -s -- --copy --force
Copying file ABOUT-NLS
Copying file config.rpath
Not copying intl/ directory.
Copying file po/Makefile.in.in
Copying file po/boldquot.sed
Copying file po/en at boldquot.header
Copying file po/en at quot.header
Copying file po/insert-header.sin
Copying file po/Makevars.template
Copying file po/quot.sed
Copying file po/remove-potcdate.sin
Copying file po/Rules-quot
Creating po/ChangeLog
Copying file m4/gettext.m4
Copying file m4/iconv.m4
Copying file m4/lib-ld.m4
Copying file m4/lib-link.m4
Copying file m4/lib-prefix.m4
Copying file m4/nls.m4
Copying file m4/po.m4
Copying file m4/progtest.m4
Creating m4/ChangeLog
Updating Makefile.am (backup is in Makefile.am~)
Updating configure.ac (backup is in configure.ac~)
Creating ChangeLog

Please use AM_GNU_GETTEXT([external]) in order to cause autoconfiguration
to look for an external libintl.

Please create po/Makevars from the template in po/Makevars.template.
You can then remove po/Makevars.template.

Please run 'aclocal -I m4' to regenerate the aclocal.m4 file.
You need aclocal from GNU automake 1.9 (or newer) to do this.
Then run 'autoconf' to regenerate the configure file.

You will also need config.guess and config.sub, which you can get from the CVS
of the 'config' project at http://savannah.gnu.org/. The commands to fetch them
are
$ wget 'http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess'
$ wget 'http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub'

You might also want to copy the convenience header file gettext.h
from the /home/rdiez/pulseaudio/prereq-native/gettext-0.17-bin/share/gettext directory into your package.
It is a wrapper around <libintl.h> that implements the configure --disable-nls
option.

Press Return to acknowledge the previous five paragraphs.
+ test -f Makefile.am~
+ mv Makefile.am~ Makefile.am
+ test -f configure.ac~
+ mv configure.ac~ configure.ac
+ touch config.rpath
+ test x = x
+ LIBTOOLIZE=libtoolize
+ intltoolize --copy --force --automake
+ libtoolize -c --force --ltdl
You should add the contents of `/home/rdiez/pulseaudio/prereq-native/libtool-1.5.26-bin/share/aclocal/libtool.m4' to `aclocal.m4'.
+ run_versioned aclocal 1.10 -I m4
+ local P
+ local V
++ echo 1.10
++ sed -e 's,\.,,g'
+ V=110
++ which aclocal110
+ '[' -e '' ']'
++ which aclocal-1.10
+ '[' -e /home/rdiez/pulseaudio/prereq-native/automake-1.10.1-bin/bin/aclocal-1.10 ']'
+ P=aclocal-1.10
+ shift 2
+ aclocal-1.10 -I m4
+ run_versioned autoconf 2.62 -Wall
+ local P
+ local V
++ echo 2.62
++ sed -e 's,\.,,g'
+ V=262
++ which autoconf262
+ '[' -e '' ']'
++ which autoconf-2.62
+ '[' -e '' ']'
+ P=autoconf
+ shift 2
+ autoconf -Wall
configure.ac:33: warning: The macro `AC_FOREACH' is obsolete.
configure.ac:33: You should run autoupdate.
../../lib/autoconf/general.m4:196: AC_FOREACH is expanded from...
aclocal.m4:8194: _AM_SET_OPTIONS is expanded from...
aclocal.m4:7886: AM_INIT_AUTOMAKE is expanded from...
configure.ac:33: the top level
configure.ac:217: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:217: You should run autoupdate.
../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
../../lib/autoconf/general.m4:1424: AC_ARG_ENABLE is expanded from...
aclocal.m4:6747: AC_LTDL_ENABLE_INSTALL is expanded from...
configure.ac:217: the top level
configure.ac:221: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:221: You should run autoupdate.
aclocal.m4:2045: AC_ENABLE_SHARED is expanded from...
aclocal.m4:94: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:74: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:221: the top level
aclocal.m4:2084: AC_ENABLE_STATIC is expanded from...
aclocal.m4:2123: AC_ENABLE_FAST_INSTALL is expanded from...
../../lib/autoconf/general.m4:1443: AC_ARG_WITH is expanded from...
aclocal.m4:2264: AC_PROG_LD is expanded from...
configure.ac:221: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:221: You should run autoupdate.
../../lib/autoconf/general.m4:2526: AC_TRY_LINK is expanded from...
../../lib/m4sugar/m4sh.m4:508: AS_IF is expanded from...
../../lib/autoconf/general.m4:1973: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1993: AC_CACHE_CHECK is expanded from...
aclocal.m4:565: _LT_AC_LOCK is expanded from...
aclocal.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
aclocal.m4:2797: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:2796: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:1922: _LT_AC_TAGCONFIG is expanded from...
configure.ac:221: warning: back quotes and double quotes must not be escaped in: $as_me:$LINENO: error: tag name \"$tagname\" already exists
../../lib/m4sugar/m4sh.m4:797: AS_ECHO is expanded from...
configure.ac:221: warning: back quotes and double quotes must not be escaped in: $as_me: error: tag name \"$tagname\" already exists
configure.ac:221: warning: The macro `AC_LANG_SAVE' is obsolete.
configure.ac:221: You should run autoupdate.
../../lib/autoconf/lang.m4:148: AC_LANG_SAVE is expanded from...
aclocal.m4:4183: _LT_AC_LANG_GCJ_CONFIG is expanded from...
aclocal.m4:4182: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
configure.ac:221: warning: The macro `AC_LANG_RESTORE' is obsolete.
configure.ac:221: You should run autoupdate.
../../lib/autoconf/lang.m4:157: AC_LANG_RESTORE is expanded from...
aclocal.m4:4239: _LT_AC_LANG_RC_CONFIG is expanded from...
aclocal.m4:4238: AC_LIBTOOL_LANG_RC_CONFIG is expanded from...
configure.ac:314: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:314: You should run autoupdate.
../../lib/autoconf/general.m4:2469: AC_TRY_COMPILE is expanded from...
m4/check_define.m4:1: AC_CHECK_DEFINE is expanded from...
configure.ac:314: the top level
configure.ac:321: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:321: You should run autoupdate.
configure.ac:321: the top level
configure.ac:327: warning: The macro `AC_LANG_SAVE' is obsolete.
configure.ac:327: You should run autoupdate.
m4/acx_pthread.m4:53: ACX_PTHREAD is expanded from...
configure.ac:327: the top level
configure.ac:327: warning: The macro `AC_LANG_C' is obsolete.
configure.ac:327: You should run autoupdate.
../../lib/autoconf/c.m4:95: AC_LANG_C is expanded from...
configure.ac:327: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:327: You should run autoupdate.
configure.ac:327: warning: The macro `AC_LANG_RESTORE' is obsolete.
configure.ac:327: You should run autoupdate.
configure.ac:421: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:421: You should run autoupdate.
m4/iconv.m4:20: AM_ICONV_LINK is expanded from...
m4/iconv.m4:154: AM_ICONV is expanded from...
configure.ac:421: the top level
configure.ac:421: warning: The macro `AC_TRY_RUN' is obsolete.
configure.ac:421: You should run autoupdate.
../../lib/autoconf/general.m4:2591: AC_TRY_RUN is expanded from...
configure.ac:421: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:421: You should run autoupdate.
configure.ac:427: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:427: You should run autoupdate.
aclocal.m4:7124: GLIB_LC_MESSAGES is expanded from...
aclocal.m4:7388: GLIB_GNU_GETTEXT is expanded from...
aclocal.m4:7488: AM_GLIB_GNU_GETTEXT is expanded from...
configure.ac:427: the top level
../../lib/autoconf/headers.m4:87: AC_CHECK_HEADER is expanded from...
aclocal.m4:7178: GLIB_WITH_NLS is expanded from...
configure.ac:427: warning: The macro `AC_OUTPUT_COMMANDS' is obsolete.
configure.ac:427: You should run autoupdate.
../../lib/autoconf/status.m4:1021: AC_OUTPUT_COMMANDS is expanded from...
configure.ac:35: error: possibly undefined macro: AC_SUBST
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:74: error: possibly undefined macro: AC_DEFINE
configure.ac:98: error: possibly undefined macro: AC_MSG_ERROR
configure.ac:228: error: possibly undefined macro: AC_CHECK_FUNCS

-----------8<-----------8<-----------8<-----------8<-----------

Many thanks in advance,
  Ruben


__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. 
http://mail.yahoo.com 



More information about the pulseaudio-discuss mailing list