[Distel-hackers] Error compiling otp_doc.erl
Status: Beta
Brought to you by:
lukeg
From: Jay D. <ja...@lo...> - 2008-05-19 19:57:40
|
Hi, I'm trying to install distel on my macbook pro running MacOSX 10.4.11 jay@alu:~/emacs/distel$ uname -a Darwin alu.almery.com 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 i386 I got the latest version of distel from svn: jay@alu:~/emacs/distel$ svn info Path: . URL: http://distel.googlecode.com/svn/trunk Repository Root: http://distel.googlecode.com/svn Repository UUID: d5f8e727-742a-0410-b67d-dd739a6cc792 Revision: 59 Node Kind: directory Schedule: normal Last Changed Author: mats.cronqvist Last Changed Rev: 58 Last Changed Date: 2008-05-13 06:13:19 -0700 (Tue, 13 May 2008) But am running into this problem: jay@alu:~/emacs/distel$ make erlc -W -o ebin +debug_info src/distel.erl erlc -W -o ebin +debug_info src/distel_ie.erl src/distel_ie.erl:65: Warning: variable 'Options' is unused src/distel_ie.erl:193: Warning: variable 'Defs' is unused src/distel_ie.erl:195: Warning: variable 'Defs' is unused src/distel_ie.erl:197: Warning: variable 'Defs' is unused src/distel_ie.erl:199: Warning: variable 'Defs' is unused src/distel_ie.erl:235: Warning: variable 'Defs' is unused src/distel_ie.erl:270: Warning: variable 'Arity' is unused src/distel_ie.erl:270: Warning: variable 'Function' is unused erlc -W -o ebin +debug_info src/fdoc.erl erlc -W -o ebin +debug_info src/otp_doc.erl src/otp_doc.erl:91: syntax error before: '{' src/otp_doc.erl:14: function init/1 undefined src/otp_doc.erl:63: Warning: variable 'Fun' is unused src/otp_doc.erl:63: Warning: variable 'Mod' is unused src/otp_doc.erl:197: Warning: function html_index/2 is unused src/otp_doc.erl:200: Warning: function lines/3 is unused make: *** [ebin/otp_doc.beam] Error 1 I'm just starting to learn erlang, and am not sure what problem it's having on line 91. BTW, I just upgraded from R11B-4_3 to R12B-0_0, but get a compilation error in the same place with either. Can anyone offer any insight? Thanks, Jay |