You are not logged in.
When compiling audacity with the standard PKGBUILD but with other configure options (./ configure --prefix=/usr --with-portaudio=v19 --without-portmixer), configure exits with the following error:
$ configure: warning: CC=gcc: invalid host type
$ configure: warning: CXX=g++: invalid host type
$ configure: error: can only configure for one host and one target at a time
$ configure: error: /bin/sh './configure' failed for lib-src/portaudio-v19
if run outside makepkg, the configure command runs fine.
This configure file contains a call to another configure located in a subdirectory and it's when this second one is called that the error occurs.
Is there a bug here or is it by design supposing that this kind of nested configure files should not be written like this?
Offline
pleas check /etc/makepkg.conf. it's CHOST that probably is broken or some other syntactic error.
I recognize that while theory and practice are, in theory, the same, they are, in practice, different. -Mark Mitchell
Offline
Thanks for the tip. After playng with makepkg.conf, it appears that the rror occurs when audacity is compiled with the standard options:
export CFLAGS="-march=i686 -O2 -pipe"
export CXXFLAGS="-march=i686 -O2 -pipe"
Without them, it compiles well.
Offline