Help! Compiling Erlang 49 (otp_src_R6B-0) on Solaris 2.7, no joy

Jon Holdsworth jon@REDACTED
Fri Mar 3 04:01:07 CET 2000


Hello all, I am new to this list

I am compiling Erlang 49 (otp_src_R6B-0), the open source version,
on Solaris 2.7

So far I have not managed to get this to work.

I have searched the archives of this mailing list, enquired of ericsson
people,
and searched the web, to no avail.

Can anybody help, has anybody got this to compile yet ?


Jon Holdsworth


Transcript of the ./configure and make output is given below:

./configure

checking host system type... sparc-sun-solaris2.7
checking for GNU make... yes (make)
checking for a BSD compatible install...
/usr/jon/erlang49/otp_src_R6B-0/erts/autoconf/install-sh -c
checking whether ln -s works... yes
checking for ranlib... :
Running configure in erts/autoconf...
creating cache
/usr/jon/erlang49/otp_src_R6B-0/erts/autoconf/sparc-sun-solaris2.7/config.cache

checking host system type... sparc-sun-solaris2.7
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) 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 -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ranlib... :
checking for flex... lex
checking for yywrap in -ll... yes
checking for bison... no
checking for byacc... no
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking for perl5... no
checking for perl... /usr/local/bin/perl
checking whether ln -s works... yes
checking for ar... ar
checking for a BSD compatible install... /usr/ucb/install -c
checking how to create a directory including parents... /usr/ucb/install
-c -d
checking for extra flags needed to export symbols... none
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 -ltermlib... yes
checking for connect... no
checking for main in -lsocket... yes
checking for gethostbyname... no
checking for main in -lnsl... yes
checking for gethostbyname_r... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking how to run the C preprocessor... gcc -E
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 thread.h... yes
checking for pthread.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... yes
checking for sys/socketio.h... no
checking for net/errno.h... no
checking for pthread/mit/pthread.h... no
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... no
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 long... 4
checking for ieee_handler... no
checking for fpsetmask... yes
checking for finite... yes
checking for res_gethostbyname... yes
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 gethrtime... yes
checking for localtime_r... yes
checking for gmtime_r... yes
checking whether setvbuf arguments are reversed... no
checking for vfork.h... no
checking for working vfork... no
checking for vprintf... yes
checking for conflicting declaration of fread... yes
checking for IP version 6 support... no
checking for multicast support... yes
checking how to correct for time adjustments... hrtime
checking whether pointers contains extra bits... no
checking for conflicting declaration of fprintf... no
checking for /usr/local/ssl/include/openssl/opensslv.h... yes
./configure: syntax error at line 4398: `(' unexpected
creating ./config.status
creating Makefile
configuring in lib
running /bin/sh /usr/jon/erlang49/otp_src_R6B-0/lib/configure
--cache-file=.././config.cache
--srcdir=/usr/jon/erlang49/otp_src_R6B-0/lib
creating ./config.status
configuring in etk
running /bin/sh /usr/jon/erlang49/otp_src_R6B-0/lib/etk/configure
--cache-file=../.././config.cache
--srcdir=/usr/jon/erlang49/otp_src_R6B-0/lib/etk
checking host system type... sparc-sun-solaris2.7
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ranlib... :
checking for tcl7.6 source code... ok
checking for tk4.2 source code... ok
checking for erlang installation... ok
checking how to run the C preprocessor... gcc -E
checking for unistd.h... yes
checking for limits.h... yes
checking for dlfcn.h... yes
checking for ANSI C header files... yes
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking whether byte ordering is bigendian... yes
checking whether char is unsigned... no
checking for getcwd... yes
checking for opendir... yes
checking for strstr... yes
checking for strtol... yes
checking for tmpnam... yes
checking for waitpid... yes
checking for strerror... yes
checking for getwd... yes
checking for wait3... yes
checking for uname... yes
checking dirent.h... yes
checking for errno.h... yes
checking for float.h... yes
checking for limits.h... (cached) yes
checking for stdlib.h... yes
checking for string.h... yes
checking for sys/wait.h... yes
checking for dlfcn.h... (cached) yes
checking for unistd.h... (cached) yes
checking fd_set and sys/select... yes
checking for sys/time.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for tm_zone in struct tm... no
checking for tzname... yes
checking tm_tzadj in struct tm... no
checking tm_gmtoff in struct tm... no
checking long timezone variable... yes
checking proper strstr implementation... yes
checking for strtoul... yes
checking for strtod... yes
checking for strtod... (cached) yes
checking for Solaris strtod bug... ok
checking for opendir... (cached) yes
checking union wait... no
checking matherr support... yes
checking for vfork... yes
checking vfork/signal bug... ok
checking for strncasecmp... yes
checking for BSDgettimeofday... no
checking for gettimeofday... yes
checking for gettimeofday declaration... present
checking for main in -linet... no
checking for net/errno.h... no
checking system version (for dynamic loading)... SunOS-5.7
checking for dlopen in -ldl... yes
checking for UnixWare -o bug... OK
checking for sys/ioctl.h... yes
checking for sys/filio.h... yes
checking FIONBIO vs. O_NONBLOCK for nonblocking I/O... O_NONBLOCK
checking for X... libraries /usr/openwin/lib, headers
/usr/openwin/include
checking for main in -lXbsd... no
checking for connect... no
checking for main in -lsocket... yes
checking for gethostbyname... no
checking for main in -lnsl... yes
checking for sin... no
checking for memmove... yes
checking whether to build with support for threads... yes
checking for thr_create in -lthread... yes
checking if INADDR_LOOPBACK is in netinet/in.h... yes
creating ./config.status
creating c_src/sparc-sun-solaris2.7/Makefile
configuring in gs
running /bin/sh /usr/jon/erlang49/otp_src_R6B-0/lib/gs/configure
--cache-file=../.././config.cache
--srcdir=/usr/jon/erlang49/otp_src_R6B-0/lib/gs
checking host system type... sparc-sun-solaris2.7
checking where to find the tcl/tk libraries... using sources in
c_src/lib
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ranlib... :
checking how to run the C preprocessor... gcc -E
checking for POSIXized ISC... no
checking for X... libraries /usr/openwin/lib, headers
/usr/openwin/include
checking for IceConnectionNumber in -lICE... yes
checking for dnet_ntoa in -ldnet... no
checking for t_accept in -lnsl... yes
checking for socket in -lsocket... yes
checking for main in -lSM... yes
/usr/jon/erlang49/otp_src_R6B-0/lib/gs/configure: R6_XLIBS: not found
checking for connect... no
checking for main in -lsocket... yes
checking for gethostbyname... no
checking for main in -lnsl... yes
checking for gethostbyname_r... yes
checking whether gcc needs -traditional... no
checking for sin in -lm... yes
checking for dlopen in -ldl... yes
creating ./config.status
creating c_src/sparc-sun-solaris2.7/Makefile
configuring in c_src/lib/tcl7.6/unix
running /bin/sh
/usr/jon/erlang49/otp_src_R6B-0/lib/gs/c_src/lib/tcl7.6/unix/configure
--cache-file=../../../../../.././config.cache
--srcdir=/usr/jon/erlang49/otp_src_R6B-0/lib/gs/c_src/lib/tcl7.6/unix
creating cache ../../../../../.././config.cache
checking for ranlib... :
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for getcwd... yes
checking for opendir... yes
checking for strstr... yes
checking for strtol... yes
checking for tmpnam... yes
checking for waitpid... yes
checking for strerror... yes
checking for getwd... yes
checking for wait3... yes
checking for uname... yes
checking for sin... no
checking for main in -lieee... no
checking dirent.h... yes
checking how to run the C preprocessor... gcc -E
checking for errno.h... yes
checking for float.h... yes
checking for limits.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for sys/wait.h... yes
checking for dlfcn.h... yes
checking for unistd.h... yes
checking fd_set and sys/select... yes
checking for sys/time.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for tm_zone in struct tm... no
checking for tzname... yes
checking tm_tzadj in struct tm... no
checking tm_gmtoff in struct tm... no
checking long timezone variable... yes
checking proper strstr implementation... yes
checking for strtoul... yes
checking for strtod... yes
checking for strtod... (cached) yes
checking for Solaris strtod bug... ok
checking for ANSI C header files... yes
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking whether byte ordering is bigendian... yes
checking for opendir... (cached) yes
checking union wait... no
checking matherr support... yes
checking for vfork... yes
checking vfork/signal bug... ok
checking for strncasecmp... yes
checking for BSDgettimeofday... no
checking for gettimeofday... yes
checking for gettimeofday declaration... present
checking for main in -linet... no
checking for net/errno.h... no
checking for connect... no
checking for main in -lsocket... yes
checking for gethostbyname... no
checking for main in -lnsl... yes
checking system version (for dynamic loading)... SunOS-5.7
checking for dlopen in -ldl... yes
checking for UnixWare -o bug... OK
checking for sys/ioctl.h... yes
checking for sys/filio.h... yes
checking FIONBIO vs. O_NONBLOCK for nonblocking I/O... O_NONBLOCK
updating cache ../../../../../.././config.cache
creating ./config.status
creating Makefile
creating tclConfig.sh
creating pkgIndex.tcl
configuring in c_src/lib/tk4.2/unix
running /bin/sh
/usr/jon/erlang49/otp_src_R6B-0/lib/gs/c_src/lib/tk4.2/unix/configure
--cache-file=../../../../../.././config.cache
--srcdir=/usr/jon/erlang49/otp_src_R6B-0/lib/gs/c_src/lib/tk4.2/unix
loading cache ../../../../../.././config.cache
checking for ranlib... (cached) :
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for unistd.h... (cached) yes
checking for limits.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking stdlib.h... yes
checking for ANSI C header files... (cached) yes
checking for mode_t... (cached) yes
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking for X... libraries /usr/openwin/lib, headers
/usr/openwin/include
checking for main in -lXbsd... no
checking for connect... (cached) no
checking for main in -lsocket... (cached) yes
checking for gethostbyname... (cached) no
checking for main in -lnsl... (cached) yes
checking for sin... (cached) no
checking for main in -lieee... (cached) no
checking for memmove... yes
checking whether char is unsigned... no
checking for strtod... (cached) yes
checking for Solaris 2.4 strtod bug... ok
checking standalone support of Tcl... don't know
== Warning: Your libtcl7.6.a is not yet created in the directory
   /usr/jon/erlang49/otp_src_R6B-0/lib/gs/c_src/lib/tcl7.6/unix, so I
cannot determine this.
   For now I just assume there is standalone support.
   If you get an error later during the build of wish.standalone,
   then first compile Tcl7.6 with standalone support.
checking for UnixWare -o bug... OK
updating cache ../../../../../.././config.cache
creating ./config.status
creating Makefile
creating tkConfig.sh
creating pkgIndex.tcl


make


cd erts && ERL_TOP=/usr/jon/erlang49/otp_src_R6B-0 make
NO_START_SCRIPTS=true opt
make[1]: Entering directory `/usr/jon/erlang49/otp_src_R6B-0/erts'
make[2]: Entering directory
`/usr/jon/erlang49/otp_src_R6B-0/erts/emulator'
make -f sparc-sun-solaris2.7/Makefile TYPE=opt
make[3]: Entering directory
`/usr/jon/erlang49/otp_src_R6B-0/erts/emulator'
make[3]: sparc-sun-solaris2.7/Makefile: No such file or directory
make[3]: *** No rule to make target `sparc-sun-solaris2.7/Makefile'.
Stop.
make[3]: Leaving directory
`/usr/jon/erlang49/otp_src_R6B-0/erts/emulator'
make[2]: *** [opt] Error 2
make[2]: Leaving directory
`/usr/jon/erlang49/otp_src_R6B-0/erts/emulator'
make[2]: Entering directory `/usr/jon/erlang49/otp_src_R6B-0/erts/etc'
make[3]: Entering directory
`/usr/jon/erlang49/otp_src_R6B-0/erts/etc/common'
make -f sparc-sun-solaris2.7/Makefile TYPE=opt
make[4]: Entering directory
`/usr/jon/erlang49/otp_src_R6B-0/erts/etc/common'
make[4]: sparc-sun-solaris2.7/Makefile: No such file or directory
make[4]: *** No rule to make target `sparc-sun-solaris2.7/Makefile'.
Stop.
make[4]: Leaving directory
`/usr/jon/erlang49/otp_src_R6B-0/erts/etc/common'
make[3]: *** [opt] Error 2
make[3]: Leaving directory
`/usr/jon/erlang49/otp_src_R6B-0/erts/etc/common'
make[2]: *** [opt] Error 2
make[2]: Leaving directory `/usr/jon/erlang49/otp_src_R6B-0/erts/etc'
make[2]: Entering directory `/usr/jon/erlang49/otp_src_R6B-0/erts/epmd'
Makefile:19:
/usr/jon/erlang49/otp_src_R6B-0/make/sparc-sun-solaris2.7/otp.mk: No
such file or directory
make[2]: *** No rule to make target
`/usr/jon/erlang49/otp_src_R6B-0/make/sparc-sun-solaris2.7/otp.mk'.
Stop.
make[2]: Leaving directory `/usr/jon/erlang49/otp_src_R6B-0/erts/epmd'
make[1]: *** [opt] Error 2
make[1]: Leaving directory `/usr/jon/erlang49/otp_src_R6B-0/erts'
make: *** [emulator] Error 2



End Of Transcript





More information about the erlang-questions mailing list