Tk
From Genunix
tk
- A portable scripting environment for Unix, Windows, and Macintosh
Contents |
[edit]
Rating
4 points (out of 4)
Rating scheme: 4 points means the source builds seamlessly on Solaris Express (OpenSolaris). Points are subtracted as follows:
- Minus 1 if the source doesn't come with an automated way to localize the build (e.g. configure)
- Minus 1 if the source won't compile with Sun's cc (this usually means the code is gcc-centric)
- Minus 1 if a minor patch is required, or
- Minus 2 if a major patch(es) is required
[edit]
How to build tk8.4.14-src on Solaris Express
[edit]
Build Environment (platform, compiler, tools, PATH, ld)
[edit]
Configure and compile steps (on x86 hardware)
/usr/bin/gzip -dc tk8.4.14-src.tar.gz | /usr/sfw/bin/gtar xf -
cd tk8.4.14
export LDFLAGS="-Wl,-zignore -Wl,-zcombreloc -Wl,-Bdirect -R/usr/local/lib"
export CFLAGS="-i -xO4 -xspace -xstrconst -xpentium -mr"
cd unix
./configure --prefix=/usr/local \
--mandir=/usr/local/share/man
make
[edit]
Other configure options
[edit]
Directory paths that tk installs to
local/bin local/include local/lib local/lib/tk8.4 local/lib/tk8.4/demos local/lib/tk8.4/demos/images local/lib/tk8.4/images local/lib/tk8.4/msgs local/share/man/man1 local/share/man/man3 local/share/man/mann
[edit]
Other 3rd party software tk requires
(none)
