Date: Wed, 27 Oct 2004 09:25:56 -0700 From: Kris Kennaway <kris@obsecurity.org> To: Dirk Meyer <dirk.meyer@dinoex.sub.org> Cc: freebsd-ports@freebsd.org Subject: Re: Compile fails for ports/x11-toolkits/tk84 (fix attached) Message-ID: <20041027162556.GA50173@xor.obsecurity.org> In-Reply-To: <xv34%2BPMO7c@dmeyer.dinoex.sub.org> References: <417EAD82.3090504@triantos.com> <xv34%2BPMO7c@dmeyer.dinoex.sub.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 27, 2004 at 04:54:11PM +0200, Dirk Meyer wrote: > Nick Triantos schrieb:, >=20 > > I'm running FreeBSD 4.10. When I try to build ports/x11-toolkits/tk84,= =20 > > I get a pile of compiler errors. Google shows others are also seeing= =20 > > the same problem. > >=20 > > To fix this, I manually hacked=20 > > /usr/ports/x11-toolkits/tk84/work/tk8.4.6/unix/Makefile, and changed=20 > > line 86 from: > >=20 > > TCL_GENERIC_DIR =3D /tmp/a/ports/lang/tcl84/work/tcl8.4.6/gener= ic > >=20 > > to > >=20 > > TCL_GENERIC_DIR =3D /usr/ports/lang/tcl84/work/tcl8.4.6/generic > >=20 > > I don't understand enough about the build system to see how it assigned= =20 > > that variable based on Makefile.in, but I think someone more familiar= =20 > > with the build process should try to fix this correctly, if they can. >=20 > Please verify. The grep must show: >=20 > $ grep SRC /usr/local/lib/tcl8.4/tclConfig.sh > TCL_SRC_DIR=3D'${WRKDIRPREFIX}/usr/ports/lang/tcl84/work/tcl8.4.6' >=20 > My guess: > Your tcl8.4 installed is out of date. >=20 > Deinstall tcl8.4 and do a clean install of tcl + tk. > Tk8.4 need the matching sources. >=20 > 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=3D/tmp and PORTSDIR=3D/a/ports on the package cluster. Kris --SLDf9lqlvOQaIe6s Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBf8wUWry0BWjoQKURArRaAKDK9nMMNQN7XhOnFSNMpH0nqMvb6QCfVD+K r7TOV7pf9lgXsF1KoFtazq4= =vsQU -----END PGP SIGNATURE----- --SLDf9lqlvOQaIe6s--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041027162556.GA50173>