Compile fails for ports/x11-toolkits/tk84 (fix attached)
Kris Kennaway
kris at obsecurity.org
Wed Oct 27 09:24:53 PDT 2004
On Wed, Oct 27, 2004 at 04:54:11PM +0200, Dirk Meyer wrote:
> Nick Triantos schrieb:,
>
> > I'm running FreeBSD 4.10. When I try to build ports/x11-toolkits/tk84,
> > I get a pile of compiler errors. Google shows others are also seeing
> > the same problem.
> >
> > To fix this, I manually hacked
> > /usr/ports/x11-toolkits/tk84/work/tk8.4.6/unix/Makefile, and changed
> > line 86 from:
> >
> > TCL_GENERIC_DIR = /tmp/a/ports/lang/tcl84/work/tcl8.4.6/generic
> >
> > to
> >
> > TCL_GENERIC_DIR = /usr/ports/lang/tcl84/work/tcl8.4.6/generic
> >
> > I don't understand enough about the build system to see how it assigned
> > that variable based on Makefile.in, but I think someone more familiar
> > with the build process should try to fix this correctly, if they can.
>
> Please verify. The grep must show:
>
> $ grep SRC /usr/local/lib/tcl8.4/tclConfig.sh
> TCL_SRC_DIR='${WRKDIRPREFIX}/usr/ports/lang/tcl84/work/tcl8.4.6'
>
> My guess:
> Your tcl8.4 installed is out of date.
>
> Deinstall tcl8.4 and do a clean install of tcl + tk.
> Tk8.4 need the matching sources.
>
> All uses who reported this used "portupgrade",
> which might caused this problem with the dependency.
See my previous response, which pointed out that it looks like
${WRKDIRPREFIX} is being expanded in the package, since
WRKDIRPREFIX=/tmp and PORTSDIR=/a/ports on the package cluster.
Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20041027/8d02c644/attachment.bin
More information about the freebsd-ports
mailing list