[flext] Problems building and installing Flext

David Chambers d_m_chambers_ at hotmail.com
Tue Apr 12 00:46:53 CEST 2011




















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 1

David-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 1

David-Chamberss-MacBook-Pro-2:flext
davidchambers$ bash build.sh max gcc

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 _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-single

mkdir -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.gch

mkdir -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 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]: ***
[max-darwin/release-single/flbase.opp_ppc] Error 1

make: *** [build-release-single] Error 2

David-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 install

Password:

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/flext

mkdir -p /usr/local/lib

install
max-darwin/release-single/libflext-max_s.0.5.2.a /usr/local/lib

install:
max-darwin/release-single/libflext-max_s.0.5.2.a: No such file or directory

make[1]: *** [_install_] Error 71

make: *** [install-release-single] Error 2

David-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 flags

UFLAGS += -ffast-math
-mmacosx-version-min=10.4

 

# user defined linker flags

LDFLAGS += -mmacosx-version-min=10.4

 

# user defined optimization flags

OFLAGS += -Os # -ftree-vectorize

 

# user defined debugging flags

DFLAGS +=

 

# architecture-specific flags (optional)

UFLAGS_ppc += -mcpu=G4 -faltivec 

OFLAGS_ppc += 

DFLAGS_ppc +=

 

UFLAGS_i386 += -mmmx -msse -msse2 -msse3
-mtune=nocona

OFLAGS_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


 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://grrrr.org/pipermail/flext/attachments/20110411/da1b05ec/attachment.htm>


More information about the flext mailing list