From 9e09b8b493c92226fc60ca46d6ed022bdb626b6e Mon Sep 17 00:00:00 2001 From: mertz Date: Wed, 8 Oct 2003 09:17:46 +0000 Subject: clear distinction between build for tcl/tk and perl/tk --- README | 71 +++++++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 44 insertions(+), 27 deletions(-) (limited to 'README') diff --git a/README b/README index f50c7e4..e621349 100644 --- a/README +++ b/README @@ -16,8 +16,8 @@ support for ATC displays, provides structured assembly of items, transformations, clipping, and openGL based rendering features such as gradients and alpha blending. - It is currently available on Unices (tested on Linux) and -Windows. + It is currently available on Unices (tested on Linux), +Windows and Mac OSX (with X11 and fink). WHERE DOES IT COME FROM? @@ -28,11 +28,17 @@ WHERE DOES IT COME FROM? Distribution specific packages may also be available for Debian/Mandrake/Red Hat distributions, most likely for stable versions. + + For Tcl/Tk users, TkZinc is also available as a multi-plateforme + (linux/windows) starkit on http://www.openatc.org/zinc + For Perl/Tk users, TkZinc is available on the CPAN, see for example + on http://search.cpan.org/search?query=TkZinc&mode=all + As a convenience the documentation (pdf+html) is made available on the web site as a separate package. -BUILDING AND INSTALLATION +BUILDING AND INSTALLATION FOR TCL/TK 0. Get, build and _install_ the Tcl/Tk distribution. You need a 8.4 @@ -113,12 +119,6 @@ BUILDING AND INSTALLATION It allows for non rectangular TkZinc windows optionally including the top level window. - --enable-ptk=[yes|no] - --disable-ptk - - This is turned off by default. It builds TkZinc for use in - perl/tk. This is not currently supported on Windows. - And the Tcl standards: --enable-threads=[yes|no] @@ -143,7 +143,7 @@ BUILDING AND INSTALLATION make install-tcl It is recommended to do a make distclean before actual building if you - have done a previous build, especially between Tcl and Perl variants. + have done a previous build. The warnings while compiling libtess are harmless (or so I believe ;-). libtess is a tesselation library extracted from GLU/Mesa. I trust it as @@ -164,18 +164,6 @@ BUILDING AND INSTALLATION installing, it will interfere with the generation of the new pkgIndex.tcl. It should be removed or renamed. echo 'puts $auto_path' | tclsh will tell the current load path. - - - For use with Perl/Tk only on Unix/Linux, the better would be to read - the README.PERL file, which describres the usual way of buildind, testing, - and installing TkZinc. You can also do the following: - - ## Remember: you must use the --enable-ptk=yes option in ./configure - - make perl - make testperl ## this currently does not test many thing - make demoperl ## launches a demo similar to the Perl/Tk widget demo - make install 4. Run the demos @@ -193,13 +181,41 @@ BUILDING AND INSTALLATION if you have in the PATH a wish that is greater or equal to 8.4.2. - If the perl/tk version is installed you can run a - similar demo with: - zinc-demos +BUILDING AND INSTALLATION FOR PERL/TK + +TkZinc for Perl/Tk currently is only available for Linux. +Also remember that the easiest way could be to use the CPAN. +However new releases are usually first available on +www.openatc.org/zinc + +1. Unpack the distribution + + tar zxf Tkzinc.tgz + cd Tkzinc + cd Perl + ./export4cpan + cd ../export4cpan/Tkzinc + +2. Make and install + + This done is the usual way + + perl Makefile.PL + make + make test + make install +3. Run the demo + + You can choose in the 30 available demos with the + folowing perl script: + + zinc-demos + + +MAKE AND READ THE DOCUMENTATION -5. Make and read the documentation It is available in pdf and html forms. To make the pdf doc you need pdflatex installed. Then do: @@ -222,7 +238,8 @@ BUILDING AND INSTALLATION http://www.openatc.org/zinc/documentation.html -6. Report bugs and wishes +REPORT BUGS AND WISHES + Please report bugs and suggestions to the TkZinc mailing list at zinc@tls.cena.fr. -- cgit v1.1