Subject: Tcl/Tk 8.4 import fallout
To: None <tech-pkg@netbsd.org>
From: Martin Weber <Ephaeton@gmx.net>
List: tech-pkg
Date: 03/16/2004 11:31:13
I've noticed two problems after the update of tcl & tk to 8.4:

1) x11/tk-Tix

builds then:

rm -f libtix82.so
gcc -pipe -shared -Wl,-x -o libtix82.so tixClass.o  tixCmds.o  tixCompat.o  tixError.o  tixGeometry.o  tixInit.o  tixList.o  tixMethod.o  tixOption.o   tixScroll.o  tixSmpLs.o  tixUtils.o  tixWidget.o tixDItem.o  tixDiITxt.o  tixDiImg.o  tixDiStyle.o  tixDiText.o  tixDiWin.o tixForm.o  tixFormMisc.o tixImgCmp.o  tixImgXpm.o  tixMwm.o  tixGrid.o  tixGrData.o  tixGrFmt.o  tixGrRC.o  tixGrSel.o  tixGrSort.o  tixGrUtl.o  tixHList.o  tixHLCol.o  tixHLInd.o  tixHLHdr.o  tixInputO.o  tixNBFrame.o  tixTList.o tixUnixDraw.o  tixUnixXpm.o  tixUnixWm.o  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -ltk84 -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -ltcl84
ld: cannot find -ltk84
*** Error code 1

Stop.

I don't get this one. libtk84.so exists in /usr/pkg/lib.

2) ruby-tcltklib

===> Checking for vulnerabilities in ruby-tcltklib-1.6.8nb2
=> Checksum OK for ruby/ruby-1.6.8.tar.gz.
work.i386 -> /space/obj/pkg/x11/ruby-tcltklib/work.i386
===> Extracting for ruby-tcltklib-1.6.8nb2
===> Required installed package tcl>=8.3: tcl-8.4.6 found
===> Required installed package tk>=8.3: tk-8.4.6 found
===> Required installed package ruby-base>=1.6.8: ruby-base-1.6.8nb2 found
===> Patching for ruby-tcltklib-1.6.8nb2
===> Overriding tools for ruby-tcltklib-1.6.8nb2
===> Configuring for ruby-tcltklib-1.6.8nb2
===>  Running extconf.rb to configure
checking for t_open() in -lnsl... no
checking for socket() in -lsocket... no
checking for dlopen() in -ldl... no
checking for log() in -lm... no
checking for tcl.h... yes
checking for tk.h... yes
checking for XOpenDisplay() in -lX11... yes
checking for Tcl_FindExecutable() in -ltcl83... no
                                     ^^^^^^^
===> Building for ruby-tcltklib-1.6.8nb2
make: cannot open Makefile.

make: stopped in /space/obj/pkg/x11/ruby-tcltklib/work.i386/ruby-1.6.8/ext/tcltklib

Mind the line with -ltcl83. I don't get this one either, but probably mainly
because I'm not firm with extconf.rb stuff :)

This is pkgsrc from two days ago, yet no commit in these areas has taken place
since then. This is on 1.6 ZI.

Regards,

-Martin