[pulseaudio-discuss] PA and OS X

Kim Lester kim at dfusion.com.au
Thu Jul 16 11:14:45 PDT 2009


All,

I'm considering using PA for some projects.
I have both Mac and Linux boxes. I would like to consider porting it  
to Mac.
I see from a trawl of the mailing lists that there isn't much activity  
in this area.

Well I'm having a look but am unfortunately stumped at step one.
I git clone'd  PA.
I didn't bother trying to sort out dependencies yet - just wanted to  
get a compile started
I'm using macports and did instalautoconf 2.63, intltool, gettext

Given the apparent absence of any instructions (or my inability to  
find them) I ran  bootstrap.sh.
This died because the Mac doesn't support the compound "-a" option to  
cp. I just replaced it with -pR for now.
Fixed that.
Now running bootstrap.sh I get the output below.
I'm ignoring the gettext complaint for now - it doesn't seem to the  
the critical problem.
Also ignoring: Remember to add `AC_PROG_LIBTOOL' to `configure.ac'.

The obsolete and undefined macros do worry me though...
I *hate* autoconf and have never tried getting my head around it.

Help anyone ?

cheers
Kim
----------------


..+ '[' -f .git/hooks/pre-commit.sample -a '!' -f .git/hooks/pre- 
commit ']'
+ '[' -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
Adding an entry to po/ChangeLog (backup is in 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

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 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 four paragraphs.
+ test -f Makefile.am~
+ test -f configure.ac~
+ touch config.rpath
+ test x = x
+ LIBTOOLIZE=libtoolize
+ intltoolize --copy --force --automake
+ libtoolize -c --force
Remember to add `AC_PROG_LIBTOOL' to `configure.ac'.
You should update your `aclocal.m4' by running aclocal.
+ 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 '' ']'
+ P=aclocal
+ shift 2
+ aclocal -I m4
configure.ac:77: warning: macro `AM_SILENT_RULES' not found in library
configure.ac:465: warning: macro `AM_GLIB_GNU_GETTEXT' not found in  
library
+ run_versioned autoconf 2.63 -Wall
+ local P
+ local V
++ sed -e 's,\.,,g'
++ echo 2.63
+ V=263
++ which autoconf263
+ '[' -e '' ']'
++ which autoconf-2.63
+ '[' -e '' ']'
+ P=autoconf
+ shift 2
+ autoconf -Wall
configure.ac:29: warning: The macro `AC_FOREACH' is obsolete.
configure.ac:29: You should run autoupdate.
../../lib/autoconf/general.m4:196: AC_FOREACH is expanded from...
aclocal.m4:700: _AM_SET_OPTIONS is expanded from...
aclocal.m4:393: AM_INIT_AUTOMAKE is expanded from...
configure.ac:29: the top level
configure.ac:367: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:367: You should run autoupdate.
../../lib/autoconf/general.m4:2470: AC_TRY_COMPILE is expanded from...
m4/check_define.m4:1: AC_CHECK_DEFINE is expanded from...
configure.ac:367: the top level
configure.ac:374: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:374: You should run autoupdate.
configure.ac:374: the top level
../../lib/m4sugar/m4sh.m4:505: AS_IF is expanded from...
configure.ac:380: warning: The macro `AC_LANG_SAVE' is obsolete.
configure.ac:380: You should run autoupdate.
../../lib/autoconf/lang.m4:148: AC_LANG_SAVE is expanded from...
m4/acx_pthread.m4:53: ACX_PTHREAD is expanded from...
configure.ac:380: the top level
configure.ac:380: warning: The macro `AC_LANG_C' is obsolete.
configure.ac:380: You should run autoupdate.
../../lib/autoconf/c.m4:95: AC_LANG_C is expanded from...
configure.ac:380: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:380: You should run autoupdate.
../../lib/autoconf/general.m4:2527: AC_TRY_LINK is expanded from...
configure.ac:380: warning: The macro `AC_LANG_RESTORE' is obsolete.
configure.ac:380: You should run autoupdate.
../../lib/autoconf/lang.m4:157: AC_LANG_RESTORE is expanded from...
configure.ac:472: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:472: You should run autoupdate.
../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1994: 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:472: the top level
configure.ac:472: warning: The macro `AC_TRY_RUN' is obsolete.
configure.ac:472: You should run autoupdate.
../../lib/autoconf/general.m4:2592: AC_TRY_RUN is expanded from...
configure.ac:472: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:472: You should run autoupdate.
configure.ac:73: error: possibly undefined macro: AC_DEFINE
       If this token and others are legitimate, please use  
m4_pattern_allow.
       See the Autoconf documentation.
configure.ac:78: error: possibly undefined macro: AM_SILENT_RULES
configure.ac:98: error: possibly undefined macro: AC_MSG_ERROR
configure.ac:402: error: possibly undefined macro: AC_CHECK_FUNCS
configure.ac:478: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT

-------------




More information about the pulseaudio-discuss mailing list