[flext] Problems building and installing Flext

David Chambers d_m_chambers_ at hotmail.com
Wed Apr 13 21:56:31 CEST 2011


Hi Arshia,

Thanks for the advice.  I'll give that a try

David

CC: flext at grrrr.org
From: arshia.cont at ircam.fr
To: d_m_chambers_ at hotmail.com
Subject: Re: [flext] Problems building and installing Flext
Date: Wed, 13 Apr 2011 16:26:11 +0200

David..
Without looking into all the details, make sure you comment the SIMD line in config.txt
You (apparently) won't need that for 10.6.x
 Arshia Cont
 
On Apr 12, 2011, at 12:46 AM, David Chambers wrote:Hi, I wonder if anyone can help me.  I am having some problems building and installing Flext.  I have Mac OS X version 6.6, the latest version of Live and Max for Live (downloaded yesterday) and Xcode 4.   Below is my terminal output for the initial build, the second build (with errors) after editing the ‘config-mac-max-gcc’ file (shown here beneath the terminal output) and finally the attempted install – which I guess was bound to fail as there was an error in the build! Any advice would be very greatly appreciated.  ---- make: *** [buildsys/config-mac-max-gcc.txt] Error 1David-Chamberss-MacBook-Pro-2:flext davidchambers$ bash build.sh max gcc-------------------------------------------------------------------------A default package configuration file has been created.Please edit config.txt, then start again.-------------------------------------------------------------------------make: *** [config.txt] Error 1David-Chamberss-MacBook-Pro-2:flext davidchambers$ bash build.sh max gccmake -f ./buildsys/gnumake-sub.mak  PLATFORM=mac RTSYS=max 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 `max-darwin/release-single'buildsys/mac/gnumake-gcc-targets.inc:18: warning: ignoring old commands for target `max-darwin/release-single'mkdir -p max-darwin/release-singlemkdir -p max-darwin/release-single/g++ -c -ffast-math -mmacosx-version-min=10.4 -Os   -DFLEXT_USE_SIMD -DNDEBUG -DFLEXT_EXPORTS -DFLEXT_SYS=1 -I/Applications/Max5/MaxSDK-5.1.6/c74support/max-includes -I/Applications/Max5/MaxSDK-5.1.6/c74support/jit-includes -I/Applications/Max5/MaxSDK-5.1.6/c74support/msp-includes source/flext.h -o max-darwin/release-single/flext.h.gchmkdir -p ./g++ -c -ffast-math -mmacosx-version-min=10.4 -Os   -fvisibility-inlines-hidden -arch ppc -mcpu=G4 -faltivec    -DFLEXT_USE_SIMD -DNDEBUG -DFLEXT_EXPORTS -DFLEXT_SYS=1 -I max-darwin/release-single -I/Applications/Max5/MaxSDK-5.1.6/c74support/max-includes -I/Applications/Max5/MaxSDK-5.1.6/c74support/jit-includes -I/Applications/Max5/MaxSDK-5.1.6/c74support/msp-includes source/flbase.cpp -o max-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 installedInstalled assemblers are:/usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64/usr/bin/../libexec/gcc/darwin/i386/as for architecture i386make[1]: *** [max-darwin/release-single/flbase.opp_ppc] Error 1make: *** [build-release-single] Error 2David-Chamberss-MacBook-Pro-2:flext davidchambers$ ------- Then I tried to install but with an error: David-Chamberss-MacBook-Pro-2:flext davidchambers$ sudo bash build.sh max gcc installPassword:make -f ./buildsys/gnumake-sub.mak  PLATFORM=mac RTSYS=max COMPILER=gcc BUILDPATH=./buildsys/ PKGINFO=package.txt BUILDCLASS=flext USRCONFIG=config.txt USRMAKE=build/gnumake-mac-gcc.inc TARGETMODE=release TARGETTYPE=single _install_buildsys/mac/gnumake-gcc-targets.inc:22: warning: overriding commands for target `max-darwin/release-single'buildsys/mac/gnumake-gcc-targets.inc:18: warning: ignoring old commands for target `max-darwin/release-single'mkdir -p /usr/local/include/flextmkdir -p /usr/local/libinstall max-darwin/release-single/libflext-max_s.0.5.2.a /usr/local/libinstall: max-darwin/release-single/libflext-max_s.0.5.2.a: No such file or directorymake[1]: *** [_install_] Error 71make: *** [install-release-single] Error 2David-Chamberss-MacBook-Pro-2:flext davidchambers$ ------ And my ‘config-mac-max-gcc’ file : ------ # where are the Max/MSP SDK header files?# you should have the latest version!MAXSDKPATH=/Applications/Max5/MaxSDK-5.1.6/c74support ############################################################### # prefix for flext installation# headers are in $(FLEXTPREFIX)/include/flext# libraries are in $(FLEXTPREFIX)/lib# build system is in $(FLEXTPREFIX)/lib/flext FLEXTPREFIX=/usr/local ############################################################### # where should the external be built?OUTPATH=max-darwin # where should the external be installed?INSTPATH=/Applications/Max5/Cycling '74/m4l-externals/flext # where should the initialization files be installed?INITPATH=/Applications/Max5/Cycling '74/init # where should the help files be installed?HELPPATH=/Applications/Max5/Cycling '74/m4l-help/flext ############################################################### # STK (synthesis tool kit) support# http://ccrma.stanford.edu/software/stk # where to find the STK header files (e.g. stk.h)#STK_INC=/usr/local/include/stk # where to find the STK library (normally libstk.a)# (comment out STK_LIB if you don't use STK)#STK_LIB=/usr/local/lib/libstk.a ############################################################### # SndObj support# http://music.nuim.ie//musictec/SndObj # where to find the SndObj header files (e.g. sndobj.h)#SNDOBJ_INC=/usr/local/include/sndobj # where to find the SndObj library (normally libsndobj.a)# (comment out STK_LIB if you don't use SndObj)#SNDOBJ_LIB=/usr/local/lib/libsndobj.a ############################################################### # make flags (e.g. use multiprocessor)MFLAGS=-j 2 # user defined compiler flagsUFLAGS += -ffast-math -mmacosx-version-min=10.4 # user defined linker flagsLDFLAGS += -mmacosx-version-min=10.4 # user defined optimization flagsOFLAGS += -Os # -ftree-vectorize # user defined debugging flagsDFLAGS += # architecture-specific flags (optional)UFLAGS_ppc += -mcpu=G4 -faltivecOFLAGS_ppc +=DFLAGS_ppc += UFLAGS_i386 += -mmmx -msse -msse2 -msse3 -mtune=noconaOFLAGS_i386 +=DFLAGS_i386 += # cross-compilation (optional)ARCH=ppc i386 #x86_64 ppc64 # SDK for 10.4#OSXSDK=/Developer/SDKs/MacOSX10.4u.sdk  Thank you for reading this and any tips would be appreciated. David_______________________________________________
http://grrrr.org/ext/flext

flext mailing list
flext at grrrr.org
http://grrrr.org/cgi-bin/mailman/listinfo/flext
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://grrrr.org/pipermail/flext/attachments/20110413/90660594/attachment-0001.htm>


More information about the flext mailing list