[erlang-questions] Building OTP on Mac OSX Lion

Parnell Springmeyer ixmatus@REDACTED
Fri Aug 19 21:17:25 CEST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I had trouble building on Lion using the GCC-LLVM binaries, I just
deferred to the plain GCC binaries (using the CC,CXX, etc... flags).

Not sure if that is your problem though since your error is happening
with hipe and mine was a different build error!

Patrick J Newton <patrick@REDACTED> writes:

> 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.
>
>>sw_vers
> 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
>
>>
>>make 
>
>>
> 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
>
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>

- -- 
Parnell "ixmatus" Springmeyer (http://ixmat.us)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org

iQEcBAEBAgAGBQJOTrbKAAoJEPvtlbpI1POLWKsIAKlHqoZe3OZ092uv+t61LODu
ukScsa09p6mWE01638vDBW5B4h2d48dvU1n90gsqr9E1dkALieuI0CI5/8aH0jkC
+O7z7bSefWF/HyxEGsBDCJiLvKTkudfS8pOqrheRWyR9MudNFeZS51W5Nw48bhUS
52qYU7JmY3mNJFzcar9FaKDgEpmlb/LVXVvK1a48LadwfPGAb0Lqdl9R3ZR3hxJu
lyU4UxUwLOgjaMN7IPcRroxPg98KSEaS7X3Ichzr32b6hc1L3VK75PGAaLIrEibZ
k6fMiZBbHmO0nFs/PsExlWqYb0AbfJfnhqb89xochTEnjK+j081521y8amuwukc=
=G7rW
-----END PGP SIGNATURE-----



More information about the erlang-questions mailing list