[pulseaudio-discuss] Building (& dependencies of) PulseAudio on OS X
Mulchman
mulchman at gmail.com
Sun Dec 27 12:24:21 PST 2009
Hi list,
What is the procedure (and dependencies) for building PulseAudio on OS
X? I've seen some mentioning of PulseAudio running on OS X on the
mailing list and was interested in testing it out for myself.
I've tried pulling from git://git.0pointer.de/pulseaudio.git and then
running bootstrap.sh but I get errors that Kim Lester experienced and
posted about back in July (
https://tango.0pointer.de/pipermail/pulseaudio-discuss/2009-July/004458.html
).
I've also tried two other repositories that I've seen mentioned on the
mailing list and I get the same errors using those as well
("git://gitorious.org/~flameeyes/pulseaudio/flameeyes-pulseaudio.git
osx" & "git://github.com/zonque/pulseaudio.git topic/osx").
Additionally, I have MacPorts installed w/ the latest
automake/autogen/gettext/autoconf/autobuild/etc. but it seems there is
something else that I'm missing and I haven't been able to figure it out
via google and searching the mailing list.
Thanks for any help,
-Pat
Below is the type of result I get from running bootstrap.sh:
mulchmac:pulseaudio patrick$ ./bootstrap.sh
+ case $(uname) in
++ uname
+ LIBTOOLIZE=glibtoolize
+ '[' -f .git/hooks/pre-commit.sample -a '!' -f .git/hooks/pre-commit ']'
+ cp -p .git/hooks/pre-commit.sample .git/hooks/pre-commit
+ chmod +x .git/hooks/pre-commit
+ echo 'Activated pre-commit hook.'
Activated pre-commit hook.
+ '[' -f .tarball-version ']'
+ pkg-config --version
+ type -p colorgcc
+ '[' x = xam ']'
+ rm -rf autom4te.cache
+ rm -f config.cache
+ rm -f Makefile.am~ configure.ac~
+ bash -s -- --copy --force
++ which gettextize
+ sed 's/read dummy/\#/' /opt/local/bin/gettextize
Copying file ABOUT-NLS
Copying file config.rpath
Not copying intl/ directory.
Copying file po/Makefile.in.in
Copying file po/Makevars.template
Copying file po/Rules-quot
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/quot.sed
Copying file po/remove-potcdate.sin
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 /opt/local/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 xglibtoolize = x
+ intltoolize --copy --force --automake
+ glibtoolize -c --force
glibtoolize: putting auxiliary files in `.'.
glibtoolize: copying file `./ltmain.sh'
glibtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
glibtoolize: copying file `m4/libtool.m4'
glibtoolize: copying file `m4/ltoptions.m4'
glibtoolize: copying file `m4/ltsugar.m4'
glibtoolize: copying file `m4/ltversion.m4'
glibtoolize: copying file `m4/lt~obsolete.m4'
+ run_versioned aclocal 1.11 -I m4
+ local P
+ local V
++ echo 1.11
++ sed -e 's,\.,,g'
+ V=111
++ which aclocal111
+ '[' -e '' ']'
++ which aclocal-1.11
+ '[' -e /opt/local/bin/aclocal-1.11 ']'
+ P=aclocal-1.11
+ shift 2
+ aclocal-1.11 -I m4
configure.ac:467: warning: macro `AM_GLIB_GNU_GETTEXT' not found in library
+ run_versioned autoconf 2.63 -Wall
+ local P
+ local V
++ echo 2.63
++ sed -e 's,\.,,g'
+ V=263
++ which autoconf263
+ '[' -e '' ']'
++ which autoconf-2.63
+ '[' -e '' ']'
+ P=autoconf
+ shift 2
+ autoconf -Wall
configure.ac:369: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:369: You should run autoupdate.
../../lib/autoconf/general.m4:2581: AC_TRY_COMPILE is expanded from...
m4/check_define.m4:1: AC_CHECK_DEFINE is expanded from...
configure.ac:369: the top level
configure.ac:376: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:376: You should run autoupdate.
configure.ac:376: the top level
../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from...
configure.ac:382: warning: The macro `AC_LANG_SAVE' is obsolete.
configure.ac:382: You should run autoupdate.
../../lib/autoconf/lang.m4:126: AC_LANG_SAVE is expanded from...
m4/acx_pthread.m4:53: ACX_PTHREAD is expanded from...
configure.ac:382: the top level
configure.ac:382: warning: The macro `AC_LANG_C' is obsolete.
configure.ac:382: You should run autoupdate.
../../lib/autoconf/c.m4:73: AC_LANG_C is expanded from...
configure.ac:382: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:382: You should run autoupdate.
../../lib/autoconf/general.m4:2654: AC_TRY_LINK is expanded from...
configure.ac:382: warning: The macro `AC_LANG_RESTORE' is obsolete.
configure.ac:382: You should run autoupdate.
../../lib/autoconf/lang.m4:135: AC_LANG_RESTORE is expanded from...
configure.ac:474: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:474: You should run autoupdate.
../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from...
m4/iconv.m4:20: AM_ICONV_LINK is expanded from...
m4/iconv.m4:154: AM_ICONV is expanded from...
configure.ac:474: the top level
configure.ac:474: warning: The macro `AC_TRY_RUN' is obsolete.
configure.ac:474: You should run autoupdate.
../../lib/autoconf/general.m4:2731: AC_TRY_RUN is expanded from...
configure.ac:474: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:474: You should run autoupdate.
configure.ac:480: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
More information about the pulseaudio-discuss
mailing list