[flext] flext newbie has build problems on osx

Hannes Breitschädel hannes-b at gmx.at
Sat Jun 18 22:01:11 CEST 2011


Hi List!

1) i checked out flext from the repository 

2) typed in my osx terminal:  bash build.sh pd gcc

3) edited only  one line in the file config-mac-pd-gcc.txt
    PDPATH=/Users/Hannes/flext_test/Pd-0.42.app/Contents/Resources

	I am not sure whether I should change the other lines, because it is not clear to me whether it is an output of the script or an input to it:
	FLEXTPREFIX=/usr/local
	OUTPATH=pd-darwin
	 INSTPATH=$(PDPATH)/extra
	
  4) called again: bash build.sh pd gcc

and got this response:

make -f ./buildsys/gnumake-sub.mak  PLATFORM=mac RTSYS=pd COMPILER=gcc BUILDPATH=./buildsys/ PKGINFO=package.txt BUILDCLASS=flext USRCONFIG=config.txt USRMAKE=build/gnumake-mac-gcc.inc TARGETMODE=release TARGETTYPE=single _build_
buildsys/mac/gnumake-gcc-targets.inc:22: warning: overriding commands for target `pd-darwin/release-single'
buildsys/mac/gnumake-gcc-targets.inc:18: warning: ignoring old commands for target `pd-darwin/release-single'
mkdir -p pd-darwin/release-single
mkdir -p pd-darwin/release-single/
g++ -c -ffast-math -mmacosx-version-min=10.4 -O2   -DFLEXT_USE_SIMD -DNDEBUG -DFLEXT_EXPORTS -DFLEXT_SYS=2 -DPD -I/Users/Hannes/flext_test/Pd-0.42.app/Contents/Resources/src source/flext.h -o pd-darwin/release-single/flext.h.gch
mkdir -p ./
g++ -c -ffast-math -mmacosx-version-min=10.4 -O2   -fvisibility-inlines-hidden -arch ppc -mcpu=G4 -faltivec    -DFLEXT_USE_SIMD -DNDEBUG -DFLEXT_EXPORTS -DFLEXT_SYS=2 -DPD -I pd-darwin/release-single -I/Users/Hannes/flext_test/Pd-0.42.app/Contents/Resources/src source/flbase.cpp -o pd-darwin/release-single/flbase.opp_ppc
/usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as: assembler (/usr/bin/../libexec/gcc/darwin/ppc/as or /usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not installed
Installed assemblers are:
/usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64
/usr/bin/../libexec/gcc/darwin/i386/as for architecture i386

make[1]: *** [pd-darwin/release-single/flbase.opp_ppc] Error 1
make: *** [build-release-single] Error 2


i am running the script on an intel based mac book pro with osx 10.6.7

what could i do to fix this?


many thanks!
Hannes




More information about the flext mailing list