root/tags/lgt2210/misc/NOTES

Revision 1493, 5.0 KB (checked in by pmoura, 4 years ago)

Improved documentation.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1=================================================================
2Logtalk - Object oriented extension to Prolog
3Release 2.21.0
4
5Copyright (c) 1998-2004 Paulo Moura.  All Rights Reserved.
6=================================================================
7
8
9This directory contains miscellaneous files used in Logtalk packaging,
10installation, and integration with Prolog compilers. Several scripts are
11included. Those with extension .sh are shell scripts for MacOS X, Linux,
12and similar systems. Those with extension .js are JScript command-line
13scripts for Windows; they require WSH 5.6 or later version to be installed
14and should be run using cscript.exe from the command line.
15
16
17lgt_install.sh
18    shell script for installing Logtalk in a system-wide location for Unix and
19    Unix-like operating systems (must be run from this directory by a user with
20    administration privileges); accepts as an optional argument a prefix for the
21    installation directory (default is /usr/local)
22lgt_install.js
23    Windows NT/2000/XP JScript script for completing the Logtalk installation
24    by setting the LOGTALKHOME system environment variable and by creating a
25    new program group named "Logtalk" in the Windows Start Menu (must be run
26    from this directory by a user with administration privileges after
27    decompressing the Logtalk distribution into its final destination)
28
29logtalk.spec
30    specification file for building Linux RPMs
31    (copy the Logtalk tarball to your RPM SOURCES directory and then
32    run the command: rpmbuild -ba --target=noarch-*-linux logtalk.spec)
33
34cplgtdirs.sh
35cplgtdirs.js
36    sample scripts for the copying xml, examples, and library directories to the
37    user home directory (must be run by the end-user to ensure proper permissions
38    on the copied files)
39
40cleandist.sh
41    script for cleaning a Logtalk distribution in preparation for
42    packaging.
43
44debian
45    directory containing support files for building a Debian package
46    (work in progress; not yet functional)
47
48
49The following scripts must be run by a user with administration privileges:
50
51make_ciaolgt.sh
52    makes a shell script named ciaolgt for running Logtalk with CIAO Prolog
53    (the first run of the ciaolgt script must be made as root or using sudo)
54make_ciaolgt.js
55    makes a Windows shortcut named "Logtalk - CIAO" for running Logtalk with
56    CIAO 1.10 (the first call to the shortcut must be made a user with
57    administrative rights)
58
59make_eclipselgt.sh
60    makes a shell script named eclipselgt for running Logtalk with ECLiPSe
61make_eclipselgt.js
62    makes a Windows shortcut named "Logtalk - ECLiPSe" for running Logtalk
63    with ECLiPSe 5.7 (if you are using a different version, you must edit
64    the reference to the registry key in the script; if you prefer to use
65    TkEclipse, open the %LOGTALKHOME%\bin\logtalkeclipse.pl file with it)
66
67make_gplgt.sh
68    makes a shell script named gplgt for running Logtalk with GNU Prolog
69make_gplgt.js
70    makes a Windows shortcut named "Logtalk - GNU Prolog" for running Logtalk
71    with GNU Prolog
72make_gplgt_exe.js
73    makes a new GNU Prolog top level named gplgt.exe and creates a Windows
74    shortcut named "Logtalk - GNU Prolog" for running it (needs the developer
75    tools nasm.exe and cp.exe installed; both the developer tools and the GNU
76    Prolog installation bin directory must be in the system path)
77
78make_qplgt.sh
79    makes a shell script named qplgt for running Logtalk with Qu-Prolog
80    (based on script code contributed by Peter Robinson)
81
82make_sicstuslgt.sh
83    makes a shell script named sicstuslgt for running Logtalk with SICStus
84    Prolog
85make_sicstuslgt.js
86    makes a Windows shortcut named "Logtalk - SICStus Prolog" for running
87    Logtalk with SICStus Prolog 3.11 (if you are using a different version,
88    you must edit the reference to the registry key in the script)
89
90make_swilgt.sh
91    makes a shell script named swilgt for running Logtalk with SWI-Prolog
92make_swilgt.js
93    makes a Windows shortcut named "Logtalk - SWI-Prolog" for running Logtalk
94    with SWI-Prolog
95
96make_yaplgt.sh
97    makes a shell script named yaplgt for running Logtalk with YAP
98make_yaplgt.js
99    makes a Windows shortcut named "Logtalk - YAP" for running Logtalk with YAP
100    (assumes that the Yap folder is installed in C:\Program Files; edit the path
101    to the yap.exe executable in the script if necessary)
102
103make_xsblgt.sh
104    makes a shell script named xsblgt for running Logtalk with XSB
105
106These scripts require the environment variable LOGTALKHOME (pointing to the
107Logtalk installation directory) to be defined. In addition, the shell scripts
108accept as an optional argument a prefix for the location of a link to the
109scripts (default is /usr/local, creating the links in /usr/local/bin). Please
110note that the environment variable LOGTALKHOME must be defined in order to run
111the *lgt scripts that are created by the shell scripts above or the Windows
112shortcuts (see the INSTALL file for details on setting the variable).
113
114Note: when Logtalk is manually installed from sources, the shell scripts might
115not have the executable permission bit set. In that case it will be necessary
116to first run the command "chmod a+x *.sh" on the scripts directory.
Note: See TracBrowser for help on using the browser.