Subject: pkgsrc/lang/tcl library numbering problem
To: None <tech-pkg@netbsd.org>
From: Georg Schwarz <geos@epost.de>
List: tech-pkg
Date: 01/19/2004 22:39:32
When I try to make a package for pkgsrc/lang/tcl (on IRIX 5.3) I end up
with:
...
===> Registering installation for tcl-8.3.4
pkg_create: can't stat `/usr/local/pkg/lib/libtcl83.a'
pkg_create: can't stat `/usr/local/pkg/lib/libtcl83.la'
pkg_create: can't stat `/usr/local/pkg/lib/libtcl83.so'
pkg_create: can't stat `/usr/local/pkg/lib/libtcl83.so.1'
pkg_create: can't stat `/usr/local/pkg/lib/libtcl83.so.1.0'
pkg_create: can't stat `/usr/local/pkg/lib/libtclstub83.a'
however:
lorenz 79% find /usr/local/pkg/ -name "libtcl*" -print
/usr/local/pkg/lib/libtcl8.3.so.1
/usr/local/pkg/lib/libtcl8.3.so.1.0
/usr/local/pkg/lib/libtcl8.3.so
/usr/local/pkg/lib/libtcl8.3.la
/usr/local/pkg/lib/libtcl8.3.a
/usr/local/pkg/lib/libtclstub8.3.a
Does anyone have an explanation (or better yet a solution :-)) to this
discrepany? Does it occur on other systems as well?
in pkgsrc/lang/tcl/work/tcl8.3.4/unix/configure I find
IRIX-5.*)
...
IRIX-6.*|IRIX64-6.5*)
...
TCL_LIB_VERSIONS_OK=nodots
so this seems to make the difference.
The pkgsrc Makefile seems to assume that lib versions are without dots.
It has ibtcl83 hardcoded at one point.
PLIST also has the respective lib names without dots.
What is the best way to get around this? Also use
TCL_LIB_VERSIONS_OK=nodots for IRIX-5.*? (as for IRIX 6.X, Linux,
FreeBSD, Darwin, SunOS 4, SunOS 5). Or is there a better solution?
Thanks,
Georg
--
Georg Schwarz http://home.pages.de/~schwarz/
geos@epost.de +49 177 8811442