[tkined] Compiling/Installing Scotty2.1.10/FreeBSD-3.1/Tcl8.0.5

Paul Koch (pak@statscout.com)
Sun, 2 May 1999 19:41:26 +1000 (EST)

I am having problems installing scotty-2.1.10 on FreeBSD-3.1. I have:

FreeBSD-3.1-Release
scotty-2.1.10
tcl8.0.5
tk8.0.5

The same build works on FreeBSD-2.2.8 with no problems. Anyone with a
suggestion ?

Thks
Paul.

# ./configure -prefix=/home/tcl
loading cache ./config.cache
checking for ranlib... ranlib
checking whether cross-compiling... 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 for sin... no
checking for -lieee... no
checking dirent.h... yes
checking how to run the C preprocessor... cc -E
checking for errno.h... yes
checking for float.h... yes
checking for values.h... no
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 termios vs. termio vs. sgtty... termios
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... yes
checking tm_tzadj in struct tm... no
checking tm_gmtoff in struct tm... yes
checking long timezone variable... no
checking time_t timezone variable... no
checking for st_blksize in struct stat... 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 for opendir... (cached) yes
checking union wait... yes
checking matherr support... yes
checking return type of signal handlers... void
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 -linet... no
checking for net/errno.h... no
checking whether char is unsigned... no
checking signed char declarations... yes
checking for connect... yes
checking for gethostbyname... yes
checking system version (for dynamic loading)... FreeBSD-3.1-RELEASE
checking for -ldl... no
checking for dlfcn.h... (cached) yes
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

# make
.
.

# make install
.
.

# cd /usr/home/statscout/public/tk8.0.5/unix
# ./configure -prefix=/home/tcl
loading cache ./config.cache
checking for ranlib... ranlib
checking whether cross-compiling... no
checking how to run the C preprocessor... cc -E
checking for unistd.h... yes
checking for limits.h... yes
checking stdlib.h... yes
checking fd_set and sys/select... 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 for sys/time.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for -lXbsd... no
checking for connect... yes
checking for gethostbyname... yes
checking for sin... no
checking for -lieee... no
checking for memmove... yes
checking whether char is unsigned... no
checking for strtod... yes
checking for Solaris 2.4 strtod bug... ok
updating cache ./config.cache
creating ./config.status
creating Makefile
creating tkConfig.sh

# make
.
.

# make install
.
.

# cd /usr/home/statscout/public/scotty-2.1.10/unix
# ./configure -prefix=/home/tcl --disable-multicast
creating cache ./config.cache
checking how to run the C preprocessor... cc -E
checking for flex... flex
checking for yywrap in -lfl... yes
checking for bison... bison -y
checking for a BSD compatible install... /usr/bin/install -c
checking size of long... 4
checking whether byte ordering is bigendian... no
checking for rpcgen... rpcgen
checking for tclsh... /usr/local/bin/tclsh
checking for tclConfig.sh in /home/tcl/lib... yes
checking for tcl version... 8.0
checking for wish... /usr/local/bin/wish
checking for tkConfig.sh in /home/tcl/lib... yes
checking for tk version... 8.0
checking for connect... yes
checking for gethostbyname... yes
checking for main in -lnsl... no
checking for connect in -lsocket... no
checking for gethostbyname in -lnsl... no
checking for main in -lieee... no
checking for main in -lrpc... no
checking for main in -lrpcsvc... yes
checking for res_mkquery... yes
checking for stdlib.h... yes
checking for unistd.h... yes
checking for malloc.h... no
checking for sys/select.h... yes
checking for gethostent... yes
checking for getnetent... yes
checking for getprotoent... yes
checking for getservent... yes
checking for getrpcent... yes
checking for struct rpcent... yes
checking for getmntent in -lsun... no
checking for getmntent in -lseq... no
checking for getmntent in -lgen... no
checking for getmntent... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h

# make
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include -DTNMLIB=\"/home/tcl/lib/tnm2.1.10\" ./../tnm/generic/tnmInit.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include ./../tnm/generic/tnmUtil.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include ./../tnm/generic/tnmJob.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include -DTKINEDLIB=\"/home/tcl/lib/tkined1.4.10\" ./../tnm/generic/tnmIned.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include ./../tnm/generic/tnmSyslog.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include ./../tnm/generic/tnmIcmp.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include ./../tnm/generic/tnmDns.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include ./../tnm/generic/tnmEvent.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include ./../tnm/generic/tnmUdp.c
cp ./../tnm/generic/mount.x .
rpcgen mount.x
cp ./../tnm/generic/ether.x .
rpcgen ether.x
cp ./../tnm/generic/rstat.x .
rpcgen rstat.x
cp ./../tnm/generic/pcnfsd.x .
rpcgen pcnfsd.x
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include ./../tnm/generic/tnmSunRpc.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include ./../tnm/generic/tnmNtp.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include ./../tnm/generic/tnmRpc.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include ./../tnm/generic/tnmHttp.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include ./../tnm/generic/tnmNetdb.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include ./../unix/tnmUnixInit.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include ./../unix/tnmUnixLog.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include ./../unix/tnmUnixSocket.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include -DNTPING=\"/home/tcl/bin/ntping\" ./../unix/tnmUnixIcmp.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include mount_clnt.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include mount_xdr.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include ether_clnt.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include ether_xdr.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include rstat_clnt.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include rstat_xdr.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include pcnfsd_clnt.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include pcnfsd_xdr.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include -I./../tnm/snmp ./../tnm/snmp/tnmAsn1.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include -I./../tnm/snmp ./../tnm/snmp/tnmMD5.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include -I./../tnm/snmp -DSTRAPS=\"/home/tcl/bin/straps\" ./../tnm/snmp/tnmSnmpNet.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include -I./../tnm/snmp ./../tnm/snmp/tnmSnmpUtil.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include -I./../tnm/snmp ./../tnm/snmp/tnmSnmpInst.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include -I./../tnm/snmp ./../tnm/snmp/tnmSnmpSend.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include -I./../tnm/snmp ./../tnm/snmp/tnmSnmpRecv.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include -I./../tnm/snmp ./../tnm/snmp/tnmSnmpAgent.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include -I./../tnm/snmp ./../tnm/snmp/tnmSnmpTcl.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include -I./../tnm/snmp ./../tnm/snmp/tnmMibQuery.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include -I./../tnm/snmp ./../tnm/snmp/tnmMibParser.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include -I./../tnm/snmp ./../tnm/snmp/tnmMibTree.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include -I./../tnm/snmp ./../tnm/snmp/tnmMibFrozen.c
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include -I./../tnm/snmp ./../tnm/snmp/tnmMibTcl.c
ld -Bshareable -x tnmInit.o tnmUtil.o tnmJob.o tnmIned.o tnmSyslog.o tnmIcmp.o tnmDns.o tnmEvent.o tnmUdp.o tnmSunRpc.o tnmNtp.o tnmRpc.o tnmHttp.o tnmNetdb.o tnmUnixInit.o tnmUnixLog.o tnmUnixSocket.o tnmUnixIcmp.o mount_clnt.o mount_xdr.o ether_clnt.o ether_xdr.o rstat_clnt.o rstat_xdr.o pcnfsd_clnt.o pcnfsd_xdr.o tnmAsn1.o tnmMD5.o tnmSnmpNet.o tnmSnmpUtil.o tnmSnmpInst.o tnmSnmpSend.o tnmSnmpRecv.o tnmSnmpAgent.o tnmSnmpTcl.o tnmMibQuery.o tnmMibParser.o tnmMibTree.o tnmMibFrozen.o tnmMibTcl.o -o tnm.so -lrpcsvc -lfl
cc -c -O -I. -DHAVE_CONFIG_H ./../tnm/ntping/ntping.c
cc -o ntping ntping.o -lrpcsvc
cc -c -O -I. ./../tnm/snmp/straps.c
cc -o straps straps.o -lrpcsvc
cc -c -O -fpic -I. -I./../tnm/generic -I/home/tcl/include -I. -I./../tnm/generic -I/home/tcl/include ./../unix/scotty.c
cc -o scotty scotty.o -L/home/tcl/lib -ltcl80 -lrpcsvc -lm
cc -c -O -fpic -I. -I./../tkined/generic -I/home/tcl/include -I/usr/X11R6/include ./../tkined/generic/tkiEditor.c
cc -c -O -fpic -I. -I./../tkined/generic -I/home/tcl/include -I/usr/X11R6/include ./../tkined/generic/tkiObjects.c
cc -c -O -fpic -I. -I./../tkined/generic -I/home/tcl/include -I/usr/X11R6/include ./../tkined/generic/tkiMethods.c
cc -c -O -fpic -I. -I./../tkined/generic -I/home/tcl/include -I/usr/X11R6/include -DTKINEDLIB=\"/home/tcl/lib/tkined1.4.10\" ./../tkined/generic/tkiMisc.c
cc -c -O -fpic -I. -I./../tkined/generic -I/home/tcl/include -I/usr/X11R6/include ./../tkined/generic/tkiFlash.c
cc -c -O -fpic -I. -I./../tkined/generic -I/home/tcl/include -I/usr/X11R6/include ./../tkined/generic/tkiStripchart.c
cc -c -O -fpic -I. -I./../tkined/generic -I/home/tcl/include -I/usr/X11R6/include ./../tkined/generic/tkiBarchart.c
cc -c -O -fpic -I. -I./../tkined/generic -I/home/tcl/include -I/usr/X11R6/include ./../tkined/generic/tkiUtil.c
cc -c -O -fpic -I. -I./../tkined/generic -I/home/tcl/include -I/usr/X11R6/include -DTKINEDLIB=\"/home/tcl/lib/tkined1.4.10\" ./../tkined/generic/tkiInit.c
cc -c -O -fpic -I. -I./../tkined/generic -I/home/tcl/include -I/usr/X11R6/include ./../unix/tkiUnixInit.c
ld -Bshareable -x tkiEditor.o tkiObjects.o tkiMethods.o tkiMisc.o tkiFlash.o tkiStripchart.o tkiBarchart.o tkiUtil.o tkiInit.o tkiUnixInit.o -o tkined.so -lrpcsvc

# make install
Installing scotty2.1.10 and tnm2.1.10.so
Installing ./../tnm/library/README
Installing ./../tnm/library/dialog.tcl
Installing ./../tnm/library/output.tcl
Installing ./../tnm/library/snmp.tcl
Installing ./../tnm/library/monitor.tcl
Installing ./../tnm/library/obsolete.tcl
Installing ./../tnm/library/init.tcl
initialization failed: couldn't load file "/home/tcl/lib/tnm2.1.10.so": /home/tcl/lib/tnm2.1.10.so: Undefined symbol "Tcl_GetChannel"
*** Error code 1

Stop.

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.