| 1 |
|
| 2 |
This directory contains a PRE-ALPHA release of a BibTool-Tcl integration. The |
| 3 |
functionality of BibTool is made available through a dynamic loadable library |
| 4 |
to Tcl. |
| 5 |
|
| 6 |
This module has been tested against Tcl 7.6 and Tcl 8.0. |
| 7 |
|
| 8 |
These files are included in the distribution of BibTool to get some kind of |
| 9 |
feedback. If you try/port/improve it contact me please. The implementation is |
| 10 |
by far not complete. Thus the usual rules apply: incompatible changes might |
| 11 |
occur. |
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
Since I don't know how to figure out the proper ways to set up things |
| 16 |
automatically yet the installation is a little bit awkward (Also remember that |
| 17 |
this is a pre-alpha release). I know how to do it on UNIX systems only. If you |
| 18 |
know the procedure for other systems drop me a mail such that I can improve |
| 19 |
this description. |
| 20 |
|
| 21 |
|
| 22 |
WINDOWS |
| 23 |
======= |
| 24 |
|
| 25 |
Tcl/Tk is said to be running under Windows and the portability of the files is |
| 26 |
high. Thus it should be easy to create a dll and use the bibtool/Tcl extension |
| 27 |
on windows. Drop me a mail if you have done it. |
| 28 |
|
| 29 |
|
| 30 |
MACINTOSH |
| 31 |
========= |
| 32 |
|
| 33 |
Tcl/Tk is said to be running under Macintosh. Thus it should be possible to |
| 34 |
port the library to this architecture. Drop me a mail if you have done it. |
| 35 |
|
| 36 |
|
| 37 |
UNIX |
| 38 |
==== |
| 39 |
|
| 40 |
- Configure and compile bibtool in the parent directory (..). |
| 41 |
The object files must be present in this directory. |
| 42 |
|
| 43 |
- Go to the directory BibTcl. This is the directory containing this file. |
| 44 |
|
| 45 |
- Ensure that the command tclsh is present on your path. This tclsh needs to |
| 46 |
be not too old and it needs to be installed properly. |
| 47 |
|
| 48 |
- If you have wish at hand you can try the program install.tcl in this |
| 49 |
directory. This program performs the following tasks and displays |
| 50 |
the results in a window: |
| 51 |
|
| 52 |
- Run |
| 53 |
./configure |
| 54 |
|
| 55 |
You need to give the same arguments as for the configuration of BibTool in |
| 56 |
the previous directory. Especially prefix and exec-prefix are required to |
| 57 |
be the same. |
| 58 |
|
| 59 |
This should produce the file Makefile in the current directory. |
| 60 |
|
| 61 |
- On Solaris edit the Makefile and remove '-z text' from SHLIB_LD. |
| 62 |
|
| 63 |
- Run |
| 64 |
make |
| 65 |
|
| 66 |
This should produce the shared library and a small Tcl loader which is |
| 67 |
independent of the architecture. In fact it figures out the architecture |
| 68 |
and uses the appropriate version which should be installed. |
| 69 |
|
| 70 |
- Run |
| 71 |
make install |
| 72 |
|
| 73 |
This creates a subdirectory of LIBDIR according to the OS used. This |
| 74 |
directory contains the shared library as well as the loader script. The |
| 75 |
loader script can be freely copied to any other place. The shared library |
| 76 |
must stay in this directory since the location is compiled into the loader |
| 77 |
script. |
| 78 |
|
| 79 |
- Run |
| 80 |
make clean |
| 81 |
|
| 82 |
to remove the intermediate files. |
| 83 |
|
| 84 |
|
| 85 |
This procedure can be repeated for different architectures which share the |
| 86 |
same installation directory. |
| 87 |
|
| 88 |
|
| 89 |
|
| 90 |
DOCUMENTATION |
| 91 |
============= |
| 92 |
|
| 93 |
I have started to describe the Tcl interface in the document bibtcl.ltx which |
| 94 |
can be found in this directory. Consult this document for further |
| 95 |
descriptions. |
| 96 |
|
| 97 |
|
| 98 |
Gerd Neugebauer |
| 99 |
[email protected] |