- This topic has 2 replies, 2 voices, and was last updated 16 years ago by .
-
Topic
-
Hello, On cloverleaf 5.6, I find the following strange behavior:
everytime you try to add a package to a site, the tcl command pkg_mkIndex overwrite the previous information:
# get system info
$ uname -a
AIX axap10 2 5 000BB2BD4C00
$ showroot
HCI root is /qdx/qdx5.6/integrator
HCI site is adt2
# get pkgIndex info
$ cat pkgIndex.tcl
# Tcl package index file, version 1.1
# This file is generated by the “pkg_mkIndex” command
# and sourced either when an application starts up or
# by a “package unknown” script. It invokes the
# “package ifneeded” command to set up package-related
# information so that packages will be loaded automatically
# in response to “package require” commands. When this
# script is sourced, the variable $dir must contain the
# full path name of this file’s directory.
package ifneeded tag 0.0.5
]
# run tcl from the console
# list the previous package
# add the new package to the list
$ tcl
tcl>info patchlevel
8.4.12
tcl>package require tag
0.0.5
tcl>pkg_mkIndex -verbose — . nephro.pkg
successful sourcing of nephro.pkg
packages provided were {nephro 0.0.14}
processed nephro.pkg
tcl>package require nephro
0.0.14
tcl>package require tag
0.0.5
tcl>exit
# get the package info: missing my tag package
$ cat pkgIndex.tcl
# Tcl package index file, version 1.1
# This file is generated by the “pkg_mkIndex” command
# and sourced either when an application starts up or
# by a “package unknown” script. It invokes the
# “package ifneeded” command to set up package-related
# information so that packages will be loaded automatically
# in response to “package require” commands. When this
# script is sourced, the variable $dir must contain the
# full path name of this file’s directory.
package ifneeded nephro 0.0.14
]
# get my package names
$ tcl
tcl>info patchlevel
8.4.12
tcl>package require tag
Error: can’t find package tag
tcl>package require nephro
0.0.14
tcl>exit
Did I miss something ?
- The forum ‘Cloverleaf’ is closed to new topics and replies.