Opened 21 years ago

Closed 21 years ago

Last modified 20 years ago

#1476 closed defect (fixed)

Tcl not found by base/configure script

Reported by: ken@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.0
Keywords: Cc:
Port:

Description

With a fresh darwinports tree checked out from CVS today on 10.2.8, I get the following error when running ./configure from within darwinports/base/ :

[...normal stuff trimmed...] checking for strtol... yes checking for fgetln... yes checking for lockf... yes checking for flock... yes checking for setmode... yes checking for Tcl configuration... found /System/Library/Tcl/8.3/tclConfig.sh checking for existence of /System/Library/Tcl/8.3/tclConfig.sh... loading checking for Tcl public headers... /usr/include checking for tclsh... /sw/bin/tclsh checking for Tcl package directory... configure: error: Tcl package directory not found. Please specify its location with --with-tclpackagedir

If I retry the command as "./configure --with-tclpackagedir=../dports/lang/tcl", it succeeds, and 'make' and 'make install' succeed. But then when I try to install a port, I get:

% sudo port install subversion can't find package darwinports

while executing

"package require darwinports"

(file "/opt/local/bin/port" line 31)

Change History (1)

comment:1 Changed 21 years ago by toby@…

Resolution: fixed
Status: newclosed

Ken,

It's failing because it's finding tcl from fink (/sw/bin/tclsh). You can either remove fink's tcl, or continue using the extra argument to configure.

Note: See TracTickets for help on using tickets.