[flext] flext newbie has build problems on osx

Thomas Grill gr at grrrr.org
Sat Jun 18 22:56:24 CEST 2011


Hi Hannes,
the build system is complaining that you can't build for PPC architectures.
There is a line in buildsys/config-pd-gcc.txt defining which architectures you are building for.
Replace that line with
ARCH=i386
which means 32-bit build for Intel, and try again.
gr~~~



Am 18.06.2011 um 22:01 schrieb Hannes Breitschädel:

> 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
> 
> 
> _______________________________________________
> http://grrrr.org/ext/flext
> 
> flext mailing list
> flext at grrrr.org
> http://grrrr.org/cgi-bin/mailman/listinfo/flext

--
Thomas Grill
http://grrrr.org
+43 699 19715543



More information about the flext mailing list