Subject: Re: is p5-Tk package ok?
To: Erik Bertelsen <erik@mediator.uni-c.dk>
From: Erik Bertelsen <erik@mediator.uni-c.dk>
List: tech-pkg
Date: 10/16/1999 11:32:11
On Wed, Sep 22, 1999 at 10:24:04AM +0200, I wrote:
> On my machine with NetBSD/i386 and pkgsrc updated to yesterday's
> current, I get the following while building p5-Tk:

> cc -c -I/usr/X11R6/include -I/usr/local/include -I/usr/pkg/include -O     -DVERSION=\"402.002\"  -DXS_VERSION=\"402.002\" -DPIC -fPIC -I/usr/local/lib/perl5/5.00560/i386-netbsd/CORE -DBASEEXT=\"Tk\" -Wall -Wno-comment -Wno-unused -D__USE_FIXED_PROTOTYPES__ tkGlue.c
> tkGlue.c: In function `Tcl_TraceVar2':
> tkGlue.c:2883: `vtbl_uvar' undeclared (first use in this function)
> tkGlue.c:2883: (Each undeclared identifier is reported only once


I got two answers, one saying that it works for him, the other saying that the
problem probably is that p5-Tk needs to be updated to reflect tk8.

I have since done the same installation on a "pure" machine where everything
is installed via /usr/src or /usr/pkgsrc. Here p5-Tk works just fine.

This made me think that my original problem is probably caused by the fact 
that on that machine I don't use the ancient perl 5.004_04 provided with
pkgsrc, but a newer perl from the 5.005 series (either 5.005_03 or 5.005_60).
This explanation does not cause any immediate consequences for pkgsrc.

On the other hand, p5-Tk should actually be upgraded from p5-Tk-402.002 to
the current version, which is p5-Tk-800.015 or thereabout.

I actually tried to switch the version numbers in the Makefile and it
"just works".

- Erik