Posted to tcl by yeeling at Wed Jul 11 15:04:58 GMT 2007view raw

  1. bronte:~/misc/oratcl4.4>make distclean
  2. test -z "libOratcl4.4.so" || rm -f libOratcl4.4.so
  3. rm -f *.o core *.core
  4. test -z "pkgIndex.tcl" || rm -f pkgIndex.tcl
  5. rm -f *.tab.c
  6. rm -f Makefile
  7. rm -f config.cache config.log config.status
  8. 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
  9. checking for correct TEA configuration... ok (TEA 3.5)
  10. checking for Tcl configuration... found /lucy/epic/home/yeeling/misc/activetcl/lib/tclConfig.sh
  11. checking for existence of /lucy/epic/home/yeeling/misc/activetcl/lib/tclConfig.sh... loading
  12. configure: --exec-prefix defaulting to TCL_EXEC_PREFIX /remote/lucy1/epic/home/yeeling/misc/activetcl
  13. checking for gcc... gcc
  14. checking for C compiler default output file name... a.out
  15. checking whether the C compiler works... yes
  16. checking whether we are cross compiling... no
  17. checking for suffix of executables...
  18. checking for suffix of object files... o
  19. checking whether we are using the GNU C compiler... yes
  20. checking whether gcc accepts -g... yes
  21. checking for gcc option to accept ANSI C... none needed
  22. checking how to run the C preprocessor... gcc -E
  23. checking for a BSD-compatible install... tclconfig/install-sh -c
  24. checking whether make sets $(MAKE)... yes
  25. checking for ranlib... ranlib
  26. checking for egrep... egrep
  27. checking for ANSI C header files... yes
  28. checking for sys/types.h... yes
  29. checking for sys/stat.h... yes
  30. checking for stdlib.h... yes
  31. checking for string.h... yes
  32. checking for memory.h... yes
  33. checking for strings.h... yes
  34. checking for inttypes.h... yes
  35. checking for stdint.h... yes
  36. checking for unistd.h... yes
  37. checking if the compiler understands -pipe... yes
  38. checking whether byte ordering is bigendian... yes
  39. checking for sin... no
  40. checking for main in -lieee... no
  41. checking for main in -linet... no
  42. checking net/errno.h usability... no
  43. checking net/errno.h presence... no
  44. checking for net/errno.h... no
  45. checking for connect... no
  46. checking for setsockopt... no
  47. checking for setsockopt in -lsocket... yes
  48. checking for gethostbyname... no
  49. checking for gethostbyname in -lnsl... yes
  50. checking dirent.h... yes
  51. checking errno.h usability... yes
  52. checking errno.h presence... yes
  53. checking for errno.h... yes
  54. checking float.h usability... yes
  55. checking float.h presence... yes
  56. checking for float.h... yes
  57. checking values.h usability... yes
  58. checking values.h presence... yes
  59. checking for values.h... yes
  60. checking limits.h usability... yes
  61. checking limits.h presence... yes
  62. checking for limits.h... yes
  63. checking for stdlib.h... (cached) yes
  64. checking for string.h... (cached) yes
  65. checking sys/wait.h usability... yes
  66. checking sys/wait.h presence... yes
  67. checking for sys/wait.h... yes
  68. checking dlfcn.h usability... yes
  69. checking dlfcn.h presence... yes
  70. checking for dlfcn.h... yes
  71. checking sys/param.h usability... yes
  72. checking sys/param.h presence... yes
  73. checking for sys/param.h... yes
  74. checking for Tcl public headers... /lucy/epic/home/yeeling/misc/activetcl//include
  75. checking for pthread_mutex_init in -lpthread... yes
  76. checking for building with threads... yes (default)
  77. configure: WARNING:
  78. --enable-threads requested, but building against a Tcl that is NOT
  79. thread-enabled. This is an OK configuration that will also run in
  80. a thread-enabled core.
  81. checking how to build libraries... shared
  82. checking if 64bit support is requested... no
  83. checking if 64bit Sparc VIS support is requested... no
  84. checking system version... SunOS-5.10
  85. checking for dlopen in -ldl... yes
  86. checking for ar... ar
  87. checking for required early compiler flags... none
  88. checking for 64-bit integer type... long long
  89. checking for struct dirent64... yes
  90. checking for struct stat64... yes
  91. checking for open64... yes
  92. checking for lseek64... yes
  93. checking for off64_t... yes
  94. checking for build with symbols... no
  95. checking for tclsh... /lucy/epic/home/yeeling/misc/activetcl/bin/tclsh8.4
  96. checking for dlfcn.h... (cached) yes
  97. configure: creating ./config.status
  98. config.status: creating Makefile
  99. bronte:~/misc/oratcl4.4>make
  100. make: Warning: File `Makefile' has modification time 26 s in the future
  101. 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
  102. -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
  103. ./generic/oratcl.c: In function 'Oratcl_Logon':
  104. ./generic/oratcl.c:1678: warning: dereferencing type-punned pointer will break strict-aliasing rules
  105. ./generic/oratcl.c:1685: warning: dereferencing type-punned pointer will break strict-aliasing rules
  106. ./generic/oratcl.c:1691: warning: dereferencing type-punned pointer will break strict-aliasing rules
  107. ./generic/oratcl.c:1736: warning: dereferencing type-punned pointer will break strict-aliasing rules
  108. ./generic/oratcl.c: In function 'Oratcl_Info':
  109. ./generic/oratcl.c:2382: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness
  110. ./generic/oratcl.c: In function 'Oratcl_Open':
  111. ./generic/oratcl.c:2505: warning: dereferencing type-punned pointer will break strict-aliasing rules
  112. 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
  113. -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
  114. 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
  115. -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
  116. rm -f libOratcl4.4.so
  117. 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
  118. : libOratcl4.4.so
  119. (echo 'package ifneeded Oratcl 4.4 \
  120. [list load [file join $dir libOratcl4.4.so]]'\
  121. ) > pkgIndex.tcl
  122. If you have documentation to create, place the commands to
  123. build the docs in the 'doc:' target. For example:
  124. xml2nroff sample.xml > sample.n
  125. xml2html sample.xml > sample.html
  126. make: warning: Clock skew detected. Your build may be incomplete.
  127. bronte:~/misc/oratcl4.4>make install
  128. make: Warning: File `Makefile' has modification time 7.1 s in the future
  129. If you have documentation to create, place the commands to
  130. build the docs in the 'doc:' target. For example:
  131. xml2nroff sample.xml > sample.n
  132. xml2html sample.xml > sample.html
  133. tclconfig/install-sh -c libOratcl4.4.so /remote/lucy1/epic/home/yeeling/misc/activetcl/lib/Oratcl4.4/libOratcl4.4.so
  134. : /remote/lucy1/epic/home/yeeling/misc/activetcl/lib/Oratcl4.4/libOratcl4.4.so
  135. Install pkgIndex.tcl /remote/lucy1/epic/home/yeeling/misc/activetcl/lib/Oratcl4.4
  136. Installing header files in /lucy/epic/home/yeeling/misc/activetcl//include
  137. Installing documentation in /lucy/epic/home/yeeling/misc/activetcl//man
  138. Installing ./doc/oratcl.n
  139. make: warning: Clock skew detected. Your build may be incomplete.
  140. bronte:~/misc/oratcl4.4>tclsh
  141. % package require Oratcl
  142. 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