Power PC Build

Andrew John Hughes gnu_andrew at member.fsf.org
Thu Jan 1 00:50:48 PST 2009


2008/12/31 Michael Franz <mvfranz at gmail.com>:
> Eric,
>
> On Wed, Dec 31, 2008 at 2:48 AM, Eric Richardson <ekrichardson at gmail.com>
> wrote:
>>
>> Andrew,
>
> <snip>
>>
>> I built gcc 4.2 as this was available via MacPorts.
>>
>>  Icedtea still looks promising but now I'm stuck on the ALSA part of
>> configure.
>>
>> checking for ALSA... no
>> configure: error: Could not find alsa -   Try installing alsa-lib-devel.
>>
>> The only thing I could find remotely related was Libao2.
>
> To work around this I change configure.ac to change the ALSA to a warning
> instead of an error and then run autogen.sh
>
> --- configure.ac.orig   2008-12-31 16:03:56.000000000 -0500
> +++ configure.ac        2008-12-31 16:04:17.000000000 -0500
> @@ -436,7 +436,7 @@
>  PKG_CHECK_MODULES(ALSA, alsa,[ALSA_FOUND=yes],[ALSA_FOUND=no])
>  if test "x${ALSA_FOUND}" = xno
>  then
> -  AC_MSG_ERROR([Could not find alsa - \
> +  AC_MSG_WARN([Could not find alsa - \
>    Try installing alsa-lib-devel.])
>  fi
>  AC_SUBST(ALSA_CFLAGS)
>
> I figure I will deal with the ALSA error later if I ever get to them.
>
> Michael
>
>>
>> Note: the problem I had before fwas because I was missing pkg.m4 which in
>> turn got fixed when I installed xorg-libX11.
>>
>> ./configure: line 11562: syntax error near unexpected token `XPROTO,'
>> ./configure: line 11562: `PKG_CHECK_MODULES(XPROTO,
>> xproto,XPROTO_FOUND=yes,XPROTO_FOUND=no)
>>
>> Eric
>>
>
>
>

The check should really be Linux-specific.  I don't know what backend
the BSD ports use for sound (if any) but it won't be ALSA.  The same
applies to Solaris.
-- 
Andrew :-)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net

PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8



More information about the distro-pkg-dev mailing list