root/tags/lgt2212/scripts/NOTES

Revision 1540, 5.1 KB (checked in by pmoura, 4 years ago)

Updated release number to 2.21.2.

  • 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.2
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; you might
28    need to logout and login again in order to use the items in the created
29    "Logtalk" program group due to the definition of a new system environment
30    variable)
31
32logtalk.spec
33    specification file for building Linux RPMs
34    (copy the Logtalk tarball to your RPM SOURCES directory and then
35    run the command: rpmbuild -ba --target=noarch-*-linux logtalk.spec)
36
37cplgtdirs.sh
38cplgtdirs.js
39    sample scripts for the copying xml, examples, and library directories to the
40    user home directory (must be run by the end-user to ensure proper permissions
41    on the copied files)
42
43cleandist.sh
44    script for cleaning a Logtalk distribution in preparation for
45    packaging.
46
47debian
48    directory containing support files for building a Debian package
49    (work in progress; not yet functional)
50
51
52The following scripts must be run by a user with administration privileges:
53
54make_ciaolgt.sh
55    makes a shell script named ciaolgt for running Logtalk with CIAO Prolog
56    (the first run of the ciaolgt script must be made as root or using sudo)
57make_ciaolgt.js
58    makes a Windows shortcut named "Logtalk - CIAO" for running Logtalk with
59    CIAO 1.10 (the first call to the shortcut must be made a user with
60    administrative rights)
61
62make_eclipselgt.sh
63    makes a shell script named eclipselgt for running Logtalk with ECLiPSe
64make_eclipselgt.js
65    makes a Windows shortcut named "Logtalk - ECLiPSe" for running Logtalk
66    with ECLiPSe 5.7 (if you are using a different version, you must edit
67    the reference to the registry key in the script; if you prefer to use
68    TkEclipse, open the %LOGTALKHOME%\bin\logtalkeclipse.pl file with it)
69
70make_gplgt.sh
71    makes a shell script named gplgt for running Logtalk with GNU Prolog
72make_gplgt.js
73    makes a Windows shortcut named "Logtalk - GNU Prolog" for running Logtalk
74    with GNU Prolog
75make_gplgt_exe.js
76    makes a new GNU Prolog top level named gplgt.exe and creates a Windows
77    shortcut named "Logtalk - GNU Prolog" for running it (needs the developer
78    tools nasm.exe and cp.exe installed; both the developer tools and the GNU
79    Prolog installation bin directory must be in the system path)
80
81make_qplgt.sh
82    makes a shell script named qplgt for running Logtalk with Qu-Prolog
83    (based on script code contributed by Peter Robinson)
84
85make_sicstuslgt.sh
86    makes a shell script named sicstuslgt for running Logtalk with SICStus
87    Prolog
88make_sicstuslgt.js
89    makes a Windows shortcut named "Logtalk - SICStus Prolog" for running
90    Logtalk with SICStus Prolog 3.11 (if you are using a different version,
91    you must edit the reference to the registry key in the script)
92
93make_swilgt.sh
94    makes a shell script named swilgt for running Logtalk with SWI-Prolog
95make_swilgt.js
96    makes a Windows shortcut named "Logtalk - SWI-Prolog" for running Logtalk
97    with SWI-Prolog
98
99make_yaplgt.sh
100    makes a shell script named yaplgt for running Logtalk with YAP
101make_yaplgt.js
102    makes a Windows shortcut named "Logtalk - YAP" for running Logtalk with YAP
103    (assumes that the Yap folder is installed in C:\Program Files; edit the path
104    to the yap.exe executable in the script if necessary)
105
106make_xsblgt.sh
107    makes a shell script named xsblgt for running Logtalk with XSB
108
109These scripts require the environment variable LOGTALKHOME (pointing to the
110Logtalk installation directory) to be defined. In addition, the shell scripts
111accept as an optional argument a prefix for the location of a link to the
112scripts (default is /usr/local, creating the links in /usr/local/bin). Please
113note that the environment variable LOGTALKHOME must be defined in order to run
114the *lgt scripts that are created by the shell scripts above or the Windows
115shortcuts (see the INSTALL file for details on setting the variable).
116
117Note: when Logtalk is manually installed from sources, the shell scripts might
118not have the executable permission bit set. In that case it will be necessary
119to first run the command "chmod a+x *.sh" on the scripts directory.
Note: See TracBrowser for help on using the browser.