From: Bruce Momjian Date: Tue, 23 Nov 1999 18:24:55 +0000 (+0000) Subject: Cleanup paths in install files. X-Git-Tag: REL7_0~1140 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f0e18e967c70926ab36c24cb91204ca4ee2cc35c;p=postgresql Cleanup paths in install files. --- diff --git a/doc/src/sgml/install.sgml b/doc/src/sgml/install.sgml index 6a90c21294..b79bd35600 100644 --- a/doc/src/sgml/install.sgml +++ b/doc/src/sgml/install.sgml @@ -129,7 +129,7 @@ For a fresh install or upgrading from previous releases of Read any last minute information and platform specific porting notes. There are some platform specific notes at the end of this file for Ultrix4.x, Linux, BSD/OS and NeXT. There are other - files in directory /usr/src/pgsql/doc, including files FAQ-Irix + files in directory /usr/src/pgsql/postgresql-6.5.3/doc, including files FAQ-Irix and FAQ-Linux. Also look in directory ftp://ftp.postgresql.org/pub. If there is a file called INSTALL in this directory then this @@ -276,10 +276,10 @@ from the new distribution: $ cd $ gunzip -c postgresql-6.5.3.tar.gz \ - | tar xvf - src/bin/pg_dump/pg_dumpall -$ chmod a+x src/bin/pg_dump/pg_dumpall -$ src/bin/pg_dump/pg_dumpall > db.out -$ rm -rf src + | tar xvf - postgresql-6.5.3/src/bin/pg_dump/pg_dumpall +$ chmod a+x postgresql-6.5.3/src/bin/pg_dump/pg_dumpall +$ postgresql-6.5.3/src/bin/pg_dump/pg_dumpall > db.out +$ rm -rf postgresql-6.5.3 @@ -368,9 +368,9 @@ If you are upgrading an existing system then move the old directories $ su - $ cd /usr/src -$ mv pgsql pgsql_6_0 +$ mv pgsql pgsql.old $ cd /usr/local -$ mv pgsql pgsql_6_0 +$ mv pgsql pgsql.old $ exit @@ -429,7 +429,7 @@ $ gunzip -c ~/postgresql-6.5.3.tar.gz | tar xvf - you can specify your actual installation path for the build process (see the --prefix option below). Type -$ cd /usr/src/pgsql/src +$ cd /usr/src/pgsql/postgresql-6.5.3/src $ ./configure [ options ] @@ -531,7 +531,7 @@ Install the man and HTML documentation. Type -$ cd /usr/src/pgsql/doc +$ cd /usr/src/pgsql/postgresql-6.5.3/doc $ gmake install @@ -545,7 +545,7 @@ ending with .ps.gz in the same directory. Compile the program. Type -$ cd /usr/src/pgsql/src +$ cd /usr/src/pgsql/postgresql-6.5.3/src $ gmake all > make.log 2>&1 & $ tail -f make.log @@ -600,7 +600,7 @@ $ gmake COPT="-g" all > make.log 2>&1 & Install the program. Type -$ cd /usr/src/pgsql/src +$ cd /usr/src/pgsql/postgresql-6.5.3/src $ gmake install > make.install.log 2>&1 & $ tail -f make.install.log @@ -609,7 +609,8 @@ $ tail -f make.install.log The last line displayed will be -gmake[1]: Leaving directory `/usr/src/pgsql/src/man' +Thank you for choosing PostgreSQL, the most advanced open source +database engine. At this point, or earlier if you wish, type control-C to get out of tail. @@ -678,7 +679,7 @@ pg_id: can't load library 'libpq.so' complete its installation, either now or later, by becoming the user that does own the Perl library (often root) (via su) and doing - $ cd /usr/src/pgsql/src/interfaces/perl5 + $ cd /usr/src/pgsql/postgresql-6.5.3/src/interfaces/perl5 $ gmake install @@ -952,7 +953,7 @@ pg:2345:respawn:/bin/su - postgres -c Run the regression tests. - The file /usr/src/pgsql/src/test/regress/README has detailed + The file /usr/src/pgsql/postgresql-6.5.3/src/test/regress/README has detailed instructions for running and interpreting the regression tests. A short version follows here: @@ -963,7 +964,7 @@ pg:2345:respawn:/bin/su - postgres -c Type -$ cd /usr/src/pgsql/src/test/regress +$ cd /usr/src/pgsql/postgresql-6.5.3/src/test/regress $ gmake clean $ gmake all runtest @@ -1028,7 +1029,7 @@ For example, $ destroydb regression -$ cd /usr/src/pgsql/src/test/regress +$ cd /usr/src/pgsql/postgresql-6.5.3/src/test/regress $ gmake clean @@ -1111,11 +1112,10 @@ VACUUM; Clean up after yourself. Type -$ rm -rf /usr/src/pgsql_6_5 -$ rm -rf /usr/local/pgsql_6_5 -# Also delete old database directory tree if it is not in -# /usr/local/pgsql_6_5/data -$ rm ~/postgresql-6.5.3.tar.gz +$ rm -rf /usr/src/pgsql +$ rm -rf /usr/src/pgsql.old +# Also delete the old database directory tree if desired. +$ rm -rf /usr/local/pgsql.old @@ -1295,13 +1295,13 @@ And so on. You get the idea. Questions? Bugs? Feedback? -First, read the files in directory /usr/src/pgsql/doc/. +First, read the files in directory /usr/src/pgsql/postgresql-6.5.3/doc/. The FAQ in this directory may be particularly useful. If Postgres failed to compile on your computer -then fill out the form in file /usr/src/pgsql/doc/bug.template +then fill out the form in file /usr/src/pgsql/postgresql-6.5.3/doc/bug.template and mail it to the location indicated at the top of the form.