Erlang Mailing Lists

Author Message

<  Erlang  ~  Installation on Solaris 10

doctorwatson
Posted: Tue Apr 29, 2008 11:45 pm Reply with quote
Joined: 29 Apr 2008 Posts: 5
I was really excited to download and install the software, but at the very beginning of the "make" phase there are some errors that I am not sure what to do about.

I noticed that in the README file, 64-bit is not on the list of tried and tested architectures. My machine is a Blade100 with Solaris 10 64-bit edition.

Here is the output from "gmake > logfile 2>&1" from the command line:

Code:

cd erts/emulator && ERL_TOP=/opt/otp_src_R12B-2 gmake generate depend
gmake[1]: Entering directory `/opt/otp_src_R12B-2/erts/emulator'
gmake -f sparc-sun-solaris2.10/Makefile generate
gmake[2]: Entering directory `/opt/otp_src_R12B-2/erts/emulator'
/usr/sfw/bin/g++  -g -O3 -I/opt/otp_src_R12B-2/erts/sparc-sun-solaris2.10  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64   -DHAVE_CONFIG_H -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wa,-xarch=v8plusa -Ibeam -Isys/unix -Isys/common -Isparc-sun-solaris2.10/opt/plain -Isparc-sun-solaris2.10 -Izlib -Ihipe -I../include/internal -I../include/internal/sparc-sun-solaris2.10 -c hipe/hipe_mkliterals.c -o obj/sparc-sun-solaris2.10/opt/plain/hipe_mkliterals.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
In file included from ../include/internal/sparc32/ethread.h:26,
                 from ../include/internal/ethread.h:682,
                 from beam/erl_threads.h:31,
                 from beam/erl_smp.h:26,
                 from beam/sys.h:296,
                 from hipe/hipe_mkliterals.c:12:
../include/internal/sparc32/atomic.h: In function `long int ethr_native_atomic_xchg(ethr_native_atomic_t*, long int)':
../include/internal/sparc32/atomic.h:141: error: expected unqualified-id before "new"
../include/internal/sparc32/atomic.h:141: error: expected `,' or `;' before "new"
../include/internal/sparc32/atomic.h:146: error: expected identifier before '=' token
../include/internal/sparc32/atomic.h:149: error: expected identifier before ')' token
../include/internal/sparc32/atomic.h:150: error: expected identifier before ')' token
../include/internal/sparc32/atomic.h:152: error: expected identifier before ',' token
In file included from ../include/internal/sparc32/ethread.h:28,
                 from ../include/internal/ethread.h:682,
                 from beam/erl_threads.h:31,
                 from beam/erl_smp.h:26,
                 from beam/sys.h:296,
                 from hipe/hipe_mkliterals.c:12:
../include/internal/sparc32/rwlock.h: In function `void ethr_native_read_unlock(ethr_native_rwlock_t*)':
../include/internal/sparc32/rwlock.h:42: error: expected unqualified-id before "new"
../include/internal/sparc32/rwlock.h:42: error: expected `,' or `;' before "new"
../include/internal/sparc32/rwlock.h:47: error: expected identifier before '=' token
../include/internal/sparc32/rwlock.h:50: error: expected identifier before ')' token
../include/internal/sparc32/rwlock.h:51: error: expected identifier before ')' token
../include/internal/sparc32/rwlock.h:53: error: expected identifier before ',' token
../include/internal/sparc32/rwlock.h: In function `int ethr_native_read_trylock(ethr_native_rwlock_t*)':
../include/internal/sparc32/rwlock.h:59: error: expected unqualified-id before "new"
../include/internal/sparc32/rwlock.h:59: error: expected `,' or `;' before "new"
../include/internal/sparc32/rwlock.h:65: error: expected identifier before '=' token
../include/internal/sparc32/rwlock.h:68: error: expected identifier before ')' token
../include/internal/sparc32/rwlock.h:69: error: expected identifier before ')' token
../include/internal/sparc32/rwlock.h:71: error: expected identifier before ',' token
../include/internal/sparc32/rwlock.h: In function `int ethr_native_write_trylock(ethr_native_rwlock_t*)':
../include/internal/sparc32/rwlock.h:104: error: expected unqualified-id before "new"
../include/internal/sparc32/rwlock.h:104: error: expected `,' or `;' before "new"
../include/internal/sparc32/rwlock.h:110: error: expected identifier before '=' token
../include/internal/sparc32/rwlock.h:113: error: expected identifier before ')' token
../include/internal/sparc32/rwlock.h:114: error: expected identifier before ')' token
../include/internal/sparc32/rwlock.h:116: error: expected identifier before ',' token
In file included from beam/erl_threads.h:31,
                 from beam/erl_smp.h:26,
                 from beam/sys.h:296,
                 from hipe/hipe_mkliterals.c:12:
../include/internal/ethread.h: At global scope:
../include/internal/ethread.h:1017: error: expected `,' or `...' before "new"
../include/internal/ethread.h: In function `int ethr_atomic_xchg(ethr_atomic_t*, long int)':
../include/internal/ethread.h:1020: error: `old' undeclared (first use this function)
../include/internal/ethread.h:1020: error: (Each undeclared identifier is reported only once for each function it appears in.)
../include/internal/ethread.h:1020: error: expected identifier before ')' token
In file included from beam/erl_smp.h:26,
                 from beam/sys.h:296,
                 from hipe/hipe_mkliterals.c:12:
beam/erl_threads.h: At global scope:
beam/erl_threads.h:180: error: expected `,' or `...' before "new"
beam/erl_threads.h:876: error: expected `,' or `...' before "new"
beam/erl_threads.h: In function `long int erts_atomic_xchg(erts_atomic_t*, long int)':
beam/erl_threads.h:880: error: expected identifier before ',' token
In file included from beam/sys.h:296,
                 from hipe/hipe_mkliterals.c:12:
beam/erl_smp.h: At global scope:
beam/erl_smp.h:135: error: expected `,' or `...' before "new"
beam/erl_smp.h:624: error: expected `,' or `...' before "new"
beam/erl_smp.h: In function `long int erts_smp_atomic_xchg(erts_smp_atomic_t*, long int)':
beam/erl_smp.h:631: error: expected identifier before ';' token
In file included from beam/global.h:29,
                 from hipe/hipe_mkliterals.c:14:
beam/export.h: At global scope:
beam/export.h:33: error: expected identifier before "export"
beam/export.h:33: error: expected unqualified-id before "export"
beam/export.h:33: error: expected `,' or `;' before "export"
beam/export.h:52: error: expected constructor, destructor, or type conversion before ';' token
beam/export.h:58: error: expected constructor, destructor, or type conversion before '*' token
beam/export.h:58: error: expected `,' or `;' before '*' token
beam/export.h:59: error: expected constructor, destructor, or type conversion before '*' token
beam/export.h:59: error: expected `,' or `;' before '*' token
beam/export.h:62: error: expected constructor, destructor, or type conversion before '*' token
beam/export.h:62: error: expected `,' or `;' before '*' token
beam/export.h:65: error: expected constructor, destructor, or type conversion before '*' token
beam/export.h:65: error: expected `,' or `;' before '*' token
beam/export.h:68: error: expected constructor, destructor, or type conversion before '*' token
beam/export.h:68: error: expected `,' or `;' before '*' token
In file included from beam/beam_load.h:23,
                 from beam/export.h:70,
                 from beam/global.h:29,
                 from hipe/hipe_mkliterals.c:14:
beam/erl_process.h:91: error: ISO C++ forbids declaration of `Export' with no type
beam/erl_process.h:91: error: expected `;' before '*' token
beam/erl_process.h:94: error: `Export' does not name a type
In file included from hipe/hipe_mkliterals.c:14:
beam/global.h:804: error: expected init-declarator before '*' token
beam/global.h:804: error: expected `,' or `;' before '*' token
beam/global.h: In function `Port* erts_drvport2port(ErlDrvPort)':
beam/global.h:1094: warning: comparison between signed and unsigned integer expressions
beam/global.h: In function `Port* erts_drvportid2port(Eterm)':
beam/global.h:1109: warning: comparison between signed and unsigned integer expressions
beam/global.h: In function `Uint32 erts_portid2status(Eterm)':
beam/global.h:1127: warning: comparison between signed and unsigned integer expressions
beam/global.h: At global scope:
beam/global.h:1317: error: expected constructor, destructor, or type conversion before '*' token
beam/global.h:1317: error: expected `,' or `;' before '*' token
beam/global.h:1385: error: expected `,' or `...' before "new"
beam/global.h:1409: error: expected identifier before ',' token
beam/global.h:1410: error: two or more data types in declaration of `parameter'
beam/global.h:1415: error: `Export' has not been declared
beam/global.h:1415: error: ISO C++ forbids declaration of `parameter' with no type
beam/global.h: In function `Eterm* erts_alloc_message_heap(Uint, ErlHeapFragment**, ErlOffHeap**, Process*, ErtsProcLocks*)':
beam/global.h:1624: warning: comparison between signed and unsigned integer expressions
In file included from hipe/hipe_mkliterals.c:125:
beam/erl_binary.h: In function `Binary* erts_bin_realloc_fnf(Binary*, Uint)':
beam/erl_binary.h:228: error: invalid conversion from `void*' to `Binary*'
beam/erl_binary.h:230: error: invalid conversion from `void*' to `Binary*'
beam/erl_binary.h: In function `Binary* erts_bin_realloc(Binary*, Uint)':
beam/erl_binary.h:249: error: invalid conversion from `void*' to `Binary*'
beam/erl_binary.h:251: error: invalid conversion from `void*' to `Binary*'
beam/erl_binary.h: In function `Binary* erts_create_magic_binary(Uint, void (*)(Binary*))':
beam/erl_binary.h:288: error: invalid conversion from `void*' to `Binary*'
gmake[2]: *** [obj/sparc-sun-solaris2.10/opt/plain/hipe_mkliterals.o] Error 1
gmake[2]: Leaving directory `/opt/otp_src_R12B-2/erts/emulator'
gmake[1]: *** [generate] Error 2
gmake[1]: Leaving directory `/opt/otp_src_R12B-2/erts/emulator'
gmake: *** [depend] Error 2


I noticed that when the configure script ran, it was looking for gcc but kept finding g++ instead. I'm wondering if anyone else has had this issue? I also have gcc in the same directory as g++, so it would seem like the installer wants to use g++.

For reference, here is the output of "./configure > logfile 2>&1". Warning: it is very long.

Code:

Ignoring the --cache-file argument since it can cause the system to be erroneously configured
Disabling caching
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking for gcc... /usr/sfw/bin/g++
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/sfw/bin/g++ accepts -g... yes
checking for /usr/sfw/bin/g++ option to accept ANSI C... none needed
checking for GNU make... yes (gmake)
checking for a BSD-compatible install... /opt/otp_src_R12B-2/erts/autoconf/install-sh -c
checking whether ln -s works... yes
checking for ranlib... ranlib
configure: creating ./config.status
config.status: creating Makefile
configure: configuring in lib
configure: running /bin/bash '/opt/otp_src_R12B-2/lib/configure' --prefix=/usr/local  'CC=/usr/sfw/bin/g++' --cache-file=/dev/null --srcdir=/opt/otp_src_R12B-2/lib
configure: creating ./config.status
configure: configuring in erl_interface/.
configure: running /bin/bash '/opt/otp_src_R12B-2/lib/erl_interface/./configure' --prefix=/usr/local  '--prefix=/usr/local' 'CC=/usr/sfw/bin/g++' '--cache-file=/dev/null' '--srcdir=/opt/otp_src_R12B-2/lib' --cache-file=/dev/null --srcdir=/opt/otp_src_R12B-2/lib/erl_interface/.
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking for gcc... /usr/sfw/bin/g++
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/sfw/bin/g++ accepts -g... yes
checking for /usr/sfw/bin/g++ option to accept ANSI C... none needed
checking how to run the C preprocessor... /usr/sfw/bin/g++ -E
checking for ranlib... ranlib
checking for egrep... egrep
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for void *... yes
checking size of void *... 4
checking for long long... yes
checking size of long long... 8
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 gethostbyname in -lnsl... yes
checking for getpeername in -lsocket... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for sys/types.h... (cached) 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 socklen_t usability... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether /usr/sfw/bin/g++ needs -traditional... no
checking for working memcmp... yes
checking for dup2... yes
checking for gethostbyaddr... yes
checking for gethostbyname... yes
checking for gethostbyaddr_r... yes
checking for gethostbyname_r... yes
checking for gethostname... yes
checking for writev... yes
checking for gethrtime... yes
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 for clock_gettime... no
checking for clock_gettime in -lrt... yes
checking for mixed cygwin and native VC++ environment... no
checking for mixed cygwin and native MinGW environment... no
checking if we mix cygwin with any native compiler... no
checking for native win32 threads... no
checking for pthread_create in -lpthread... yes
checking for pthread_atfork in -lpthread... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking pthread/mit/pthread.h usability... no
checking pthread/mit/pthread.h presence... no
checking for pthread/mit/pthread.h... no
configure: creating ./config.status
config.status: creating src/sparc-sun-solaris2.10/Makefile
config.status: creating src/sparc-sun-solaris2.10/eidefs.mk
config.status: creating src/sparc-sun-solaris2.10/config.h
config.status: src/sparc-sun-solaris2.10/config.h is unchanged
configure: configuring in gs/.
configure: running /bin/bash '/opt/otp_src_R12B-2/lib/gs/./configure' --prefix=/usr/local  '--prefix=/usr/local' 'CC=/usr/sfw/bin/g++' '--cache-file=/dev/null' '--srcdir=/opt/otp_src_R12B-2/lib' --cache-file=/dev/null --srcdir=/opt/otp_src_R12B-2/lib/gs/.
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking for prebuilt tcl/tk in tcl/binaries/sparc_solaris2.tar.gz... not found
configure: creating ./config.status
config.status: creating tcl/sparc-sun-solaris2.10/Makefile
config.status: creating tcl/win32/Makefile
configure: configuring in megaco/.
configure: running /bin/bash '/opt/otp_src_R12B-2/lib/megaco/./configure' --prefix=/usr/local  '--prefix=/usr/local' 'CC=/usr/sfw/bin/g++' '--cache-file=/dev/null' '--srcdir=/opt/otp_src_R12B-2/lib' --cache-file=/dev/null --srcdir=/opt/otp_src_R12B-2/lib/megaco/.
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking for gcc... /usr/sfw/bin/g++
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/sfw/bin/g++ accepts -g... yes
checking for /usr/sfw/bin/g++ option to accept ANSI C... none needed
checking for flex... flex
checking for yywrap in -lfl... no
checking for yywrap in -ll... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for gcc... (cached) /usr/sfw/bin/g++
checking whether we are using the GNU C compiler... (cached) yes
checking whether /usr/sfw/bin/g++ accepts -g... (cached) yes
checking for /usr/sfw/bin/g++ option to accept ANSI C... (cached) none needed
checking for ld.sh... no
checking for ld... ld
checking for linker flags for loadable drivers... -G
checking for perl... perl
configure: creating ./config.status
config.status: creating src/flex/sparc-sun-solaris2.10/Makefile
configure: configuring in odbc/.
configure: running /bin/bash '/opt/otp_src_R12B-2/lib/odbc/./configure' --prefix=/usr/local  '--prefix=/usr/local' 'CC=/usr/sfw/bin/g++' '--cache-file=/dev/null' '--srcdir=/opt/otp_src_R12B-2/lib' --cache-file=/dev/null --srcdir=/opt/otp_src_R12B-2/lib/odbc/.
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking for gcc... /usr/sfw/bin/g++
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/sfw/bin/g++ accepts -g... yes
checking for /usr/sfw/bin/g++ option to accept ANSI C... none needed
checking for mixed cygwin and native VC++ environment... no
checking whether make sets $(MAKE)... no
checking for ld.sh... no
checking for ld... ld
checking for connect... no
checking for socket in -lsocket... yes
checking for gethostbyname... no
checking for main in -lnsl... yes
checking how to run the C preprocessor... /usr/sfw/bin/g++ -E
checking for egrep... egrep
checking for ANSI C header files... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking stdlib.h usability... yes
checking stdlib.h presence... yes
checking for stdlib.h... yes
checking string.h usability... yes
checking string.h presence... yes
checking for string.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for memset... yes
checking for socket... yes
checking for pthread_create in -lpthread... yes
checking for odbc in standard locations... no
configure: creating ./config.status
config.status: creating c_src/sparc-sun-solaris2.10/Makefile
configure: configuring in snmp/.
configure: running /bin/bash '/opt/otp_src_R12B-2/lib/snmp/./configure' --prefix=/usr/local  '--prefix=/usr/local' 'CC=/usr/sfw/bin/g++' '--cache-file=/dev/null' '--srcdir=/opt/otp_src_R12B-2/lib' --cache-file=/dev/null --srcdir=/opt/otp_src_R12B-2/lib/snmp/.
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking for perl... perl
configure: creating ./config.status
config.status: creating mibs/Makefile
configure: configuring in erts
configure: running /bin/bash '/opt/otp_src_R12B-2/erts/configure' --prefix=/usr/local  'CC=/usr/sfw/bin/g++' --cache-file=/dev/null --srcdir=/opt/otp_src_R12B-2/erts
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking for gcc... /usr/sfw/bin/g++
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/sfw/bin/g++ accepts -g... yes
checking for /usr/sfw/bin/g++ option to accept ANSI C... none needed
checking for library containing strerror... none required
checking for gcc... (cached) /usr/sfw/bin/g++
checking whether we are using the GNU C compiler... (cached) yes
checking whether /usr/sfw/bin/g++ accepts -g... (cached) yes
checking for /usr/sfw/bin/g++ option to accept ANSI C... (cached) none needed
checking for mixed cygwin and native VC++ environment... no
checking for mixed cygwin and native MinGW environment... no
checking if we mix cygwin with any native compiler... no
checking how to run the C preprocessor... /usr/sfw/bin/g++ -E
checking for egrep... egrep
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for void *... yes
checking size of void *... 4
checking whether compilation mode forces ARCH adjustment... no
checking how to run the C preprocessor... /usr/sfw/bin/g++ -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 rm... /bin/rm
checking for mkdir... /bin/mkdir
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
none
checking for sin in -lm... yes
checking for dlopen in -ldl... yes
checking for main in -linet... no
checking for openpty in -lutil... no
checking for native win32 threads... no
checking for pthread_create in -lpthread... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking pthread/mit/pthread.h usability... no
checking pthread/mit/pthread.h presence... no
checking for pthread/mit/pthread.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for pthread_atfork... yes
checking for pthread_mutexattr_settype... yes
checking for pthread_mutexattr_setkind_np... no
checking for pthread_spin_lock... yes
checking for pthread_rwlock_init... yes
checking for pthread_attr_setguardsize... yes
checking whether default stack size should be modified... no
checking for void *... (cached) yes
checking size of void *... (cached) 4
checking whether an emulator with smp support should be built... yes; default on this platform
checking whether the emulator should use threads... yes; thread support required and therefore forced
checking whether lock checking should be enabled... no
checking whether the child waiter thread should be enabled... yes
checking for tgetent in -lncurses... no
checking for tgetent in -lcurses... 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 if netdb.h requires netinet/in.h to be previously included... yes
checking for socklen_t... yes
checking for h_errno declaration in netdb.h... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) 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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking ieeefp.h usability... yes
checking ieeefp.h presence... yes
checking for ieeefp.h... yes
checking sys/stropts.h usability... yes
checking sys/stropts.h presence... yes
checking for sys/stropts.h... yes
checking sys/sysctl.h usability... no
checking sys/sysctl.h presence... no
checking for sys/sysctl.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for sys/time.h... (cached) yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/sockio.h usability... yes
checking sys/sockio.h presence... yes
checking for sys/sockio.h... yes
checking sys/socketio.h usability... no
checking sys/socketio.h presence... no
checking for sys/socketio.h... no
checking net/errno.h usability... no
checking net/errno.h presence... no
checking for net/errno.h... no
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking arpa/nameser.h usability... yes
checking arpa/nameser.h presence... yes
checking for arpa/nameser.h... yes
checking pty.h usability... no
checking pty.h presence... no
checking for pty.h... no
checking util.h usability... no
checking util.h presence... no
checking for util.h... no
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking sys/event.h usability... no
checking sys/event.h presence... no
checking for sys/event.h... no
checking sys/epoll.h usability... no
checking sys/epoll.h presence... no
checking for sys/epoll.h... no
checking sys/devpoll.h usability... yes
checking sys/devpoll.h presence... yes
checking for sys/devpoll.h... yes
checking valgrind/valgrind.h usability... no
checking valgrind/valgrind.h presence... no
checking for valgrind/valgrind.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 if windows.h includes winsock2.h... no
checking for an ANSI C-conforming 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)... no
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for void *... (cached) yes
checking size of void *... (cached) 4
checking for long long... yes
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... yes
checking for getipnodebyname... yes
checking for getipnodebyaddr... yes
checking for ieee_handler... no
checking for fpsetmask... yes
checking for finite... yes
checking for isnan... yes
checking for isinf... no
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... yes
checking for localtime_r... yes
checking for gmtime_r... yes
checking for mremap... no
checking for memcpy... yes
checking for mallopt... no
checking for sbrk... yes
checking for _sbrk... yes
checking for __sbrk... no
checking for brk... yes
checking for _brk... yes
checking for __brk... no
checking for flockfile... yes
checking for fstat... yes
checking for strlcpy... yes
checking for strlcat... yes
checking for function prototypes... no
checking whether setvbuf arguments are reversed... no
checking if vfork is known to hang multithreaded applications... no
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... no
checking for working vfork... (cached) yes
checking for vprintf... yes
checking for _doprnt... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for conflicting declaration of fread... no
checking for putc_unlocked... yes
checking for fwrite_unlocked... no
checking for openpty... no
checking for 'end' symbol... yes
checking for '_end' symbol... yes
checking if __after_morecore_hook can track malloc()s core memory use... no
checking types of sbrk()s return value and argument... void *,intptr_t
checking types of brk()s return value and argument... int,void *
checking if sbrk()/brk() wrappers can track malloc()s core memory use... no
checking for IP version 6 support... yes
checking for multicast support... yes
checking how to correct for time adjustments... hrtime
checking if gethrvtime works and how to use it... uses ioctl to procfs
configure: Floating point exceptions disabled by default in this configuration
checking whether to redefine FD_SETSIZE... no
checking whether a hybrid heap emulator should be built... yes; default on this platform
checking for working poll()... broken or based on select()
checking whether kernel poll support should be enabled... yes; /dev/poll
checking whether putenv() stores a copy of the key-value pair... no
checking for compiler flags for loadable drivers... -g -O2 -I/opt/otp_src_R12B-2/erts/sparc-sun-solaris2.10  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64   -DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -fPIC
checking for linker for loadable drivers... ld
checking for linker flags for loadable drivers... -G
checking for 'runtime library path' linker flag... -R
checking for a compiler that handles jumptables... /usr/sfw/bin/gcc
checking for static ZLib to be used by SSL in standard locations... no
checking for OpenSSL >= 0.9.7 in standard locations... /usr/sfw
checking for OpenSSL kerberos 5 support... no
checking for kstat_open in -lkstat... yes
checking for javac.sh... no
checking for javac... javac
checking for JDK version 1.2... yes
checking for c++... c++
configure: creating ./config.status
config.status: creating emulator/sparc-sun-solaris2.10/Makefile
config.status: creating emulator/zlib/sparc-sun-solaris2.10/Makefile
config.status: creating epmd/src/sparc-sun-solaris2.10/Makefile
config.status: creating etc/common/sparc-sun-solaris2.10/Makefile
config.status: creating include/internal/sparc-sun-solaris2.10/ethread.mk
config.status: creating lib_src/sparc-sun-solaris2.10/Makefile
config.status: creating Makefile
config.status: creating ../make/sparc-sun-solaris2.10/otp.mk
config.status: creating ../lib/ic/c_src/sparc-sun-solaris2.10/Makefile
config.status: creating ../lib/os_mon/c_src/sparc-sun-solaris2.10/Makefile
config.status: creating ../lib/ssl/c_src/sparc-sun-solaris2.10/Makefile
config.status: creating ../lib/ssl/examples/certs/sparc-sun-solaris2.10/Makefile
config.status: creating ../lib/crypto/c_src/sparc-sun-solaris2.10/Makefile
config.status: creating ../lib/orber/c_src/sparc-sun-solaris2.10/Makefile
config.status: creating ../lib/runtime_tools/c_src/sparc-sun-solaris2.10/Makefile
config.status: creating ../lib/tools/c_src/sparc-sun-solaris2.10/Makefile
config.status: creating ../lib/asn1/c_src/sparc-sun-solaris2.10/Makefile
config.status: creating sparc-sun-solaris2.10/config.h
config.status: sparc-sun-solaris2.10/config.h is unchanged
config.status: creating include/internal/sparc-sun-solaris2.10/ethread_header_config.h
config.status: include/internal/sparc-sun-solaris2.10/ethread_header_config.h is unchanged
config.status: creating include/sparc-sun-solaris2.10/erl_int_sizes_config.h
config.status: include/sparc-sun-solaris2.10/erl_int_sizes_config.h is unchanged
*********************************************************************
**********************  APPLICATIONS DISABLED  **********************
*********************************************************************

odbc           : ODBC library - link check failed

*********************************************************************
View user's profile Send private message
doctorwatson
Posted: Wed Apr 30, 2008 3:25 pm Reply with quote
Joined: 29 Apr 2008 Posts: 5
Well, I resolved the issue. Just in case anyone is interested...

When I first tried to install OTP, I was logged in as root and using the Bash shell. This time I cleared everything out and tried again from the Bourne shell and it worked perfectly.
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum