Changeset 826
- Timestamp:
- 08/11/07 02:09:08
- Files:
-
- buildout/pcl.buildout/trunk/README.txt (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
buildout/pcl.buildout/trunk/README.txt
r818 r826 30 30 $ python bootstrap.py 31 31 $ ./bin/buildout 32 $ $(./setenv)32 $ . ./setenv 33 33 $ python init_postgresql.py 34 34 $ ./bin/test_core … … 47 47 48 48 in the root of the buildout to get everything ready for work. This 49 will not build PCL, but will set the necessary script in the right49 will not build PCL, but will set the necessary scripts in the right 50 50 places for doing it. 51 51 … … 102 102 103 103 PCL has a lot of dependencies on external libraries and programs. The 104 dependencies are managed in the ``dependencies.cfg`` configuration104 dependencies are defined in the ``dependencies.cfg`` configuration 105 105 file which the components of the buildout depend on. 106 106 107 107 You may wish to edit the dependencies configuration for two reasons: 108 108 109 - change the version, download url, etc of a component omit a 110 - component in favor of an already installed system component (e.g. a 111 library) 109 - change the version, download url, etc of a component 110 - omit a component in favor of an already installed system component 111 (e.g. a library) 112 113 Please note that if you do the latter, you may need to update the 114 sections using the component to make sure that paths are set 115 correctly. 112 116 113 117 … … 124 128 environment variable. 125 129 126 On Linux (and possibl eother *nix systems) you must use130 On Linux (and possibly other *nix systems) you must use 127 131 128 132 LD_LIBRARY_PATH … … 138 142 There is a helper script ``setenv`` that will set the paths for 139 143 you. You need to check and possibly modify it to make sure it sets the 140 correct environment variable variable for your system. 144 correct environment variable variable for your system. The script 145 already contains options for some environments so can simply uncomment 146 the one suitable for you. 141 147 142 148 On a Linux system using ``bash`` for a shell you can simply do:: … … 162 168 $ ./bin/python init_postgresql.py 163 169 164 You can optionally set the port number by using the --port option. 170 You can optionally set the port number by using the --port option. The 171 default port is 5432. 165 172 166 173 You can run the script as many times as you want, but be aware that it 167 174 will reset the whole database. You shouldn't use the test database to 168 hold any important data. 175 store any important data as it will be lost on subsequent runs of the 176 script. 169 177 170 178 See the OSX Notes section below if you are using Mac OSX.
