Problem installing Erlang on Gentoo

Jimmie Houchin <>
Fri Mar 12 05:54:05 CET 2004


Hello,

I am attempting to emerge erlang on my Gentoo server.
It is a dual Opteron.

The ebuild is masked so is considered unstable, but many masked ebuilds 
work just fine.

Below is the output from my attempt.

Any help greatly appreciated.

Jimmie Houchin


Script started on Thu Mar 11 22:40:36 2004

emerge dev-lang/erlang/erlang-9c-r2.ebuild
Started emerge on: Mar 11, 2004 22:41:07]1;]2; *** emerge 
dev-lang/erlang/erlang-9c-r2.ebuild Calculating dependencies  \ ...done!
 >>> emerge (1 of 1) dev-lang/erlang-9c-r2 to /
]1;]2; >>> emerge (1 of 1) dev-lang/erlang-9c-r2 to /]1;]2; === (1 of 1) 
Cleaning 
(dev-lang/erlang-9c-r2::/usr/portage/dev-lang/erlang/erlang-9c-r2.ebuild)]1;]2; 
=== (1 of 1) Compiling/Merging 
(dev-lang/erlang-9c-r2::/usr/portage/dev-lang/erlang/erlang-9c-r2.ebuild)>>> 
md5 src_uri ;-) otp_src_R9C-0.tar.gz
 >>> Unpacking source...
 >>> Unpacking otp_src_R9C-0.tar.gz to /var/tmp/portage/erlang-9c-r2/work
  [32;01m*[0m Applying 9c.patch...
[A[119G  [34;01m[ [32;01mok[34;01m ][0m
 >>> Source unpacked.
checking host system type... x86_64-pc-linux-gnu
checking for GNU make... yes (make)
checking for a BSD compatible install... /bin/install -c
checking whether ln -s works... yes
checking for ranlib... ranlib
creating ./config.status
creating Makefile
configuring in lib
running /bin/sh 
/var/tmp/portage/erlang-9c-r2/work/otp_src_R9C-0/lib/configure 
--prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man 
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc 
--localstatedir=/var/lib --enable-threads --cache-file=.././config.cache 
--srcdir=/var/tmp/portage/erlang-9c-r2/work/otp_src_R9C-0/lib
creating ./config.status
configuring in erl_interface/.
running /bin/sh 
/var/tmp/portage/erlang-9c-r2/work/otp_src_R9C-0/lib/erl_interface/./configure 
  --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man 
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc 
--localstatedir=/var/lib --enable-threads 
--cache-file=../../.././config.cache 
--srcdir=/var/tmp/portage/erlang-9c-r2/work/otp_src_R9C-0/lib/erl_interface/. 

checking host system type... x86_64-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -pipe -fomit-frame-pointer ) 
works... yes
checking whether the C compiler (gcc -O2 -pipe -fomit-frame-pointer ) is 
a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of void *... 8
checking size of long long... 8
checking for ar... ar
checking for a BSD compatible install... /bin/install -c
checking for gethostbyname in -lnsl... yes
checking for getpeername in -lsocket... no
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for arpa/inet.h... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for malloc.h... yes
checking for netdb.h... yes
checking for netinet/in.h... yes
checking for stddef.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for sys/param.h... yes
checking for sys/socket.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for pthread.h... yes
checking for pthread/mit/pthread.h... no
checking for uid_t in sys/types.h... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether gcc needs -traditional... no
checking for 8-bit clean memcmp... yes
checking for clock_gettime... no
checking for dup2... yes
checking for gethostbyaddr... yes
checking for gethostbyname... yes
checking for gethostbyname_r... yes
checking for gethostname... yes
checking for writev... yes
checking for gethrtime... no
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for select... yes
checking for socket... yes
checking for strchr... yes
checking for strerror... yes
checking for strrchr... yes
checking for strstr... yes
checking for uname... yes
checking for res_gethostbyname... no
checking for res_gethostbyname in -lresolv... yes
checking if native win32 threads should be used... no
checking for pthread_create in -lpthread... yes
checking for pthread_atfork in -lpthread... yes
creating ./config.status
creating src/x86_64-pc-linux-gnu/Makefile
creating src/x86_64-pc-linux-gnu/config.h
configuring in gs/.
running /bin/sh 
/var/tmp/portage/erlang-9c-r2/work/otp_src_R9C-0/lib/gs/./configure 
--prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man 
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc 
--localstatedir=/var/lib --enable-threads 
--cache-file=../../.././config.cache 
--srcdir=/var/tmp/portage/erlang-9c-r2/work/otp_src_R9C-0/lib/gs/.
checking host system type... x86_64-pc-linux-gnu
checking for prebuilt tcl/tk in tcl/binaries/x86_64_linux-gnu.tar.gz... 
not found
creating ./config.status
creating tcl/x86_64-pc-linux-gnu/Makefile
creating tcl/win32/Makefile
configuring in megaco/.
running /bin/sh 
/var/tmp/portage/erlang-9c-r2/work/otp_src_R9C-0/lib/megaco/./configure 
  --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man 
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc 
--localstatedir=/var/lib --enable-threads 
--cache-file=../../.././config.cache 
--srcdir=/var/tmp/portage/erlang-9c-r2/work/otp_src_R9C-0/lib/megaco/.
checking host system type... x86_64-pc-linux-gnu
checking for flex... flex
checking for yywrap in -lfl... yes
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -pipe -fomit-frame-pointer ) 
works... yes
checking whether the C compiler (gcc -O2 -pipe -fomit-frame-pointer ) is 
a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ld.sh... no
checking for ld... ld
checking for linker flags for loadable drivers... -shared
checking for perl... perl
creating ./config.status
creating src/flex/x86_64-pc-linux-gnu/Makefile
configuring in snmp/.
running /bin/sh 
/var/tmp/portage/erlang-9c-r2/work/otp_src_R9C-0/lib/snmp/./configure 
--prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man 
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc 
--localstatedir=/var/lib --enable-threads 
--cache-file=../../.././config.cache 
--srcdir=/var/tmp/portage/erlang-9c-r2/work/otp_src_R9C-0/lib/snmp/.
checking host system type... x86_64-pc-linux-gnu
checking for perl... perl
creating ./config.status
creating mibs/Makefile
configuring in erts
running /bin/sh 
/var/tmp/portage/erlang-9c-r2/work/otp_src_R9C-0/erts/configure 
--prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man 
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc 
--localstatedir=/var/lib --enable-threads --cache-file=.././config.cache 
--srcdir=/var/tmp/portage/erlang-9c-r2/work/otp_src_R9C-0/erts
creating cache .././config.cache
checking host system type... x86_64-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -pipe -fomit-frame-pointer ) 
works... yes
checking whether the C compiler (gcc -O2 -pipe -fomit-frame-pointer ) is 
a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for POSIXized ISC... no
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -O2 -pipe -fomit-frame-pointer ) 
works... yes
checking whether the C compiler (gcc -O2 -pipe -fomit-frame-pointer ) is 
a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for mixed cygwin and native VC++ environment... no
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for bison... bison -y
checking for perl5... no
checking for perl... /usr/bin/perl
checking whether ln -s works... yes
checking for ar... ar
checking for a BSD compatible install... /bin/install -c
checking how to create a directory including parents... /bin/install -c -d
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... no
checking for object suffix... o
checking for extra flags needed to export symbols... -Wl,-export-dynamic
checking for sin in -lm... yes
checking for dlopen in -ldl... yes
checking for main in -linet... no
checking for main in -lresolv... yes
checking for tgetent in -lncurses... yes
checking for connect... yes
checking for gethostbyname... yes
checking for gethostbyname_r... yes
checking if netdb.h requires netinet/in.h to be previously included... yes
checking for getipnodebyname... no
checking for getipnodebyaddr... no
checking for h_errno declaration in netdb.h... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for unistd.h... yes
checking for syslog.h... yes
checking for dlfcn.h... yes
checking for ieeefp.h... no
checking for thread.h... no
checking for pthread.h... yes
checking for poll.h... yes
checking for sys/stropts.h... yes
checking for sys/ioctl.h... yes
checking for sys/time.h... yes
checking for sys/uio.h... yes
checking for sys/sockio.h... no
checking for sys/socketio.h... no
checking for net/errno.h... no
checking for malloc.h... yes
checking for mach-o/dyld.h... no
checking for arpa/nameser.h... yes
checking for pthread/mit/pthread.h... no
checking for sys/devpoll.h... no
checking for linux/kpoll.h... no
checking for sys/event.h... no
checking for SO_BSDCOMPAT declaration... yes
checking for INADDR_LOOPBACK in netinet/in.h... yes
checking for sys_errlist declaration in stdio.h or errno.h... yes
checking for working const... yes
checking return type of signal handlers... void
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether struct sockaddr has sa_len field... no
checking for struct exception (and matherr function)... yes
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of void *... 8
checking size of long long... 8
checking size of size_t... 8
checking size of off_t... 8
checking int/long/void*/size_t sizes... ok
checking whether byte ordering is bigendian... no
checking for ieee_handler... no
checking for fpsetmask... no
checking for finite... yes
checking for isnan... yes
checking for isinf... yes
checking for res_gethostbyname... yes
checking for dlopen... yes
checking for poll... yes
checking for pread... yes
checking for pwrite... yes
checking for writev... yes
checking for memmove... yes
checking for strerror... yes
checking for strerror_r... yes
checking for strncasecmp... yes
checking for gethrtime... no
checking for localtime_r... yes
checking for gmtime_r... yes
checking for mremap... yes
checking for memcpy... yes
checking for mallopt... yes
checking whether setvbuf arguments are reversed... no
checking for vfork.h... no
checking for working vfork... yes
checking for vprintf... yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for conflicting declaration of fread... yes
checking for IP version 6 support... yes
checking for multicast support... yes
checking how to correct for time adjustments... times
checking for unreliable floating point execptions... unreliable; testing 
in software instead
checking if gethrvtime works and how to use it... not working
checking whether to redefine FD_SETSIZE... no
checking if native win32 threads should be used... no
checking for pthread_create in -lpthread... yes
checking for pthread_atfork in -lpthread... yes
checking for pthread_mutexattr_settype in -lpthread... yes
checking for pthread_mutexattr_setkind_np in -lpthread... yes
checking for linker flags for loadable drivers... -shared
checking for a compiler that handles jumptables... gcc
checking for OpenSSL >= 0.9.7 in standard locations... /usr
checking for OpenSSL kerberos 5 support... no
checking for kstat_open in -lkstat... no
checking for javac.sh... /opt/blackdown-jdk-1.4.2_rc1/bin/javac
checking for JDK version 1.2... yes
checking for c++... g++
updating cache .././config.cache
creating ./config.status
creating emulator/x86_64-pc-linux-gnu/Makefile
creating emulator/zlib/x86_64-pc-linux-gnu/Makefile
creating epmd/src/x86_64-pc-linux-gnu/Makefile
creating etc/common/x86_64-pc-linux-gnu/Makefile
creating ../make/x86_64-pc-linux-gnu/otp.mk
creating ../lib/ic/c_src/x86_64-pc-linux-gnu/Makefile
creating ../lib/os_mon/c_src/x86_64-pc-linux-gnu/Makefile
creating ../lib/ssl/c_src/x86_64-pc-linux-gnu/Makefile
creating ../lib/ssl/examples/certs/x86_64-pc-linux-gnu/Makefile
creating ../lib/crypto/c_src/x86_64-pc-linux-gnu/Makefile
creating ../lib/orber/c_src/x86_64-pc-linux-gnu/Makefile
creating ../lib/odbc/c_src/x86_64-pc-linux-gnu/Makefile
creating ../lib/runtime_tools/c_src/x86_64-pc-linux-gnu/Makefile
creating ../lib/asn1/c_src/x86_64-pc-linux-gnu/Makefile
creating x86_64-pc-linux-gnu/config.h
cd erts/emulator && 
ERL_TOP=/var/tmp/portage/erlang-9c-r2/work/otp_src_R9C-0 make generate 
depend
make[1]: Entering directory 
`/var/tmp/portage/erlang-9c-r2/work/otp_src_R9C-0/erts/emulator'
make -f x86_64-unknown-linux-gnu/Makefile generate
make[2]: Entering directory 
`/var/tmp/portage/erlang-9c-r2/work/otp_src_R9C-0/erts/emulator'
make[2]: x86_64-unknown-linux-gnu/Makefile: No such file or directory
make[2]: *** No rule to make target `x86_64-unknown-linux-gnu/Makefile'. 
  Stop.
make[2]: Leaving directory 
`/var/tmp/portage/erlang-9c-r2/work/otp_src_R9C-0/erts/emulator'
make[1]: *** [generate] Error 2
make[1]: Leaving directory 
`/var/tmp/portage/erlang-9c-r2/work/otp_src_R9C-0/erts/emulator'
make: *** [depend] Error 2

!!! ERROR: dev-lang/erlang-9c-r2 failed.
!!! Function src_compile, Line 35, Exitcode 2
!!! (no error message)

Script done on Thu Mar 11 22:42:03 2004



More information about the erlang-questions mailing list