Posted to tcl by yeeling at Wed Jul 11 15:04:58 GMT 2007view pretty
bronte:~/misc/oratcl4.4>make distclean test -z "libOratcl4.4.so" || rm -f libOratcl4.4.so rm -f *.o core *.core test -z "pkgIndex.tcl" || rm -f pkgIndex.tcl rm -f *.tab.c rm -f Makefile rm -f config.cache config.log config.status bronte:~/misc/oratcl4.4>./configure --prefix=/lucy/epic/home/yeeling/misc/activetcl/ --with-oracle-directory=/oracle0/oracle7.1.6 --with-tcl=/lucy/epic/home/yeeling/misc/activetcl/lib checking for correct TEA configuration... ok (TEA 3.5) checking for Tcl configuration... found /lucy/epic/home/yeeling/misc/activetcl/lib/tclConfig.sh checking for existence of /lucy/epic/home/yeeling/misc/activetcl/lib/tclConfig.sh... loading configure: --exec-prefix defaulting to TCL_EXEC_PREFIX /remote/lucy1/epic/home/yeeling/misc/activetcl checking for gcc... gcc 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 gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... tclconfig/install-sh -c checking whether make sets $(MAKE)... yes 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 if the compiler understands -pipe... yes checking whether byte ordering is bigendian... yes checking for sin... no checking for main in -lieee... no checking for main in -linet... no checking net/errno.h usability... no checking net/errno.h presence... no checking for net/errno.h... no checking for connect... no checking for setsockopt... no checking for setsockopt in -lsocket... yes checking for gethostbyname... no checking for gethostbyname in -lnsl... yes checking dirent.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for Tcl public headers... /lucy/epic/home/yeeling/misc/activetcl//include checking for pthread_mutex_init in -lpthread... yes checking for building with threads... yes (default) configure: WARNING: --enable-threads requested, but building against a Tcl that is NOT thread-enabled. This is an OK configuration that will also run in a thread-enabled core. checking how to build libraries... shared checking if 64bit support is requested... no checking if 64bit Sparc VIS support is requested... no checking system version... SunOS-5.10 checking for dlopen in -ldl... yes checking for ar... ar checking for required early compiler flags... none checking for 64-bit integer type... long long checking for struct dirent64... yes checking for struct stat64... yes checking for open64... yes checking for lseek64... yes checking for off64_t... yes checking for build with symbols... no checking for tclsh... /lucy/epic/home/yeeling/misc/activetcl/bin/tclsh8.4 checking for dlfcn.h... (cached) yes configure: creating ./config.status config.status: creating Makefile bronte:~/misc/oratcl4.4>make make: Warning: File `Makefile' has modification time 26 s in the future gcc -pipe -DPACKAGE_NAME=\"Oratcl\" -DPACKAGE_TARNAME=\"oratcl\" -DPACKAGE_VERSION=\"4.4\" -DPACKAGE_STRING=\"Oratcl\ 4.4\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DWORDS_BIGENDIAN=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_REENTRANT=1 -D_POSIX_PTHREAD_SEMANTICS=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_DIRENT64=1 -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -DUSE_TCL_STUBS=1 -DHAVE_DLFCN_H=1 -DSHLIB_SUFFIX=\".so\" -I"/lucy/epic/home/yeeling/misc/activetcl//include" -O2 -Wall -Wno-implicit-int -fPIC -c `echo ./generic/oratcl.c` -o oratcl.o ./generic/oratcl.c: In function 'Oratcl_Logon': ./generic/oratcl.c:1678: warning: dereferencing type-punned pointer will break strict-aliasing rules ./generic/oratcl.c:1685: warning: dereferencing type-punned pointer will break strict-aliasing rules ./generic/oratcl.c:1691: warning: dereferencing type-punned pointer will break strict-aliasing rules ./generic/oratcl.c:1736: warning: dereferencing type-punned pointer will break strict-aliasing rules ./generic/oratcl.c: In function 'Oratcl_Info': ./generic/oratcl.c:2382: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness ./generic/oratcl.c: In function 'Oratcl_Open': ./generic/oratcl.c:2505: warning: dereferencing type-punned pointer will break strict-aliasing rules gcc -pipe -DPACKAGE_NAME=\"Oratcl\" -DPACKAGE_TARNAME=\"oratcl\" -DPACKAGE_VERSION=\"4.4\" -DPACKAGE_STRING=\"Oratcl\ 4.4\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DWORDS_BIGENDIAN=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_REENTRANT=1 -D_POSIX_PTHREAD_SEMANTICS=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_DIRENT64=1 -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -DUSE_TCL_STUBS=1 -DHAVE_DLFCN_H=1 -DSHLIB_SUFFIX=\".so\" -I"/lucy/epic/home/yeeling/misc/activetcl//include" -O2 -Wall -Wno-implicit-int -fPIC -c `echo ./generic/oralob.c` -o oralob.o gcc -pipe -DPACKAGE_NAME=\"Oratcl\" -DPACKAGE_TARNAME=\"oratcl\" -DPACKAGE_VERSION=\"4.4\" -DPACKAGE_STRING=\"Oratcl\ 4.4\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DWORDS_BIGENDIAN=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_REENTRANT=1 -D_POSIX_PTHREAD_SEMANTICS=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_DIRENT64=1 -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -DUSE_TCL_STUBS=1 -DHAVE_DLFCN_H=1 -DSHLIB_SUFFIX=\".so\" -I"/lucy/epic/home/yeeling/misc/activetcl//include" -O2 -Wall -Wno-implicit-int -fPIC -c `echo ./generic/oralong.c` -o oralong.o rm -f libOratcl4.4.so gcc -pipe -shared -o libOratcl4.4.so oratcl.o oralob.o oralong.o -lsocket -lnsl -L/remote/lucy1/epic/home/yeeling/misc/activetcl/lib -ltclstub8.4 : libOratcl4.4.so (echo 'package ifneeded Oratcl 4.4 \ [list load [file join $dir libOratcl4.4.so]]'\ ) > pkgIndex.tcl If you have documentation to create, place the commands to build the docs in the 'doc:' target. For example: xml2nroff sample.xml > sample.n xml2html sample.xml > sample.html make: warning: Clock skew detected. Your build may be incomplete. bronte:~/misc/oratcl4.4>make install make: Warning: File `Makefile' has modification time 7.1 s in the future If you have documentation to create, place the commands to build the docs in the 'doc:' target. For example: xml2nroff sample.xml > sample.n xml2html sample.xml > sample.html tclconfig/install-sh -c libOratcl4.4.so /remote/lucy1/epic/home/yeeling/misc/activetcl/lib/Oratcl4.4/libOratcl4.4.so : /remote/lucy1/epic/home/yeeling/misc/activetcl/lib/Oratcl4.4/libOratcl4.4.so Install pkgIndex.tcl /remote/lucy1/epic/home/yeeling/misc/activetcl/lib/Oratcl4.4 Installing header files in /lucy/epic/home/yeeling/misc/activetcl//include Installing documentation in /lucy/epic/home/yeeling/misc/activetcl//man Installing ./doc/oratcl.n make: warning: Clock skew detected. Your build may be incomplete. bronte:~/misc/oratcl4.4>tclsh % package require Oratcl Oratcl_Init(): Failed to load /remote/oracle0/oracle7.1.6/lib/libclntsh.so with error ld.so.1: tclsh: fatal: /remote/oracle0/oracle7.1.6/lib/libclntsh.so: open failed: No such file or directory