NetBSD Problem Report #24817

Received: (qmail 17954 invoked by uid 605); 17 Mar 2004 13:25:06 -0000
Message-Id: <20040317132505.1E85511155@narn.netbsd.org>
Date: Wed, 17 Mar 2004 13:25:05 +0000 (UTC)
From: netbsd-install@home.nl
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: netbsd-install@home.nl
To: gnats-bugs@gnats.NetBSD.org
Subject: tk-postgresql (current) doesn't build, tcl miss-fit
X-Send-Pr-Version: www-1.0

>Number:         24817
>Category:       pkg
>Synopsis:       tk-postgresql (current) doesn't build, tcl miss-fit
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    minskim
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 17 13:26:00 +0000 2004
>Closed-Date:    Wed Mar 17 15:54:56 +0000 2004
>Last-Modified:  Wed Mar 17 15:54:56 +0000 2004
>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:
State-Changed-From-To: open->closed 
State-Changed-By: minskim 
State-Changed-When: Wed Mar 17 15:54:20 UTC 2004 
State-Changed-Why:  
Fixed.  Thanks. 


Responsible-Changed-From-To: pkg-manager->minskim 
Responsible-Changed-By: minskim 
Responsible-Changed-When: Wed Mar 17 15:54:20 UTC 2004 
Responsible-Changed-Why:  
I'm closing this. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.