Trouble compiling R10B-7 on OS X

Sean Hinde <>
Mon Sep 12 11:40:25 CEST 2005


Hi,

I don't have a solution to your problem, but can confirm that on my  
mac running the same OS version I do not see this problem. gs  
compiles and works well.

Regards,
Sean

P.S Apologies for not abiding by the Reply-To header, but I'm not  
that convinced that my account is fully working for the mailing list  
these days..


On 11 Sep 2005, at 23:32, mshure wrote:

>
> Hello,
>
>
>
> I've been experimenting with Erlang on and off for the past couple  
> of years under various flavors of Windows, never reaching a high  
> level of expertise. Soon after buying my first Mac (an iMac G5  
> running OS X v10.4.2), I recently decided to delve more deeply into  
> Erlang. However, I haven't had much success in getting it to run...
>
>
>
> On Windows machines I took advantage of the binary downloads, but  
> this is my first attempt at compiling the source code. Perhaps this  
> isn't a good first project with my Mac, but I tried anyway. I  
> installed the Xcode software, downloaded the R10B-7 source code,  
> followed the instructions in the README file and typed "make". The  
> compilation process seemed to go fine until I saw the following:
>
>
>
> "=== Leaving application debugger
>
> === Entering application gs
>
> erl -pa ../ebin -s gs_make -s erlang halt -noshell
>
> {error_logger,{{2005,9,11},{17,11,43}},supervisor_report, 
> [{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason, 
> {'DOWN',#Ref<0.0.0.12>,process,<0.15.0>,normal}},{offender, 
> [{pid,undefined},{name,code_server},{mfa,{code,start_link,[]}}, 
> {restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}
>
> {error_logger,{{2005,9,11},{17,11,43}},crash_report,[[{pid,<0.7.0>}, 
> {registered_name,[]},{error_info,{shutdown,{kernel,start,[normal, 
> []]}}},{initial_call,{application_master,init,[<0.5.0>,<0.6.0>, 
> {appl_data,kernel, 
> [application_controller,erl_reply,auth,boot_server,code_server,disk_lo 
> g_server,disk_log_sup,erl_prim_loader,error_logger,file_server,file_se 
> rver_2,fixtable_server,global_group,global_name_server,heart,init,kern 
> el_config,kernel_sup,net_kernel,net_sup,rex,user,os_server,ddll_server 
> ,erl_epmd,inet_db,pg2],undefined,{kernel,[]}, 
> [application,application_controller,application_master,application_sta 
> rter,auth,code,code_aux,packages,code_server,dist_util,erl_boot_server 
> ,erl_distribution,erl_prim_loader,erl_reply,erlang,error_handler,error 
> _logger,file,file_server,old_file_server,file_io_server,prim_file,glob 
> al,global_group,global_search,group,heart,inet6_tcp,inet6_tcp_dist,ine 
> t6_udp,inet_config,inet_hosts,inet_gethost_native,inet_tcp_dist,init,k 
> ernel,kernel_config,net,net_adm
>  ,net_kernel,os,ram_file,rpc,user,user_drv,user_sup,disk_log,disk_log_ 
> 1,disk_log_server,disk_log_sup,dist_ac,erl_ddll,erl_epmd,erts_debug,ge 
> n_tcp,gen_udp,prim_inet,inet,inet_db,inet_dns,inet_parse,inet_res,inet 
> _tcp,inet_udp,pg2,seq_trace,wrap_log_reader,zlib,otp_ring0], 
> [],infinity,infinity},normal]}},{ancestors,[<0.6.0>]},{messages, 
> [{'EXIT',<0.8.0>,normal}]},{links,[<0.6.0>,<0.5.0>]},{dictionary, 
> []},{trap_exit,true},{status,running},{heap_size,987},{stack_size, 
> 21},{reductions,1062}],[]]}
>
> {error_logger,{{2005,9,11},{17,11,43}},std_info, 
> [{application,kernel},{exited,{shutdown,{kernel,start,[normal, 
> []]}}},{type,permanent}]}
>
> {"Kernel pid terminated",application_controller,shutdown}
>
>
>
> Crash dump was written to: erl_crash.dump
>
> Kernel pid terminated (application_controller) (shutdown)"
>
>
>
> Here are the first 20 lines of the resulting erl_crash.dump file:
>
>
>
> "=erl_crash_dump:0.1
>
> Sun Sep 11 16:01:58 2005
>
> Slogan: Kernel pid terminated (application_controller) (shutdown)
>
> System version: Erlang (BEAM) emulator version 5.4.9 [source] [hipe]
>
> Compiled: Mon Sep  5 11:56:13 2005
>
> Atoms: 3351
>
> =memory
>
> total: 1710405
>
> processes: 215258
>
> processes_used: 208218
>
> system: 1495147
>
> atom: 137441
>
> atom_used: 134092
>
> binary: 144096
>
> code: 873939
>
> ets: 28268
>
> =hash_table:atom_tab
>
> size: 2411
>
> used: 1814
>
> objs: 3351
>
> ..."
>
>
>
> I pored over the Erlang Questions mailing list looking for previous  
> problems with OS X and saw a suggestion to download the latest gcc  
> version from the Apple website. I installed "Xcode Tools 2.2  
> Developer Preview 1", but this didn't seem to help.
>
>
>
> Can anyone suggest a solution to this problem? Thanks in advance  
> for your help.
>
>
>
>
>
> Regards,
>
>
>
> Mark
> _________________________________________________________
> Sent using Mail2Forum (http://m2f.sourceforge.net)
>




More information about the erlang-questions mailing list