* Andreas Metzler [090222 17:42 +0100]
> On 2009-02-22 Elimar Riesebieter <riesebie@lxtec.de> wrote:
> > Package: wnpp
> > Severity: normal
>
> > Hi Debian ALSA developers,
>
> > I want to prepare alsa-lib 1.0.19 for upload. Building alsa-lib on i386 and
> > amd64 gives:
> > ...
> > checking for strip... strip
> > checking for cross-compiler... i486-i486-pc-linux-gnu-gcc
> > checking for i486-linux-gnu-gcc... i486-i486-pc-linux-gnu-gcc
> > checking for C compiler default output file name...
> > configure: error: C compiler cannot create executables
> > See `config.log' for more details.
> [...]
> > The correct compiler should be: i486-linux-gnu-gcc and not
> > i486-i486-pc-linux-gnu-gcc!
>
> > From upstreams changelog:
>
> > "Don't use AC_CANONICAL_SYSTEM, only use AC_CANONICAL_HOST"
>
> Hello,
>
> I am not sure, but I think (see
> /usr/share/doc/autotools-dev/README.Debian.gz) you are invoking
> ./configure the wrong way. This makes it build successfully for me:
>
> -----------------------
> --- debian/rules (Revision 2165)
> +++ debian/rules (Arbeitskopie)
> @@ -56,7 +56,7 @@
> --mandir=\$${prefix}/share/man \
> --infodir=\$${prefix}/share/info \
> --datadir=\$${prefix}/share \
> - --host=$(DEB_BUILD_GNU_TYPE) \
> + --build $(DEB_BUILD_GNU_TYPE) \
> --enable-static --disable-maintainer-mode
> touch configure-stamp
>
> @@ -72,7 +72,7 @@
> --mandir=\$${prefix}/share/man \
> --infodir=\$${prefix}/share/info \
> --datadir=\$${prefix}/share \
> - --host=$(DEB_HOST_GNU_TYPE) \
> + --build $(DEB_BUILD_GNU_TYPE) \
> --enable-static --disable-maintainer-mode \
> --disable-python --with-plugindir=/$(bilibdir)/alsa-lib
> #ln -sf . include/alsa
> -----------------------
Yes, but in that case:
....
checking whether we are cross compiling... no
....
This is what we don't want.
Second: Why does it build on ppc ?
Elimar
--
Numeric stability is probably not all that
important when you're guessing;-)
Attachment:
signature.asc
Description: Digital signature