You are not logged in.

#1 2006-05-28 00:06:30

m123
Member
Registered: 2006-03-16
Posts: 29

error with makepkg - no error without [solved]

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

#2 2006-05-28 00:14:47

kth5
Member
Registered: 2004-04-29
Posts: 657
Website

Re: error with makepkg - no error without [solved]

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

#3 2006-06-10 20:03:43

m123
Member
Registered: 2006-03-16
Posts: 29

Re: error with makepkg - no error without [solved]

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

Board footer

Powered by FluxBB