[erlang-questions] compiling problems under OS X Lion

Daniel Luna daniel@REDACTED
Mon Jul 25 06:36:46 CEST 2011


It should.

However, it doesn't. Has been broken for years.

The makefiles for Erlang/OTP are not particularly good. Hasn't bothered me
enough to fix though since you normally only build once.

Cheers,

Daniel
On 24 Jul 2011 23:32, "Jason Bosco" <jason.bosco@REDACTED> wrote:
> Sean,
>
> I did a "make clean" before running CFLAGS=-O0 ./configure
> --enable-darwin-64bit once again. That should "clean out the source
> directory" right?
>
> Jason.
>
> On Sun, Jul 24, 2011 at 5:54 PM, Sean Moss-Pultz <sean@REDACTED>
wrote:
>
>> On Mon, Jul 25, 2011 at 4:30 AM, Jason Bosco <jason.bosco@REDACTED>
>> wrote:
>> >
>> > This didn't work for me. I tried CFLAGS=-O0 ./configure
>> --enable-darwin-64bit and then make but it stopped with this error:
>> >
>> > ld: warning: ignoring file
>>
/Users/abcd/Downloads/otp_src_R14B03/erts/emulator/zlib/obj/i386-apple-darwin11.0.0/opt/libz.a,
>> file was built for archive which is not the architecture being linked
>> (x86_64) ld: warning: ignoring file
>>
/Users/abcd/Downloads/otp_src_R14B03/erts/emulator/pcre/obj/i386-apple-darwin11.0.0/opt/libepcre.a,
>> file was built for archive which is not the architecture being linked
>> (x86_64) Undefined symbols for architecture x86_64:...
>> >
>> > Any ideas?
>>
>> Jason
>>
>> I don't know but I was able to build by using Xcode (4.1) and that
>> command on Lion. Actually I wanted SSL so I added --with-ssl. Did you
>> try building before you added those flags? You might need to clean out
>> the source directory first.
>>
>> Sean
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110725/56b1168f/attachment.htm>


More information about the erlang-questions mailing list