having installation problems
Gaspar Chilingarov
nm@REDACTED
Tue Jul 26 16:02:08 CEST 2005
Hello!
It's more freebsd-related question , than erlang :)
Babu Dhandapani wrote:
> Hi,
> I'm new to this field.
> I'm trying to install erlang in BSD.
> I went to dir /usr/ports/lang/erlang
> executed command "pkg_add -r erlang"
pkg_add -r fetches binary package from remote server and installs it.
you do not need to run make then.
Choose one of the ways -- either you install from package or from port.
Ok, let's see what if you install from port - probably you have no auto*
ports - autoconf and automake. I got latest versions of then, and
erlang updates automagically w/o any problems.
> & then executed "make"
> but it's giving the following error.
>
> Any help is appereciated.
>
> Thanks in advance.
>
> ===> Vulnerability check disabled, database not found
> ===> Extracting for erlang-r10b6_1,1
> => Checksum OK for erlang/otp_src_R10B-6.tar.gz.
> => Checksum OK for erlang/otp_doc_man_R10B-6.tar.gz.
> => Checksum OK for erlang/otp_doc_html_R10B-6.tar.gz.
> ===> erlang-r10b6_1,1 depends on file:
> /usr/local/bin/perl5.8.6 - found
> ===> Patching for erlang-r10b6_1,1
> ===> erlang-r10b6_1,1 depends on file:
> /usr/local/bin/perl5.8.6 - found
> ===> Applying FreeBSD patches for erlang-r10b6_1,1
> ===> erlang-r10b6_1,1 depends on executable: gmake -
> found
> ===> erlang-r10b6_1,1 depends on file:
> /usr/local/bin/perl5.8.6 - found
> ===> erlang-r10b6_1,1 depends on shared library:
> iodbc.3 - found
> ===> Configuring for erlang-r10b6_1,1
> checking host system type... i386-unknown-freebsd5.4
> checking for GNU make... yes (gmake)
> checking for a BSD compatible install...
> /usr/bin/install -c -o root -g wheel
> checking whether ln -s works... yes
> checking for ranlib... ranlib
> creating ./config.status
> creating Makefile
> configuring in lib
> running /bin/sh
> /usr/ports/lang/erlang/work/otp_src_R10B-6/lib/configure
> --enable-threads --enable-hipe --enable-kernel-poll
> --prefix=/usr/local --cache-file=.././config.cache
> --srcdir=/usr/ports/lang/erlang/work/otp_src_R10B-6/lib
> creating ./config.status
> configuring in erl_interface/.
> running /bin/sh
> /usr/ports/lang/erlang/work/otp_src_R10B-6/lib/erl_interface/./configure
> --enable-threads --enable-hipe --enable-kernel-poll
> --prefix=/usr/local
> --cache-file=../../.././config.cache
> --srcdir=/usr/ports/lang/erlang/work/otp_src_R10B-6/lib/erl_interface/.
> checking host system type... i386-unknown-freebsd5.4
> checking for gcc... cc
> checking whether the C compiler (cc -O -pipe
> -I/usr/local/include -L/usr/local/lib) works... yes
> checking whether the C compiler (cc -O -pipe
> -I/usr/local/include -L/usr/local/lib) is a
> cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether cc accepts -g... yes
> checking how to run the C preprocessor... cc -E
> checking for ranlib... ranlib
> checking size of short... 2
> checking size of int... 4
> checking size of long... 4
> checking size of void *... 4
> checking size of long long... 8
> checking for ar... ar
> checking for a BSD compatible install...
> /usr/bin/install -c -o root -g wheel
> checking for gethostbyname in -lnsl... no
> 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... no
> 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/select.h... yes
> checking for sys/time.h... yes
> checking for unistd.h... yes
> 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... no
> checking for alloca... yes
> checking whether cc needs -traditional... no
> checking for 8-bit clean memcmp... yes
> checking for dup2... yes
> checking for gethostbyaddr... yes
> checking for gethostbyname... yes
> checking for gethostbyaddr_r... no
> checking for gethostbyname_r... no
> 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... no
> checking for clock_gettime... yes
> checking for native win32 threads... no
> checking for pthread_create in -lpthread... yes
> checking for pthread_atfork in -lpthread... yes
> checking for pthread.h... yes
> checking for pthread/mit/pthread.h... no
> creating ./config.status
> creating src/i386-unknown-freebsd5.4/Makefile
> creating src/i386-unknown-freebsd5.4/eidefs.mk
> creating src/i386-unknown-freebsd5.4/config.h
> configuring in gs/.
> running /bin/sh
> /usr/ports/lang/erlang/work/otp_src_R10B-6/lib/gs/./configure
> --enable-threads --enable-hipe --enable-kernel-poll
> --prefix=/usr/local
> --cache-file=../../.././config.cache
> --srcdir=/usr/ports/lang/erlang/work/otp_src_R10B-6/lib/gs/.
> checking host system type... i386-unknown-freebsd5.4
> checking for prebuilt tcl/tk in
> tcl/binaries/i386_freebsd5.tar.gz... not found
> creating ./config.status
> creating tcl/i386-unknown-freebsd5.4/Makefile
> creating tcl/win32/Makefile
> configuring in megaco/.
> running /bin/sh
> /usr/ports/lang/erlang/work/otp_src_R10B-6/lib/megaco/./configure
> --enable-threads --enable-hipe --enable-kernel-poll
> --prefix=/usr/local
> --cache-file=../../.././config.cache
> --srcdir=/usr/ports/lang/erlang/work/otp_src_R10B-6/lib/megaco/.
> checking host system type... i386-unknown-freebsd5.4
> checking for flex... flex
> checking for yywrap in -lfl... yes
> checking for gcc... cc
> checking whether the C compiler (cc -O -pipe
> -I/usr/local/include -L/usr/local/lib) works... yes
> checking whether the C compiler (cc -O -pipe
> -I/usr/local/include -L/usr/local/lib) is a
> cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether cc 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/i386-unknown-freebsd5.4/Makefile
> configuring in odbc/.
> running /bin/sh
> /usr/ports/lang/erlang/work/otp_src_R10B-6/lib/odbc/./configure
> --enable-threads --enable-hipe --enable-kernel-poll
> --prefix=/usr/local
> --cache-file=../../.././config.cache
> --srcdir=/usr/ports/lang/erlang/work/otp_src_R10B-6/lib/odbc/.
> checking host system type... i386-unknown-freebsd5.4
> checking for gcc... cc
> checking whether the C compiler (cc -O -pipe
> -I/usr/local/include -L/usr/local/lib) works... yes
> checking whether the C compiler (cc -O -pipe
> -I/usr/local/include -L/usr/local/lib) is a
> cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether cc accepts -g... yes
> checking for mixed cygwin and native VC++
> environment... no
> checking whether gmake sets ${MAKE}... yes
> checking for ld.sh... no
> checking for ld... ld
> checking for SQLAllocHandle in -lodbc... yes
> checking for main in -lodbc32... no
> checking for pthread_create in -lpthread... yes
> checking for odbc in standard locations...
> -L/usr/local/lib
> checking for connect... yes
> checking for gethostbyname... yes
> checking how to run the C preprocessor... cc -E
> checking for ANSI C header files... yes
> checking for fcntl.h... yes
> checking for netdb.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for sys/socket.h... yes
> checking for working const... yes
> checking for size_t... yes
> checking for memset... yes
> checking for socket... yes
> creating ./config.status
> creating c_src/i386-unknown-freebsd5.4/Makefile
> configuring in snmp/.
> running /bin/sh
> /usr/ports/lang/erlang/work/otp_src_R10B-6/lib/snmp/./configure
> --enable-threads --enable-hipe --enable-kernel-poll
> --prefix=/usr/local
> --cache-file=../../.././config.cache
> --srcdir=/usr/ports/lang/erlang/work/otp_src_R10B-6/lib/snmp/.
> checking host system type... i386-unknown-freebsd5.4
> checking for perl... perl
> creating ./config.status
> creating mibs/Makefile
> configuring in erts
> running /bin/sh
> /usr/ports/lang/erlang/work/otp_src_R10B-6/erts/configure
> --enable-threads --enable-hipe --enable-kernel-poll
> --prefix=/usr/local --cache-file=.././config.cache
> --srcdir=/usr/ports/lang/erlang/work/otp_src_R10B-6/erts
> creating cache .././config.cache
> checking host system type... i386-unknown-freebsd5.4
> checking for gcc... cc
> checking whether the C compiler (cc -O -pipe
> -I/usr/local/include -L/usr/local/lib) works... yes
> checking whether the C compiler (cc -O -pipe
> -I/usr/local/include -L/usr/local/lib) is a
> cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether cc accepts -g... yes
> checking for POSIXized ISC... no
> checking for gcc... (cached) cc
> checking whether the C compiler (cc -O -pipe
> -I/usr/local/include -L/usr/local/lib) works... yes
> checking whether the C compiler (cc -O -pipe
> -I/usr/local/include -L/usr/local/lib) is a
> cross-compiler... no
> checking whether we are using GNU C... (cached) yes
> checking whether cc accepts -g... (cached) yes
> checking for mixed cygwin and native VC++
> environment... no
> checking how to run the C preprocessor... cc -E
> checking for ranlib... ranlib
> checking for bison... bison -y
> checking for perl5... /usr/local/bin/perl5
> checking whether ln -s works... yes
> checking for ar... ar
> checking for rm... /bin/rm
> checking for mkdir... /bin/mkdir
> checking for a BSD compatible install...
> /usr/bin/install -c -o root -g wheel
> checking how to create a directory including
> parents... /usr/bin/install -c -o root -g wheel -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... no
> checking for main in -linet... no
> checking for native win32 threads... no
> checking for pthread_create in -lpthread... yes
> checking for pthread.h... yes
> checking for pthread/mit/pthread.h... no
> checking for sys/time.h... yes
> checking for pthread_atfork... yes
> checking for pthread_mutexattr_settype... yes
> checking for pthread_mutexattr_setkind_np... yes
> checking whether the emulator should use threads...
> yes; thread support requested
> checking for tgetent in -lncurses... yes
> checking for connect... yes
> checking for gethostbyname... yes
> checking for gethostbyname_r... no
> checking if netdb.h requires netinet/in.h to be
> previously included... no
> checking for socklen_t... yes
> 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... yes
> checking for sys/stropts.h... no
> checking for sys/ioctl.h... yes
> checking for sys/time.h... (cached) yes
> checking for sys/uio.h... yes
> checking for sys/sockio.h... yes
> checking for sys/socketio.h... no
> checking for net/errno.h... no
> checking for malloc.h... no
> checking for mach-o/dyld.h... no
> checking for arpa/nameser.h... yes
> checking for sys/devpoll.h... no
> checking for linux/kpoll.h... no
> checking for sys/event.h... yes
> checking for SO_BSDCOMPAT declaration... no
> 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...
> yes
> checking for struct exception (and matherr
> function)... yes
> checking size of char... 1
> checking size of short... 2
> checking size of int... 4
> checking size of long... 4
> checking size of void *... 4
> checking size of long long... 8
> checking size of size_t... 4
> checking size of off_t... 8
> checking int/long/void*/size_t sizes... ok
> checking whether byte ordering is bigendian... no
> checking for getipnodebyname... yes
> checking for getipnodebyaddr... yes
> 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... no
> checking for dlopen... 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... no
> checking for memcpy... yes
> checking for mallopt... no
> checking whether setvbuf arguments are reversed... no
> checking if vfork is known to hang multithreaded
> applications... 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... none
> checking for unreliable floating point execptions...
> reliable
> checking if gethrvtime works and how to use it... not
> working
> checking if clock_gettime works... not working
> checking whether to redefine FD_SETSIZE... no
> checking for vperfctr_info in -lperfctr... no
> checking for working poll()... ok
> checking for compiler flags for loadable drivers...
> -D_THREAD_SAFE -D_REENTRANT -O -pipe
> -I/usr/local/include
> -I/usr/ports/lang/erlang/work/otp_src_R10B-6/erts/i386-unknown-freebsd5.4
> -fPIC
> checking for linker for loadable drivers... ld
> checking for linker flags for loadable drivers...
> -shared
> checking for 'runtime library path' linker flag... -R
> checking for a compiler that handles jumptables... cc
> 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... no
> checking for javac... no
> checking for guavac... no
> checking for gcj... no
> checking for jikes... no
> checking for bock... no
> checking for c++... c++
> updating cache .././config.cache
> creating ./config.status
> creating emulator/i386-unknown-freebsd5.4/Makefile
> creating
> emulator/zlib/i386-unknown-freebsd5.4/Makefile
> creating epmd/src/i386-unknown-freebsd5.4/Makefile
> creating etc/common/i386-unknown-freebsd5.4/Makefile
> creating
> include/internal/i386-unknown-freebsd5.4/ethread.mk
> creating lib_src/i386-unknown-freebsd5.4/Makefile
> creating ../make/i386-unknown-freebsd5.4/otp.mk
> creating
> ../lib/ic/c_src/i386-unknown-freebsd5.4/Makefile
> creating
> ../lib/os_mon/c_src/i386-unknown-freebsd5.4/Makefile
> creating
> ../lib/ssl/c_src/i386-unknown-freebsd5.4/Makefile
> creating
> ../lib/ssl/examples/certs/i386-unknown-freebsd5.4/Makefile
> creating
> ../lib/crypto/c_src/i386-unknown-freebsd5.4/Makefile
> creating
> ../lib/ssh/c_src/i386-unknown-freebsd5.4/Makefile
> creating
> ../lib/orber/c_src/i386-unknown-freebsd5.4/Makefile
> creating
> ../lib/runtime_tools/c_src/i386-unknown-freebsd5.4/Makefile
> creating
> ../lib/asn1/c_src/i386-unknown-freebsd5.4/Makefile
> creating i386-unknown-freebsd5.4/config.h
> creating
> include/internal/i386-unknown-freebsd5.4/ethread_header_config.h
> *********************************************************************
> ********************** APPLICATIONS DISABLED
> **********************
> *********************************************************************
>
> jinterface : No Java compiler found
>
> *********************************************************************
> ===> Building for erlang-r10b6_1,1
> cd erts/emulator &&
> ERL_TOP=/usr/ports/lang/erlang/work/otp_src_R10B-6
> gmake generate depend
> gmake[1]: Entering directory
> `/usr/ports/lang/erlang/work/otp_src_R10B-6/erts/emulator'
> gmake -f i386-unknown-freebsd5.4/Makefile generate
> gmake[2]: Entering directory
> `/usr/ports/lang/erlang/work/otp_src_R10B-6/erts/emulator'
>
> Makefile.in has been updated, please re-run
> configure!
>
> gmake[2]: Leaving directory
> `/usr/ports/lang/erlang/work/otp_src_R10B-6/erts/emulator'
> gmake[1]: Leaving directory
> `/usr/ports/lang/erlang/work/otp_src_R10B-6/erts/emulator'
> *** Error code 2
>
> Stop in /usr/ports/lang/erlang.
>
>
> Thanks,
> Babu
>
>
>
>
>
> ___________________________________________________________
> Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
>
--
Gaspar Chilingarov
System Administrator
t +37491 419763 (mob)
t +37410 240399 (office)
w www.web.am
i 63174784
e nm@REDACTED
More information about the erlang-questions
mailing list