Sie sind auf Seite 1von 3

WWWTar Query http://hpux.connect.org.uk/hppd/cgi-bin/wwwtar?/hpux/Tcl/tcltk-8.5.9/tcltk-8.5.9-src-11.11.tar.gz+tcltk...

Home Catalogue FAQ What's New?

Locator: Home > WWWTar Query


Tar Archive: /hpux/Tcl/tcltk-8.5.9/tcltk-8.5.9-src-11.11.tar.gz
Search for a package Filename: tcltk-8.5.9/HPUX.Install
Package name
Description
Package name: tcltk
Author Version number: 8.5.9
Original author: John Ousterhout <info@scriptics.com>
Search Term Original URL: http://www.tcl.tk/
HP-UX URL: http://hpux.connect.org.uk/hppd/cgi-bin/search?package=&term=/tcltk-
License: Other/Unknown Open Source Licence
Case Sensitive Languages: C TCL
Build-time deps: expat fontconfig freetype gettext libXft libXrender libiconv make renderproto zlib
Run-time deps: expat fontconfig freetype gettext libXft libXrender libiconv zlib
Install tree: /usr/local
Report bugs to: hpux@connect.org.uk
Tested on: HP rp3410 running HP-UX 11.11 and 11.23,
HP rx2600 running HP-UX 11.23,
HP rp3440 running HP-UX 11.31 and
HP rx2620 running HP-UX 11.31
Compilers used: PA-RISC - B.11.11.20 (HP C)
Itanium - A.06.25.01 (HP C)
LDOPTS setting: export LDOPTS="+s -L/usr/local/lib -L/usr/lib"
Purpose:
Tool Command Language and a Toolkit of widgets. This is a combination package
of TCL (an embeddable scripting language) and Tk (a Toolkit of widgets). TCL
supports many of the features of conventional procedural languages, whilst Tk
has useful graphical interface facilities.
Date archived: Mon 25 Oct 2010

-------------------------------------------------------------------------------

NOTE: As well as requiring HP's ANSI C compiler and the GNU make package to be
installed prior to building tcltk, GNU sed should also be installed and
ahead of HP's sed in the PATH (particularly for PA-RISC users).

IMPORTANT: When building tcltk from source code, please uninstall any previous
version of tcltk otherwise there may be include file
incompatibilities during the build that could cause it to fail.

Files changed:

* Makefile (created from scratch):


- Provide support for a top-level "gmake" (actually does an install),
"gmake clean", "gmake test" and "gmake install" that operates on both tcl
and tk.

1 von 3 22.11.2010 15:29


WWWTar Query http://hpux.connect.org.uk/hppd/cgi-bin/wwwtar?/hpux/Tcl/tcltk-8.5.9/tcltk-8.5.9-src-11.11.tar.gz+tcltk...

- "gmake install" concats the tclIndex installed from the tcl install
with the one from the tk install, so that "wish" functions correctly.

* README:
- Soft-linked to tcl/README.

* tcl/library/auto.tcl:
- Add /usr/local/lib/tcltk to the search path for find_tclLibrary.

* tcl/tests/load.test:
- Skip test load-6.1.

* tcl/unix/Makefile.in:
- TCL_LIBRARY set to /usr/local/lib/tcltk.
- Install tclsh without a version number.
- Install tclConfig.sh into /usr/local/lib/tcltk.
- Other packages (e.g. expect) that use tcl includes want access to .h files
that weren't originally installed via "gmake install", so we now install
all tcl*.h files from the tcl/generic dir (plus tcl/unix/tclUnixPort.h)
to cover that.

* tcl/unix/tclUnixInit.c:
- Set TCL_LIBRARY and TCL_PACKAGE_PATH explicitly.

* tcl/unix/tclUnixThrd.c:
- Include <pthread.h> rather than "pthread.h".

* tcl/unix/configure and tk/unix/configure:


- Set up an HP-UX section including:
* Compile with HP's ANSI C.
* Set RANLIB to true.
* Set prefix to /usr/local.
* Enable shared library support.
* Enable threads support.
* Append /hpux32 on the end of libdir if Itanium.
* [tk only] Point to tcl source tree so tk code can pick up includes.
- [tcl only] Point TCL_PACKAGE_PATH to /usr/local/lib/tcltk.
- Remove the version numbering from all binaries, libraries and install
directories otherwise it's an absolute nightmare to upgrade to later
versions (all programs using tcl and tk would otherwise have to be re-built
with path hacks to the new version number - arrggh!).
- Set LD_LIBRARY_PATH_VAR to LD_LIBRARY_PATH for Itanium and SHLIB_PATH
for PA-RISC.

* tcl/unix/install-sh and tk/unix/install-sh:


- Default to 644 permissions when installing, unless overridden with -m.

* tcl/unix/tclConfig.sh.in and tk/unix/tkConfig.sh.in:


- These files should have *no* reference to the source trees at all (it's
crazy they do), so expunge all source tree references and use the
install trees instead.

* tk/test/windsow.test:

2 von 3 22.11.2010 15:29


WWWTar Query http://hpux.connect.org.uk/hppd/cgi-bin/wwwtar?/hpux/Tcl/tcltk-8.5.9/tcltk-8.5.9-src-11.11.tar.gz+tcltk...

- Skip oart of test that causes window to hang.

* tk/unix/Makefile.in:
- TK_LIBRARY and PKG_INSTALL_DIR set to /usr/local/lib/tcltk (yes, the same
as the TCL_LIBRARY definition - why not, the filenames don't overlap).
- TCL_GENERIC_DIR and TCL_PLATFORM_DIR set to /usr/local/include to
pick up freshly installed tcl include files.
- Install wish without a version number.
- Install tkConfig.sh into /usr/local/lib/tcltk.
- Don't try a wish -> wish$(VERSION) substitution on the installed demo
scripts (which were wrongly installed with no a+r permissions anyway!).
- "gmake test" should set TCL_LIBRARY to <srcdir>/tcl/library and not
to <libdir>/library, because the tclTest package is not installed during
a "gmake install".
- Add /usr/local/lib and /usr/local/lib/hpux32 to the shared library
path when running "gmake test".

To compile and install (as root):

[Install sed first!]


[Uninstall any previous version of tcltk that you have installed]
[Edit tcl/unix/configure and tk/unix/configure for your site, particularly
the prefix setting]
gmake install

To test:

[Note that tk's tests naturally require an X display to work]


gmake test
[Although the test suites have some failures, they aren't significant
e.g. 6e-05 vs. 0.00006, font names and so on]

Notes:

* This package is actually a combination of two separate source packages -


tcl8.5.9-src.tar.gz (tcl dir) and tk8.5.9-src.tar.gz (tk dir).
No, we don't know why the authors don't ship the two packages as one
package (tcltk) either, since they are intrinsically tied together and
both are always released simultaneously with the same version numbers!

3 von 3 22.11.2010 15:29

Das könnte Ihnen auch gefallen