Subject: pkg/18152: tcl-otclsh build problem
To: None <>
From: Martin Weber <>
List: netbsd-bugs
Date: 09/02/2002 21:59:25
>Number:         18152
>Category:       pkg
>Synopsis:       tcl-otclsh build fails for me ...
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 02 13:00:00 PDT 2002
>Originator:     Martin Weber
>Release:        NetBSD 1.6F
	Entropie Erlangen
     $NetBSD: Makefile,v 2002/08/28 09:57:35 seb Exp $
System: NetBSD 1.6F NetBSD 1.6F (PHAETON) #0: Sat Aug 24 17:49:16 CEST 2002 i386
Architecture: i386
Machine: i386
I wanted to install tcl-otcl from the pkgsrc/lang directory, and
realized it does not really get built, might it be it's a problem
due to the buildlink2 framework ? I just hopped into the directory
and did 'make', the package was fetched, and the build ends. Yet
what results in being called 'otclsh' is the following

------<snip: head work.i386/otcl-1.0a8/otclsh>-------
#! /bin/sh
# otclsh - temporary wrapper script for .libs/otclsh
# Generated by - GNU libtool 1.4a (1.641.2.255 2001/05/22 10:39:30)
# The otclsh program cannot be directly executed until all the libtool
# libraries that it depends on are installed.
# This wrapper script should never be moved out of the build directory.
# If it is, it will not operate correctly.

This thing is installed then(*), too, and upon startup complains like:

/usr/pkg/bin/otclsh: error: /usr/pkg/bin/.libs/otclsh does not exist
This script is just a wrapper for otclsh.
See the libtool documentation for more information.
Exit 1

(*) After 'make', 'make install' fires quite some ldtool --mode=compile
and such, I think something's broken with the buildlink files there ?

	cd ...pkgsrc/lang/tcl-otcl && make && make install; /usr/pkg/bin/otclsh
	Dunno. I'm sharing my buildlog with J. C. Lam after his request though.