Trying to compile felix on a mac

I installed Python 3.2a3, ocaml 3.12.0

grabbed the latest felix:

git clone http://git.felix-lang.org/r/felix.git
cd felix
git submodule init
git submodule update

and did

python3 fbuild/fbuild-light

which got me this

configuring build phase
determining platform     : {'bsd', 'darwin', 'macosx', 'posix'}
looking for program gcc   : ok /usr/bin/gcc
checking gcc              : ok
checking gcc with -fno-common : ok
looking for program ar        : ok /usr/bin/ar
looking for program ranlib    : ok /usr/bin/ranlib
checking gcc with -fno-common : ok
checking if gcc -fno-common can make objects: ok
checking if gcc -fno-common can make libraries: ok
checking if gcc -fno-common can make exes: ok
checking if gcc -fno-common can link lib to exe: ok
checking gcc with -fno-common -fPIC     : ok
checking gcc with -fno-common -dynamiclib: ok
checking if gcc -fno-common -fPIC can make objects: ok
checking if gcc -fno-common -fPIC can make libraries: ok
checking if gcc -fno-common -fPIC can make exes: ok
checking if gcc -fno-common -fPIC can link lib to exe: ok
looking for program g++                 : ok /usr/bin/g++
checking g++                            : ok
checking g++ with -fno-common           : ok
checking g++ with -fno-common           : ok
checking if g++ -fno-common can make objects: ok
checking if g++ -fno-common can make libraries: ok
checking if g++ -fno-common can make exes: ok
checking if g++ -fno-common can link lib to exe: ok
checking g++ with -fno-common -fPIC     : ok
checking g++ with -fno-common -dynamiclib: ok
checking if g++ -fno-common -fPIC can make objects: ok
checking if g++ -fno-common -fPIC can make libraries: ok
checking if g++ -fno-common -fPIC can make exes: ok
checking if g++ -fno-common -fPIC can link lib to exe: ok
configuring host phase
using build's c and cxx compiler
looking for program ocamldep.opt        : ok /usr/local/bin/ocamldep.opt
looking for program ocamlc.opt          : ok /usr/local/bin/ocamlc.opt
checking ocamlc.opt version             : 3.12.0
checking if ocamlc.opt can make objects : ok
checking if ocamlc.opt can make libraries: ok
checking if ocamlc.opt can make exes    : ok
checking if ocamlc.opt can link lib to exe: ok
looking for program ocamlcp.opt         : failed
looking for program ocamlcp             : ok /usr/local/bin/ocamlcp
checking ocamlcp version                : 3.12.0
checking if ocamlcp can make objects    : ok
checking if ocamlcp can make libraries  : ok
checking if ocamlcp can make exes       : ok
checking if ocamlcp can link lib to exe : ok
looking for program ocamlopt.opt        : ok /usr/local/bin/ocamlopt.opt
checking ocamlopt.opt version           : 3.12.0
checking if ocamlopt.opt can make objects: ok
checking if ocamlopt.opt can make libraries: ok
checking if ocamlopt.opt can make exes  : ok
checking if ocamlopt.opt can link lib to exe: ok
looking for program ocamllex.opt        : ok /usr/local/bin/ocamllex.opt
looking for program llvm-config         : failed
configuring target phase
using host's c and cxx compiler
looking for program sdl-config          : failed
 * iscr extracting                      : lpsrc/flx_config.pak

---------------------------------
Interscript 1.0a11[117] Process Thu 28 Oct, 2010 14:11:57 (UTC+0200)
PROCESSING WHOLE FILE (options changed)
CREATING 0x1010e4490 NAMED FILE SOURCE flx_config.pak [utf8]
$Id$
File /Users/gchilds/idev-i386/newflx/felix/build/release/config/xlators_local.py
is NEW
File /Users/gchilds/idev-i386/newflx/felix/build/release/cpkgs/__init__.py
is NEW
File /Users/gchilds/idev-i386/newflx/felix/build/release/cpkgs/build/__init__.py
is NEW
File /Users/gchilds/idev-i386/newflx/felix/build/release/cpkgs/host/__init__.py
is NEW
File 
/Users/gchilds/idev-i386/newflx/felix/build/release/cpkgs/target/__init__.py
is NEW
File /Users/gchilds/idev-i386/newflx/felix/build/release/cpkgs/target/libgc.py
is NEW
File 
/Users/gchilds/idev-i386/newflx/felix/build/release/cpkgs/target/windowsh.py
is NEW
File /Users/gchilds/idev-i386/newflx/felix/build/release/cpkgs/target/opengl.py
is NEW
File /Users/gchilds/idev-i386/newflx/felix/build/release/cpkgs/target/pthread.py
is NEW
File /Users/gchilds/idev-i386/newflx/felix/build/release/cpkgs/host/pkgconfig.py
is NEW
File /Users/gchilds/idev-i386/newflx/felix/build/release/version.py is NEW
File /Users/gchilds/idev-i386/newflx/felix/build/release/config/flx_data.py
is NEW
File /Users/gchilds/idev-i386/newflx/felix/build/release/iscrutil.py is NEW
DELETING 0x1010e4490 NAMED FILE SOURCE flx_config.pak [utf8]
Pass 1 status: <not converged>
  Files    : 13
  New      : 13
  Changed  : 0
  Unchanged: 0
Elapsed Process Time 0 seconds
================================
Traceback (most recent call last):
  File "fbuild/fbuild-light", line 13, in <module>
    exec(compile(f.read(), fbuild_exename, 'exec'))
  File "fbuild/bin/fbuild", line 140, in <module>
    sys.exit(main())
  File "fbuild/bin/fbuild", line 117, in main
    result = build(ctx)
  File "fbuild/bin/fbuild", line 81, in build
    target.function(ctx)
  File "/Users/gchilds/idev-i386/newflx/felix/fbuildroot.py", line 365, in build
    iscr('lpsrc/flx_config.pak')
  File "fbuild/lib/fbuild/db/__init__.py", line 415, in __call__
    result, srcs, dsts = self.call(*args, **kwargs)
  File "fbuild/lib/fbuild/db/__init__.py", line 419, in call
    return self.method.__self__.ctx.db.call(self.method, *args, **kwargs)
  File "fbuild/lib/fbuild/db/__init__.py", line 192, in call
    result = function(*args, **kwargs)
  File "/Users/gchilds/idev-i386/newflx/felix/buildsystem/iscr.py",
line 72, in __call__
    self.ctx.db.add_external_dependencies_to_call(srcs=srcs)
  File "fbuild/lib/fbuild/db/__init__.py", line 308, in
add_external_dependencies_to_call
    frame = fbuild.inspect.currentframe(i)
TypeError: currentframe() takes no arguments (1 given)

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to