![]() |
![]() |
|
Documentation
Resources
Support
|
4Suite™ Installation LocationsWhen 4Suite is installed, its files are placed in various locations. These locations vary according to the version of 4Suite, the platform, and the method of installation. This document summarizes the default installation locations, and provides information on how to customize the locations when building from source. This document last updated 19 November 2004. Please report errors or ask questions via <4suite@4suite.org> (it will appear on the 4suite mailing list). Contents4Suite 1.0a4 and newerWhen building from source, a directory layout can be chosen before installing by running setup.py config with the appropriate options. Default directories for a standard layout can be manually overridden this way, as well. The main options are documented here, but see setup.py config ‑‑help for the complete set. POSIX platforms
|
| 4Suite files | override | default location |
|---|---|---|
| User executables
(4rdf, 4ss, 4ss_manager, 4ssd, 4versa, 4xml, 4xpath, 4xslt, 4xupdate) |
‑‑bindir | /usr/local/bin |
| Read‑only platform‑independent data
(XML catalogs & schemas, repository resource sources) |
‑‑datadir | /usr/local/share/4Suite |
| Read-only host‑specific data
(repository config file) |
‑‑sysconfdir | /usr/local/etc |
| Modifiable host‑specific data
(default FlatFile database for repository) |
‑‑localstatedir | /var/local/lib/4Suite |
| Program & package libraries
(test suites) |
‑‑libdir | /usr/local/lib/4Suite |
| Documentation
(stock & generated XML, HTML, text docs) |
‑‑docdir | /usr/local/share/doc/4Suite‑VERSION |
| Third-party Python libraries
(Ft.* modules) |
‑‑pythonlibdir | PYTHONLIB (site-packages) |
| Message catalogs
(*.po files) |
‑‑localedir | /usr/local/share/locale |
| 4Suite files | override | default location |
|---|---|---|
| User executables
(4rdf, 4ss, 4ss_manager, 4ssd, 4versa, 4xml, 4xpath, 4xslt, 4xupdate) |
‑‑bindir | /usr/bin |
| Read‑only platform-independent data
(XML catalogs & schemas, repository resource sources) |
‑‑datadir | /usr/share/4Suite |
| Read-only host‑specific data
(repository config file) |
‑‑sysconfdir | /etc |
| Modifiable host‑specific data
(default FlatFile database for repository) |
‑‑localstatedir | /var/lib/4Suite |
| Program & package libraries
(test suites) |
‑‑libdir | /usr/lib/4Suite |
| Documentation
(stock & generated XML, HTML, text docs) |
‑‑docdir | /usr/share/doc/4Suite‑VERSION |
| Third-party Python libraries
(Ft.* modules) |
‑‑pythonlibdir | PYTHONLIB (site-packages) |
| Message catalogs
(*.po files) |
‑‑localedir | /usr/share/locale |
| 4Suite files | override | default location |
|---|---|---|
| User executables
(4rdf, 4ss, 4ss_manager, 4ssd, 4versa, 4xml, 4xpath, 4xslt, 4xupdate) |
‑‑bindir | PREFIX/bin |
| Read‑only platform-independent data
(XML catalogs & schemas, repository resource sources) |
‑‑datadir | PREFIX/share/4Suite |
| Read-only host‑specific data
(repository config file) |
‑‑sysconfdir | PREFIX/share/etc/4Suite |
| Modifiable host‑specific data
(default FlatFile database for repository) |
‑‑localstatedir | PREFIX/share/var/4Suite |
| Program & package libraries
(test suites) |
‑‑libdir | PREFIX/lib/4Suite |
| Documentation
(stock & generated XML, HTML, text docs) |
‑‑docdir | PREFIX/share/doc/4Suite‑VERSION |
| Third-party Python libraries
(Ft.* modules) |
‑‑pythonlibdir | PREFIX/lib/python |
| Message catalogs
(*.po files) |
‑‑localedir | PREFIX/share/locale |
| 4Suite files | override | default location |
|---|---|---|
| User executables
(4rdf, 4ss, 4ss_manager, 4ssd, 4versa, 4xml, 4xpath, 4xslt, 4xupdate) |
‑‑bindir | EXECPREFIX/bin |
| Read‑only platform-independent data
(XML catalogs & schemas, repository resource sources) |
‑‑datadir | PREFIX/share/4Suite |
| Read-only host‑specific data
(repository config file) |
‑‑sysconfdir | PREFIX/etc/4Suite |
| Modifiable host‑specific data
(default FlatFile database for repository) |
‑‑localstatedir | PREFIX/var/4Suite |
| Program & package libraries
(test suites) |
‑‑libdir | EXECPREFIX/lib/4Suite |
| Documentation
(stock & generated XML, HTML, text docs) |
‑‑docdir | PREFIX/share/doc/4Suite‑VERSION |
| Third-party Python libraries
(Ft.* modules) |
‑‑pythonlibdir | PYTHONLIB (site-packages) |
| Message catalogs
(*.po files) |
‑‑localedir | PREFIX/share/4Suite/locale |
When installing a prebuilt package for Windows with a .exe installer, the administrator is prompted to select a registered standard Python installation into which 4Suite should be installed. The root directory of the selected installation (e.g., C:\Python23), is the PREFIX in the default locations below.
When building from source on Windows, PREFIX defaults to the value of sys.prefix as reported by Python. It can be overridden via the ‑‑prefix=DIR option on setup.py config.
| 4Suite files | override | default location |
|---|---|---|
| User executables
(4rdf, 4ss, 4ss_manager, 4ssd, 4versa, 4xml, 4xpath, 4xslt, 4xupdate) |
‑‑bindir | PREFIX\Scripts |
| Read‑only platform-independent data
(XML catalogs & schemas, sources for core repository resources) |
‑‑datadir | PREFIX\Share\4Suite |
| Read-only host‑specific data
(repository config file) |
‑‑sysconfdir | PREFIX\Share\Settings\4Suite |
| Modifiable host‑specific data
(default FlatFile database for repository) |
‑‑localstatedir | PREFIX\Share\4Suite |
| Program & package libraries
(test suites) |
‑‑libdir | PREFIX\Share\4Suite |
| Documentation
(stock & generated XML, HTML, text docs) |
‑‑docdir | PREFIX\Share\Doc\4Suite‑VERSION |
| Third-party Python libraries
(Ft.* modules) |
‑‑pythonlibdir | PREFIX\Lib\site-packages
…or in Python 2.1, just PREFIX (However, Python 2.1 support was officially dropped in 4Suite CVS snapshots effective 2004-02-13, which was prior to the 1.0a4 release) |
| Message catalogs
(*.po files) |
‑‑localedir | PREFIX\Share\Locale |
† untested
| 4Suite files | override | default location |
|---|---|---|
| User executables
(4rdf, 4ss, 4ss_manager, 4ssd, 4versa, 4xml, 4xpath, 4xslt, 4xupdate) |
‑‑bindir | PREFIX\Scripts |
| Read‑only platform-independent data
(XML catalogs & schemas, sources for core repository resources) |
‑‑datadir | PREFIX\Share\4Suite |
| Read-only host‑specific data
(repository config file) |
‑‑sysconfdir | PREFIX\Share\Settings\4Suite |
| Modifiable host‑specific data
(default FlatFile database for repository) |
‑‑localstatedir | PREFIX\Share\4Suite |
| Program & package libraries
(test suites) |
‑‑libdir | PREFIX\Share\4Suite |
| Documentation
(stock & generated XML, HTML, text docs) |
‑‑docdir | PREFIX\Share\Doc\4Suite‑VERSION |
| Third-party Python libraries
(Ft.* modules) |
‑‑pythonlibdir | PREFIX\Lib\site-packages |
| Message catalogs
(*.po files) |
‑‑localedir | PREFIX\Share\Locale |
† untested
The installation options in these releases were customizable, but relatively limited. Also, there were various changes from release to release, and it is hard to document them all.
In general, when building from source on POSIX, executable scripts ended up in /usr/local/bin, and everything else ended up in Python's site-packages/Ft directory. The Linux RPMs distributed from 4suite.org put the executables in /usr/bin.
Options available to setup.py install included the following. The defaults and interaction between them is not yet documented.
† Mac OS X and Cygwin support was spotty in these versions of 4Suite.
PYTHONHOME, below, is the Python base directory, e.g. C:\Python21.
† untested
Installation locations were as shown below. PYTHONLIB represents the Python site-specific library directory, e.g. /usr/local/lib/python2.1/site-packages.
(Undocumented for now)
† untested
(Undocumented for now)
† untested
Home |
Copyright |
Downloads
Comments about the site? Email the webmaster.