aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorconversy2004-04-21 12:29:42 +0000
committerconversy2004-04-21 12:29:42 +0000
commit9137bb0876dd76cb3e7707b83dcc905cd98a5f6c (patch)
tree31151c25ee6865da41f01721315b1a25c9f01769 /README
parentcfa6772453ed9c673d0d11be4f914f8406950685 (diff)
downloadtkzinc-9137bb0876dd76cb3e7707b83dcc905cd98a5f6c.zip
tkzinc-9137bb0876dd76cb3e7707b83dcc905cd98a5f6c.tar.gz
tkzinc-9137bb0876dd76cb3e7707b83dcc905cd98a5f6c.tar.bz2
tkzinc-9137bb0876dd76cb3e7707b83dcc905cd98a5f6c.tar.xz
modified for macosx
Diffstat (limited to 'README')
-rw-r--r--README55
1 files changed, 35 insertions, 20 deletions
diff --git a/README b/README
index 18b9e58..b2f33ff 100644
--- a/README
+++ b/README
@@ -41,22 +41,35 @@ WHERE DOES IT COME FROM?
BUILDING AND INSTALLATION FOR TCL/TK
-0. Get, build and _install_ the Tcl/Tk distribution. You need a 8.4
- distribution to use TkZinc. On Windows there is currently an
- incompatibility when using a TkZinc compiled under mingw32 with
+0. You need a working Tcl/Tk distribution (version >= 8.4). You can either grab
+ it using your regular package manager, or build it and install it from scratch.
+
+ On a Linux system, you need tcl tcl-dev tk tk-dev packages.
+
+ On MacOSX you need:
+ - fink with tcltk and tcltk-dev package (http://fink.sf.net)
+ - tcl/tk sources, though you are _not_ required to compile and install them.
+ tcl/tk sources are needed because some required files are missing in the packages (tclInt.h and tkInt.h,
+ if you know how to get those files with fink, submit a suggestion to the maintainers).
+ I couldn't install them using fink, d/l them instead:
+ http://prdownloads.sourceforge.net/fink/direct_download/source
+ - X11 et X11 sdk from Apple (http://www.apple.com/macosx/x11/)
+
+ From sources or on Windows, get, build and _install_ the Tcl/Tk distribution.
+ On Windows there is currently an incompatibility when using a TkZinc compiled under mingw32 with
a core Tcl/Tk compiled with visual C++. You need to grab a Tcl/Tk
compiled with the same environment as TkZinc.
1. Unpack the distribution
- On Unix/Linux:
+ On Unix/Linux/MacOSX:
tar zxf Tkzinc<version>.tgz
On Windows:
- Use WinZip or something like this to unpack
+ Use WinZip or something similar to unpack
This creates a directory Tkzinc<version> with all the
needed files. This directory should be in the same
@@ -75,6 +88,12 @@ BUILDING AND INSTALLATION FOR TCL/TK
you can use the --prefix and --exec-prefix options of
configure to assign another location.
+ On MacOSX:
+
+ say we have unpacked tlc/tk sources in $HOME/src. The configure
+ line is as follows:
+ env "CPPFLAGS=-I/sw/include -I$HOME/src/tcl8.4.1/generic -I$HOME/src/tk8.4.1/generic" ./configure --with-tcl=/sw/lib --with-tk=/sw/lib --enable-gl=damage
+
On Windows:
TkZinc has been built using the msys/mingw32 environment.
@@ -84,20 +103,6 @@ BUILDING AND INSTALLATION FOR TCL/TK
The steps for building under mingw32 are the same as on Unices.
Currently there is no support for building with visual C++.
- On MacOSX
-
- requirements:
- - X11 et X11 sdk from apple http://www.apple.com/macosx/x11/
- - fink with tcltk and tcltk-dev package http://fink.sf.net
- - tcl/tk sources. I couldn't install them using fink,
- d/l them instead: http://prdownloads.sourceforge.net/fink/direct_download/source
-
- Do a: export DISPLAY=:0 in a terminal.
- Say we have unpacked tcl/tk sources in $HOME/src. The configure
- line is as follows:
- env "CPPFLAGS=-I/sw/include -I$HOME/src/tcl8.4.1/generic -I$HOME/src/tk8.4.1/generic" ./configure --with-tcl=/sw/lib --with-tk=/sw/lib --enable-gl=damage
-
-
On all platforms:
It is possible to customize TkZinc through configure options:
@@ -187,11 +192,21 @@ BUILDING AND INSTALLATION FOR TCL/TK
BUILDING AND INSTALLATION FOR PERL/TK
-TkZinc for Perl/Tk currently is only available for Linux.
+TkZinc for Perl/Tk currently is available for Linux and MacOSX.
Also remember that the easiest way could be to use the CPAN.
However new releases are usually first available on
www.openatc.org/zinc
+
+0. You need a working Perl (>= 5.6) and Perl/Tk distribution (800 or 804). You can either grab
+ it using your regular package manager, or build it and install it from scratch.
+
+ On a Linux system, you need perl and perl-tk packages.
+
+ On MacOSX you need:
+ - fink with tk-pm package and its dependencies (http://fink.sf.net)
+ - X11 et X11 sdk from Apple (http://www.apple.com/macosx/x11/)
+
1. Unpack the distribution
tar zxf Tkzinc<version>.tgz