I am new to Apple Mac, and especially to MacPorts. I have been trying to install Pidgin messenger and have come unstuck with Libao. I have tried googling for a solution and cannot find anything relevant I was hoping someone out there knows what to do. Here is what I get when I do: sudo port install libao Macintosh:~ damianeastwood$ sudo port -dv install libao DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/audio/libao DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/audio/libao DEBUG: Requested variant i386 is not provided by port libao. DEBUG: Requested variant macosx is not provided by port libao. DEBUG: Executing variant darwin provides darwin DEBUG: Skipping completed org.macports.main (libao) DEBUG: Skipping completed org.macports.fetch (libao) DEBUG: Skipping completed org.macports.checksum (libao) DEBUG: Skipping completed org.macports.extract (libao) DEBUG: Skipping completed org.macports.patch (libao) DEBUG: Skipping completed org.macports.configure (libao) ---> Building libao with target all DEBUG: Executing org.macports.build (libao) DEBUG: Environment: DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_libao/work/libao-0.8.6" && make all' Making all in src Making all in plugins Making all in oss make[3]: Nothing to be done for `all'. Making all in esd make[3]: Nothing to be done for `all'. Making all in arts make[3]: Nothing to be done for `all'. Making all in alsa make[3]: Nothing to be done for `all'. Making all in alsa09 make[3]: Nothing to be done for `all'. Making all in sun make[3]: Nothing to be done for `all'. Making all in irix make[3]: Nothing to be done for `all'. Making all in macosx if /bin/sh ../../../libtool --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libao\" -DVERSION=\"0.8.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_LIBPTHREAD=1 -DDLOPEN_FLAG=\(RTLD_LAZY\) -DSHARED_LIB_EXT=\".so\" -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -I. -I. -I../../../include/ao -I../../../include -I/opt/local/include -D__NO_MATH_INLINES -fsigned-char -O2 -MT ao_macosx.lo -MD -MP -MF ".deps/ao_macosx.Tpo" -c -o ao_macosx.lo ao_macosx.c; \ then mv -f ".deps/ao_macosx.Tpo" ".deps/ao_macosx.Plo"; else rm -f ".deps/ao_macosx.Tpo"; exit 1; fi gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libao\" -DVERSION=\"0.8.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_LIBPTHREAD=1 "-DDLOPEN_FLAG=(RTLD_LAZY)" -DSHARED_LIB_EXT=\".so\" -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -I. -I. -I../../../include/ao -I../../../include -I/opt/local/include -D__NO_MATH_INLINES -fsigned-char -O2 -MT ao_macosx.lo -MD -MP -MF .deps/ao_macosx.Tpo -c ao_macosx.c -fno-common -DPIC -o .libs/ao_macosx.o ao_macosx.c: In function 'ao_plugin_open': ao_macosx.c:227: error: storage size of 'callback' isn't known ao_macosx.c:251: error: 'kAudioUnitComponentType' undeclared (first use in this function) ao_macosx.c:251: error: (Each undeclared identifier is reported only once ao_macosx.c:251: error: for each function it appears in.) ao_macosx.c:252: error: 'kAudioUnitSubType_Output' undeclared (first use in this function) ao_macosx.c:253: error: 'kAudioUnitID_DefaultOutput' undeclared (first use in this function) ao_macosx.c:276: error: 'kAudioUnitProperty_SetInputCallback' undeclared (first use in this function) make[3]: *** [ao_macosx.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_libao/work/libao-0.8.6" && make all " returned error 2 Command output: Making all in oss make[3]: Nothing to be done for `all'. Making all in esd make[3]: Nothing to be done for `all'. Making all in arts make[3]: Nothing to be done for `all'. Making all in alsa make[3]: Nothing to be done for `all'. Making all in alsa09 make[3]: Nothing to be done for `all'. Making all in sun make[3]: Nothing to be done for `all'. Making all in irix make[3]: Nothing to be done for `all'. Making all in macosx if /bin/sh ../../../libtool --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libao\" -DVERSION=\"0.8.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_LIBPTHREAD=1 -DDLOPEN_FLAG=\(RTLD_LAZY\) -DSHARED_LIB_EXT=\".so\" -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -I. -I. -I../../../include/ao -I../../../include -I/opt/local/include -D__NO_MATH_INLINES -fsigned-char -O2 -MT ao_macosx.lo -MD -MP -MF ".deps/ao_macosx.Tpo" -c -o ao_macosx.lo ao_macosx.c; \ then mv -f ".deps/ao_macosx.Tpo" ".deps/ao_macosx.Plo"; else rm -f ".deps/ao_macosx.Tpo"; exit 1; fi gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libao\" -DVERSION=\"0.8.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_LIBPTHREAD=1 "-DDLOPEN_FLAG=(RTLD_LAZY)" -DSHARED_LIB_EXT=\".so\" -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -I. -I. -I../../../include/ao -I../../../include -I/opt/local/include -D__NO_MATH_INLINES -fsigned-char -O2 -MT ao_macosx.lo -MD -MP -MF .deps/ao_macosx.Tpo -c ao_macosx.c -fno-common -DPIC -o .libs/ao_macosx.o ao_macosx.c: In function 'ao_plugin_open': ao_macosx.c:227: error: storage size of 'callback' isn't known ao_macosx.c:251: error: 'kAudioUnitComponentType' undeclared (first use in this function) ao_macosx.c:251: error: (Each undeclared identifier is reported only once ao_macosx.c:251: error: for each function it appears in.) ao_macosx.c:252: error: 'kAudioUnitSubType_Output' undeclared (first use in this function) ao_macosx.c:253: error: 'kAudioUnitID_DefaultOutput' undeclared (first use in this function) ao_macosx.c:276: error: 'kAudioUnitProperty_SetInputCallback' undeclared (first use in this function) make[3]: *** [ao_macosx.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 Warning: the following items did not execute (for libao): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. Thanks in advance. Damian Eastwood __________________________________________________________ Sent from Yahoo! - the World's favourite mail http://uk.mail.yahoo.com
On Dec 1, 2007, at 22:16, Damian Eastwood wrote:
I am new to Apple Mac, and especially to MacPorts. I have been trying to install Pidgin messenger and have come unstuck with Libao. I have tried googling for a solution and cannot find anything relevant I was hoping someone out there knows what to do.
Welcome to MacPorts! There have been some changes committed to the libao port in the past 48 hours. Are you sure you have the latest version? Did you "sudo port selfupdate" before trying to install? If not, do it now. Then, "sudo port clean --work libao". Then try to install it again. If it still doesn't work, please indicate your version of Mac OS X and Xcode and your processor architecture. Thanks.
Hi, I have the same problem and i launch an update before launching the build. I have MacOS X Leopard 10.5.1 on a MacBook Intel. Thanks. Ryan Schmidt a écrit :
On Dec 1, 2007, at 22:16, Damian Eastwood wrote:
I am new to Apple Mac, and especially to MacPorts. I have been trying to install Pidgin messenger and have come unstuck with Libao. I have tried googling for a solution and cannot find anything relevant I was hoping someone out there knows what to do.
Welcome to MacPorts!
There have been some changes committed to the libao port in the past 48 hours. Are you sure you have the latest version? Did you "sudo port selfupdate" before trying to install? If not, do it now. Then, "sudo port clean --work libao". Then try to install it again.
If it still doesn't work, please indicate your version of Mac OS X and Xcode and your processor architecture. Thanks.
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
participants (3)
-
Damian Eastwood
-
Jerome Soyer
-
Ryan Schmidt