[erlang-questions] Install Erlang/OTP on SUSE 11
Edwin Fine
erlang-questions_efine@REDACTED
Wed Jul 16 21:03:17 CEST 2008
Have you tried
make clean;./configure
?
2008/7/16 Xingdong Bian <bian@REDACTED>:
> 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
> ==================================
>
>
> 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
> erlang-questions@REDACTED
> 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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080716/dcf6078a/attachment.htm>
More information about the erlang-questions
mailing list