Erlang Mailing Lists

Author Message

<  Erlang bugs mailing list  ~  Mac OSX installation issue with R9C-2

kramer at acm.org
Posted: Sat Sep 11, 2004 1:17 am Reply with quote
Guest
I've noticed that my "make install" command fails for R9C-2 on my OSX
Mac because the /usr/local/lib/erlang/Install script at line 95 does a

if [ -d $ERL_ROOT/lib/sasl* ]

which fails with

[yoghurt:~/erlang/otp_src_R9C-2] reto% sudo make install.Install
Password:
cd /usr/local/lib/erlang && ./Install -minimal /usr/local/lib/erlang
./Install: line 95: [: too many arguments
Formatting manual pages (this may take a while...)
make: *** [install.Install] Error 127

It turns out that I've got 3 version of the sasl application installed
(back from older OTP releases that I used):

/usr/local/lib/erlang/lib/sasl-1.10:
/usr/local/lib/erlang/lib/sasl-1.9.3:
/usr/local/lib/erlang/lib/sasl-1.9.4:

My work around was to patch the line to be

if [ -d $ERL_ROOT/lib/sasl-1.10* ]

This then allowed the sasl boot script to be generated correctly (it
now is the R9 script that includes kernel-2.9 rather than 2.8, which is
what I cared about).

Best regards,
- Reto



Post generated using Mail2Forum (http://m2f.sourceforge.net)

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum