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

Alpár Jüttner <>
Thu Jul 17 10:33:07 CEST 2008


Hi,

There are two issues to be solved for installing erlang on openSuse 11.

     1. The wrong gcc version. Probably the easiest solution is to add
        the GCC software repository
        (http://download.opensuse.org/repositories/devel%3a/tools%
        3a/gcc/openSUSE_11.0) to the package manager and upgrade your
        compiler.
     2. Too new glibc version. This is a silly mistake in the erlang
        source. To  solve it you must change a single line in it. See
        e.g. this:
        http://www.erlang.org/pipermail/erlang-questions/2008-July/036380.html

Best regards,
Alpar


On Wed, 2008-07-16 at 16:51 +0100, Xingdong Bian wrote:
> 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
> 
> http://www.erlang.org/mailman/listinfo/erlang-questions




More information about the erlang-questions mailing list