[erlang-questions] Building OTP on Mac OSX Lion

Patrick J Newton patrick@REDACTED
Fri Aug 19 21:09:38 CEST 2011

I'm trying to build R14B03 on mac osx line but am running into difficulties that I have been unable to work around. During make, there are failures during build of hipe_icode_type.erl. Any advice would be appreciated. Thanks.

ProductName:	Mac OS X
ProductVersion:	10.7
BuildVersion:	11A511

>gcc -v
Using built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2335.15~108/src/configure --disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2335.15~108/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)

>CFLAGS=-O0 ./configure --enable-darwin-64bit




erlc -W  +debug_info +warn_unused_import +warn_missing_spec +warn_untyped_record -o../ebin hipe_icode_type.erl
./hipe_icode_type.erl:62: redefining macro 'debug'
./hipe_icode_type.erl:1414: function true/2 undefined
./hipe_icode_type.erl:1427: function true/2 undefined
./../flow/cfg.hrl:34: Warning: record cfg_info has field(s) without type information
make[3]: *** [../ebin/hipe_icode_type.beam] Error 1
make[2]: *** [opt] Error 2
make[1]: *** [opt] Error 2
make: *** [secondary_bootstrap_build] Error 2

More information about the erlang-questions mailing list