Building on SuSE 9.0

Anders Nygren anders_nygren2002@REDACTED
Mon May 3 04:31:16 CEST 2004


Hi
I am trying to build R9C on SuSE 9.0 and get the following
error.

cd erts/emulator && ERL_TOP=/usr/local/src/otp_src_R9C-0 make generate 
depend
make[1]: Entering directory `/usr/local/src/otp_src_R9C-0/erts/emulator'
LANG=C /usr/bin/perl utils/beam_makeops -outdir i686-pc-linux-gnu \
         -emulator 
/usr/local/src/otp_src_R9C-0/lib/compiler/src/genop.tab beam/ops.tab 
hipe/hipe_ops.tab
LANG=C /usr/bin/perl utils/make_tables -src i686-pc-linux-gnu -include 
i686-pc-linux-gnu beam/atom.names beam/bif.tab hipe/hipe_bif0.tab 
hipe/hipe_bif1.tab hipe/hipe_bif2.tab
LANG=C /usr/bin/perl utils/make_version -o 
i686-pc-linux-gnu/erl_version.h 5.3 i686-pc-linux-gnu
LANG=C /usr/bin/perl utils/make_driver_tab -o 
i686-pc-linux-gnu/driver_tab.c 
/usr/local/src/otp_src_R9C-0/erts/obj.beam/i686-pc-linux-gnu/efile_drv.o 
/usr/local/src/otp_src_R9C-0/erts/obj.beam/i686-pc-linux-gnu/ddll_drv.o 
/usr/local/src/otp_src_R9C-0/erts/obj.beam/i686-pc-linux-gnu/inet_drv.o 
/usr/local/src/otp_src_R9C-0/erts/obj.beam/i686-pc-linux-gnu/zlib_drv.o 
/usr/local/src/otp_src_R9C-0/erts/obj.beam/i686-pc-linux-gnu/ram_file_drv.o 
/usr/local/src/otp_src_R9C-0/erts/obj.beam/i686-pc-linux-gnu/ttsl_drv.o
LANG=C /usr/bin/perl utils/make_preload -old 
/usr/local/src/otp_src_R9C-0/lib/kernel/ebin/otp_ring0.beam 
/usr/local/src/otp_src_R9C-0/lib/kernel/ebin/init.beam 
/usr/local/src/otp_src_R9C-0/lib/kernel/ebin/prim_inet.beam 
/usr/local/src/otp_src_R9C-0/lib/kernel/ebin/prim_file.beam 
/usr/local/src/otp_src_R9C-0/lib/kernel/ebin/erl_prim_loader.beam 
/usr/local/src/otp_src_R9C-0/lib/kernel/ebin/erlang.beam > 
i686-pc-linux-gnu/preload.c
LANG=C /usr/bin/perl utils/make_alloc_types -src beam/erl_alloc.types 
-dst i686-pc-linux-gnu/opt/erl_alloc_types.h hipe unix
m4 -DTARGET=i686-pc-linux-gnu hipe/hipe_x86_asm.m4 > 
i686-pc-linux-gnu/hipe_x86_asm.h
gcc  -g -O3 -I/usr/local/src/otp_src_R9C-0/erts/  -DHAVE_CONFIG_H -Wall 
-Wstrict-prototypes -Wmissing-prototypes -DHIPE_ARCHITECTURE=x86  -Ibeam 
-Isys/unix -Isys/common -Ii686-pc-linux-gnu -Ii686-pc-linux-gnu/opt 
-Izlib -Ihipe -c hipe/hipe_mkliterals.c -o 
/usr/local/src/otp_src_R9C-0/erts/obj.beam/i686-pc-linux-gnu/hipe_mkliterals.o
hipe/hipe_mkliterals.c:10:20: config.h: No such file or directory
make[1]: *** 
[/usr/local/src/otp_src_R9C-0/erts/obj.beam/i686-pc-linux-gnu/hipe_mkliterals.o] 
Error 1
make[1]: Leaving directory `/usr/local/src/otp_src_R9C-0/erts/emulator'
make: *** [depend] Error 2


So a config.h is missing, what config.h do I have

linux:/usr/local/src/otp_src_R9C-0 # find . -name config.h
./lib/erl_interface/src/i686-pc-linux-gnu/config.h
./lib/erl_interface/src/config.h
./erts/i686-pc-linux-gnu/config.h


Any Ideas what is missing?

/Anders Nygren




More information about the erlang-questions mailing list