Subject: pkg/24817: tk-postgresql (current) doesn't build, tcl miss-fit
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <netbsd-install@home.nl>
List: netbsd-bugs
Date: 03/17/2004 13:25:05
>Number: 24817
>Category: pkg
>Synopsis: tk-postgresql (current) doesn't build, tcl miss-fit
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 17 13:26:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Noud de Brouwer
>Release: 1.6ZK
>Organization:
none
>Environment:
NetBSD 192.168.66.11 1.6ZK NetBSD 1.6ZK (ME_LAPTOP) #0: Thu Feb 26 21:32:27 CET 2004 root@192.168.66.11:/usr/src/sys/arch/i386/compile/ME_LAPTOP i386
>Description:
(after updating tcl&tk, guess it's still work-in-progress)
gcc -O2 -I/usr/pkg/include -I/usr/X11R6/include -Wall -Wmissing-prototypes -Wmissing-declarations pgtkAppInit.o -lpgtcl -lpq -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -ltk84 -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -lX11 -lm -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -ltcl84 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -L/usr/lib -Wl,-R/usr/pkg/lib -lssl -lcrypto -lcrypt -lresolv -lcompat -lm -lutil -o pgtksh
ld: cannot find -ltk84
gmake: *** [pgtksh] Error 1
*** Error code 2
>How-To-Repeat:
clean install + current pkgsrc
patch tcl-postgresql's Makefile (send-pr pkg/24816):
--- Makefile 2004-03-17 14:04:26.000000000 +0100
+++ Makefile.new 2004-03-17 14:04:23.000000000 +0100
@@ -23,6 +23,6 @@
`${SED} -e "s|#.*||" ${FILESDIR}/man.tcl`
.include "../postgresql-lib/buildlink2.mk"
-.include "../../lang/tcl83/buildlink2.mk"
+.include "../../lang/tcl/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
cd /usr/pkgsrc/databases/tk-postgresql; make
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: