[erlang-questions] Install Erlang/OTP on SUSE 11

Monika Moser <>
Wed Jul 16 23:09:49 CEST 2008


2008/7/16 Edwin Fine <>:

> Have you tried
>
> make clean;./configure
>
> ?
>
> 2008/7/16 Xingdong Bian <>:
>
>> Hi
>>
>> Any one has the same issues with me?
>> When i install the Erlang/OTP on the SUSE 11 for
>> 12B-3:
>> it says the gcc compiler is not supported, asks me to change another
>> version of the gcc compiler
>>
>> 11B-5, 12B-0,1,2:
>> ./configure is fine
>> then make with error:
>> ==================================
>> obj/i686-pc-linux-gnu/opt/smp/ttsl_drv.o -lutil -ldl -lm -lncurses
>> -L../lib/internal/i686-pc-linux-gnu
>> /home/bian/downloads/otp_src_R12B-2/erts/obj/i686-pc-linux-gnu/libz.a
>> -lethread -lpthread -lerts_internal_r -lrt
>> obj/i686-pc-linux-gnu/opt/smp/hipe_x86_signal.o: In function
>> `my_sigaction':
>> /home/bian/downloads/otp_src_R12B-2/erts/emulator/hipe/hipe_x86_signal.c:220:
>> undefined reference to `INIT'
>> /home/bian/downloads/otp_src_R12B-2/erts/emulator/hipe/hipe_x86_signal.c:230:
>> undefined reference to `__next_sigaction'
>> obj/i686-pc-linux-gnu/opt/smp/hipe_x86_signal.o: In function
>> `hipe_signal_init':
>> /home/bian/downloads/otp_src_R12B-2/erts/emulator/hipe/hipe_x86_signal.c:305:
>> undefined reference to `INIT'
>> obj/i686-pc-linux-gnu/opt/smp/hipe_x86_signal.o: In function
>> `my_sigaction':
>> /home/bian/downloads/otp_src_R12B-2/erts/emulator/hipe/hipe_x86_signal.c:220:
>> undefined reference to `INIT'
>> /home/bian/downloads/otp_src_R12B-2/erts/emulator/hipe/hipe_x86_signal.c:230:
>> undefined reference to `__next_sigaction'
>> /home/bian/downloads/otp_src_R12B-2/erts/emulator/hipe/hipe_x86_signal.c:220:
>> undefined reference to `INIT'
>> /home/bian/downloads/otp_src_R12B-2/erts/emulator/hipe/hipe_x86_signal.c:230:
>> undefined reference to `__next_sigaction'
>> collect2: ld returned 1 exit status
>> make[3]: ***
>> [/home/bian/downloads/otp_src_R12B-2/bin/i686-pc-linux-gnu/beam.smp] Error
>> 1
>> make[3]: Leaving directory
>> `/home/bian/downloads/otp_src_R12B-2/erts/emulator'
>> make[2]: *** [opt] Error 2
>> make[2]: Leaving directory
>> `/home/bian/downloads/otp_src_R12B-2/erts/emulator'
>> make[1]: *** [smp] Error 2
>> make[1]: Leaving directory `/home/bian/downloads/otp_src_R12B-2/erts'
>> make: *** [emulator] Error 2
>> ==================================
>>
>
Hi,
if I remember correctly it has to do with the glibc version.
With your SUSE installation the minor version of glibc should be higher than
7.
In file /otp_src_R12B-2/erts/emulator/hipe/hipe_x86_signal.c there is a
check for __GLIBC_MINOR__ <= 7.
Just remove that check in line 37 and it should work.
However I did that one month ago ...  thus I hope to  this was everything I
had  to do to get erlang running.
Cheers,
Monika



>
>>
>> when i disable the hipe with
>> ./configure --disable-hipe
>> I still get error:
>>
>> ==================================
>> make[2]: Leaving directory `/home/bian/erlang/otp_src_R12B-1'
>> make[1]: Leaving directory `/home/bian/erlang/otp_src_R12B-1'
>> cd lib && \
>> ERL_TOP=/home/bian/erlang/otp_src_R12B-1
>> PATH=/home/bian/erlang/otp_src_R12B-1/bootstrap/bin:${PATH} \
>> make opt SECONDARY_BOOTSTRAP=true
>> make[1]: Entering directory `/home/bian/erlang/otp_src_R12B-1/lib'
>> make[2]: Entering directory
>> `/home/bian/erlang/otp_src_R12B-1/lib/parsetools'
>> === Entering application parsetools
>> make[3]: Entering directory
>> `/home/bian/erlang/otp_src_R12B-1/lib/parsetools/src'
>> make[3]: Nothing to be done for `opt'.
>> make[3]: Leaving directory
>> `/home/bian/erlang/otp_src_R12B-1/lib/parsetools/src'
>> === Skipping subdir doc/src, it is missing
>> === Leaving application parsetools
>> make[2]: Leaving directory
>> `/home/bian/erlang/otp_src_R12B-1/lib/parsetools'
>> make[2]: Entering directory
>> `/home/bian/erlang/otp_src_R12B-1/lib/asn1/src'
>> make[2]: Nothing to be done for `opt'.
>> make[2]: Leaving directory
>> `/home/bian/erlang/otp_src_R12B-1/lib/asn1/src'
>> make[2]: Entering directory `/home/bian/erlang/otp_src_R12B-1/lib/hipe'
>> Makefile:35: warning: overriding commands for target `docs'
>> /home/bian/erlang/otp_src_R12B-1/make/otp_subdir.mk:28: warning: ignoring
>> old commands for target `docs'
>> === Entering application hipe
>> make[3]: Entering directory
>> `/home/bian/erlang/otp_src_R12B-1/lib/hipe/rtl'
>> /home/bian/erlang/otp_src_R12B-1/bin/i686-pc-linux-gnu/hipe_mkliterals -e
>> > hipe_literals.hrl
>> erlc -W +debug_info +warn_obsolete_guard +inline -o../ebin
>> hipe_rtl_arch.erl
>> make[3]: *** [../ebin/hipe_rtl_arch.beam] Segmentation fault
>> make[3]: Leaving directory
>> `/home/bian/erlang/otp_src_R12B-1/lib/hipe/rtl'
>> make[2]: *** [opt] Error 2
>> make[2]: Leaving directory `/home/bian/erlang/otp_src_R12B-1/lib/hipe'
>> make[1]: *** [opt] Error 2
>> make[1]: Leaving directory `/home/bian/erlang/otp_src_R12B-1/lib'
>> make: *** [secondary_bootstrap_build] Error 2
>>
>> ==================================
>>
>>
>> The above two error texts from different version installation, but for all
>> 11b-5, 12b-0,1,2 the error is the same.
>>
>> Any one has any idea?
>>
>> Thanks
>> Xingdong
>>
>> _______________________________________________
>> erlang-questions mailing list
>> 
>> http://www.erlang.org/mailman/listinfo/erlang-questions
>>
>
>
>
> --
> The great enemy of the truth is very often not the lie -- deliberate,
> contrived and dishonest, but the myth, persistent, persuasive, and
> unrealistic. Belief in myths allows the comfort of opinion without the
> discomfort of thought.
> John F. Kennedy 35th president of US 1961-1963 (1917 - 1963)
> _______________________________________________
> erlang-questions mailing list
> 
> http://www.erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080716/7444427f/attachment.html>


More information about the erlang-questions mailing list