Building R10B-3 on Mac OS X Tiger

Rudolph van Graan <>
Mon May 2 11:02:28 CEST 2005


Hey all,

I tried building Erlang from darwinports on Tiger last night and I am  
getting this problem:

port install erlang

....


make -f powerpc-apple-darwin8.0.0/Makefile TYPE=opt
erl -noinput -pa ebin -run make_certs all /usr/bin/openssl \
         -s erlang halt
Generating a 1024 bit RSA private key
.......++++++
.......++++++
writing new private key to '/opt/local/var/db/dports/build/ 
file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdat 
e_dports_lang_erlang/work/erlang-R10B-3/lib/ssl/examples/certs/etc/ 
erlangCA/private/key.pem'
-----

=ERROR REPORT==== 2-May-2005::10:59:31 ===
Bad input fd in poll()! fd,port,driver,name: 18,53,spawn,/usr/bin/ 
openssl req -new -x509 -config /opt/local/var/db/dports/build/ 
file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdat 
e_dports_lang_erlang/work/erlang-R10B-3/lib/ssl/examples/certs/etc/ 
erlangCA/req.cnf -keyout /opt/local/var/db/dports/build/ 
file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdat 
e_dports_lang_erlang/work/erlang-R10B-3/lib/ssl/examples/certs/etc/ 
erlangCA/private/key.pem -out /opt/local/var/db/dports/build/ 
file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdat 
e_dports_lang_erlang/work/erlang-R10B-3/lib/ssl/examples/certs/etc/ 
erlangCA/cert.pem


Any ideas?

Regards,

Rudolph van Graan

Pattern Matched Technologies

Mobile:  +27 83 390 7767
Fax:     +27 12 667 5342
Web:     www.patternmatched.com


On 01 May 2005, at 8:42 AM, Ulf Wiger ((AL/EAB)) wrote:

>
> Anders Nygren wrote:
>
>
>> This looks like a problem I have had too.
>> See,
>> http://www.erlang.org/ml-archive/erlang-questions/200503/ 
>> msg00014.html
>> http://www.erlang.org/ml-archive/erlang-questions/200503/ 
>> msg00045.html
>>
>> I never got any response to those, and I never found the problem.
>> I am happy to see that it works with a name instead of IP address.
>>
>
> Following the second link, I found:
>
>
>> or from the shell
>> 7>Port=erlang:open_port({spawn,tcp_inet},[binary]).
>> #Port<0.36>
>> 8>erlang:port_control(Port,1,[2]).
>> [0,101,105,110,118,97,108]
>>
>> The funny thing is that I can set up a tcp connection
>> from the windows machine to the linux machine. But
>> not from the windows machine to the internet.
>>
>
> The way it looks like (to me, who don't know the inet driver),
> is that you're trying to open an IPv6 socket, and your
> system doesn't support it (or, perhaps, Erlang on Windows
> wasn't built with IPv6 support enabled).
>
> I believe Windows XP has v6 support starting with SP1.
>
> Going from your windows machine to Internet, why would
> you want to run IPv6?
>
> /Uffe
>
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2373 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20050502/9a746a1c/attachment.bin>


More information about the erlang-questions mailing list