Erlang installation problems

Eric Merritt <>
Wed Feb 12 17:04:43 CET 2003


Emil,

 You are using redhat 8.0 arn't you? In the latest
version of redhat they changed the LANG environment
variable. This screwed up perl in allot of places. You
can fix this by doing one of serveral things. The
easiest is simply to export LANG=c before you
configure. You may also set the LANG var in your
/etc/profile or your personal .bashrc. However, since
erlang only depends on this in the build phase I would
say simple export that at the shell before you
configure and build.


--- Emil_Sköldberg <> wrote:
> 
> Update:
> 
> Whether or not I have 'use bytes;' in
> erts/emulator/utils/make_preload
> I get the error
> 
> /usr/bin/perl utils/make_preload -old
>
/usr/local/share/erlang/otp_src_R9B-0/lib/kernel/ebin/otp_ring0.beam
>
/usr/local/share/erlang/otp_src_R9B-0/lib/kernel/ebin/init.beam
>
/usr/local/share/erlang/otp_src_R9B-0/lib/kernel/ebin/prim_inet.beam
>
/usr/local/share/erlang/otp_src_R9B-0/lib/kernel/ebin/prim_file.beam
>
/usr/local/share/erlang/otp_src_R9B-0/lib/kernel/ebin/erl_prim_loader.beam
>
/usr/local/share/erlang/otp_src_R9B-0/lib/kernel/ebin/erlang.beam
> >
> i686-pc-linux-gnu/preload.c
> chunk size 158299248 greater than size 1192 of
> module at
> utils/make_preload line 160, <FILE> chunk 1.
> make[2]: *** [i686-pc-linux-gnu/preload.c] Error 255
> 
> when making.
> 
> The number 158299248 is so much bigger than 1192
> that some integer
> overflow seems to be occuring (Well, I really have
> no idea, but...)
> 
> /Emil
> 
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com



More information about the erlang-questions mailing list