Cleanup paths in install files.
This commit is contained in:
parent
a895cb7837
commit
f0e18e967c
@ -129,7 +129,7 @@ For a fresh install or upgrading from previous releases of
|
|||||||
Read any last minute information and platform specific porting
|
Read any last minute information and platform specific porting
|
||||||
notes. There are some platform specific notes at the end of this
|
notes. There are some platform specific notes at the end of this
|
||||||
file for Ultrix4.x, Linux, BSD/OS and NeXT. There are other
|
file for Ultrix4.x, Linux, BSD/OS and NeXT. There are other
|
||||||
files in directory <FileName>/usr/src/pgsql/doc</FileName>, including files FAQ-Irix
|
files in directory <FileName>/usr/src/pgsql/postgresql-6.5.3/doc</FileName>, including files FAQ-Irix
|
||||||
and FAQ-Linux. Also look in directory
|
and FAQ-Linux. Also look in directory
|
||||||
<ULink url="ftp://ftp.postgresql.org/pub">ftp://ftp.postgresql.org/pub</ULink>.
|
<ULink url="ftp://ftp.postgresql.org/pub">ftp://ftp.postgresql.org/pub</ULink>.
|
||||||
If there is a file called INSTALL in this directory then this
|
If there is a file called INSTALL in this directory then this
|
||||||
@ -276,10 +276,10 @@ from the new distribution:
|
|||||||
<ProgramListing>
|
<ProgramListing>
|
||||||
$ cd
|
$ cd
|
||||||
$ gunzip -c postgresql-6.5.3.tar.gz \
|
$ gunzip -c postgresql-6.5.3.tar.gz \
|
||||||
| tar xvf - src/bin/pg_dump/pg_dumpall
|
| tar xvf - postgresql-6.5.3/src/bin/pg_dump/pg_dumpall
|
||||||
$ chmod a+x src/bin/pg_dump/pg_dumpall
|
$ chmod a+x postgresql-6.5.3/src/bin/pg_dump/pg_dumpall
|
||||||
$ src/bin/pg_dump/pg_dumpall > db.out
|
$ postgresql-6.5.3/src/bin/pg_dump/pg_dumpall > db.out
|
||||||
$ rm -rf src
|
$ rm -rf postgresql-6.5.3
|
||||||
</ProgramListing>
|
</ProgramListing>
|
||||||
</Para>
|
</Para>
|
||||||
|
|
||||||
@ -368,9 +368,9 @@ If you are upgrading an existing system then move the old directories
|
|||||||
<programlisting>
|
<programlisting>
|
||||||
$ su -
|
$ su -
|
||||||
$ cd /usr/src
|
$ cd /usr/src
|
||||||
$ mv pgsql pgsql_6_0
|
$ mv pgsql pgsql.old
|
||||||
$ cd /usr/local
|
$ cd /usr/local
|
||||||
$ mv pgsql pgsql_6_0
|
$ mv pgsql pgsql.old
|
||||||
$ exit
|
$ exit
|
||||||
</programlisting>
|
</programlisting>
|
||||||
</Para>
|
</Para>
|
||||||
@ -429,7 +429,7 @@ $ gunzip -c ~/postgresql-6.5.3.tar.gz | tar xvf -
|
|||||||
you can specify your actual installation path for
|
you can specify your actual installation path for
|
||||||
the build process (see the --prefix option below). Type
|
the build process (see the --prefix option below). Type
|
||||||
<ProgramListing>
|
<ProgramListing>
|
||||||
$ cd /usr/src/pgsql/src
|
$ cd /usr/src/pgsql/postgresql-6.5.3/src
|
||||||
$ ./configure [ <replaceable>options</replaceable> ]
|
$ ./configure [ <replaceable>options</replaceable> ]
|
||||||
</ProgramListing>
|
</ProgramListing>
|
||||||
</Para>
|
</Para>
|
||||||
@ -531,7 +531,7 @@ Install the <application>man</application> and
|
|||||||
<acronym>HTML</acronym> documentation. Type
|
<acronym>HTML</acronym> documentation. Type
|
||||||
|
|
||||||
<ProgramListing>
|
<ProgramListing>
|
||||||
$ cd /usr/src/pgsql/doc
|
$ cd /usr/src/pgsql/postgresql-6.5.3/doc
|
||||||
$ gmake install
|
$ gmake install
|
||||||
</ProgramListing>
|
</ProgramListing>
|
||||||
</para>
|
</para>
|
||||||
@ -545,7 +545,7 @@ ending with <filename>.ps.gz</filename> in the same directory.
|
|||||||
Compile the program. Type
|
Compile the program. Type
|
||||||
|
|
||||||
<ProgramListing>
|
<ProgramListing>
|
||||||
$ cd /usr/src/pgsql/src
|
$ cd /usr/src/pgsql/postgresql-6.5.3/src
|
||||||
$ gmake all > make.log 2>&1 &
|
$ gmake all > make.log 2>&1 &
|
||||||
$ tail -f make.log
|
$ tail -f make.log
|
||||||
</ProgramListing>
|
</ProgramListing>
|
||||||
@ -600,7 +600,7 @@ $ gmake COPT="-g" all > make.log 2>&1 &
|
|||||||
<Para>
|
<Para>
|
||||||
Install the program. Type
|
Install the program. Type
|
||||||
<ProgramListing>
|
<ProgramListing>
|
||||||
$ cd /usr/src/pgsql/src
|
$ cd /usr/src/pgsql/postgresql-6.5.3/src
|
||||||
$ gmake install > make.install.log 2>&1 &
|
$ gmake install > make.install.log 2>&1 &
|
||||||
$ tail -f make.install.log
|
$ tail -f make.install.log
|
||||||
</ProgramListing>
|
</ProgramListing>
|
||||||
@ -609,7 +609,8 @@ $ tail -f make.install.log
|
|||||||
<Para>
|
<Para>
|
||||||
The last line displayed will be
|
The last line displayed will be
|
||||||
<programlisting>
|
<programlisting>
|
||||||
gmake[1]: Leaving directory `/usr/src/pgsql/src/man'
|
Thank you for choosing PostgreSQL, the most advanced open source
|
||||||
|
database engine.
|
||||||
</programlisting>
|
</programlisting>
|
||||||
At this point, or earlier if you wish,
|
At this point, or earlier if you wish,
|
||||||
type control-C to get out of tail.
|
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
|
complete its installation, either now or later, by becoming the user that
|
||||||
does own the Perl library (often root) (via <command>su</command>) and doing
|
does own the Perl library (often root) (via <command>su</command>) and doing
|
||||||
<ProgramListing>
|
<ProgramListing>
|
||||||
$ cd /usr/src/pgsql/src/interfaces/perl5
|
$ cd /usr/src/pgsql/postgresql-6.5.3/src/interfaces/perl5
|
||||||
$ gmake install
|
$ gmake install
|
||||||
</ProgramListing>
|
</ProgramListing>
|
||||||
</Para>
|
</Para>
|
||||||
@ -952,7 +953,7 @@ pg:2345:respawn:/bin/su - postgres -c
|
|||||||
<Step Performance="required">
|
<Step Performance="required">
|
||||||
<Para>
|
<Para>
|
||||||
Run the regression tests.
|
Run the regression tests.
|
||||||
The file <filename>/usr/src/pgsql/src/test/regress/README</filename> has detailed
|
The file <filename>/usr/src/pgsql/postgresql-6.5.3/src/test/regress/README</filename> has detailed
|
||||||
instructions for running and interpreting the regression tests.
|
instructions for running and interpreting the regression tests.
|
||||||
A short version follows here:
|
A short version follows here:
|
||||||
</Para>
|
</Para>
|
||||||
@ -963,7 +964,7 @@ pg:2345:respawn:/bin/su - postgres -c
|
|||||||
<Para>
|
<Para>
|
||||||
Type
|
Type
|
||||||
<ProgramListing>
|
<ProgramListing>
|
||||||
$ cd /usr/src/pgsql/src/test/regress
|
$ cd /usr/src/pgsql/postgresql-6.5.3/src/test/regress
|
||||||
$ gmake clean
|
$ gmake clean
|
||||||
$ gmake all runtest
|
$ gmake all runtest
|
||||||
</ProgramListing>
|
</ProgramListing>
|
||||||
@ -1028,7 +1029,7 @@ For example,
|
|||||||
|
|
||||||
<ProgramListing>
|
<ProgramListing>
|
||||||
$ destroydb regression
|
$ destroydb regression
|
||||||
$ cd /usr/src/pgsql/src/test/regress
|
$ cd /usr/src/pgsql/postgresql-6.5.3/src/test/regress
|
||||||
$ gmake clean
|
$ gmake clean
|
||||||
</ProgramListing>
|
</ProgramListing>
|
||||||
|
|
||||||
@ -1111,11 +1112,10 @@ VACUUM;
|
|||||||
<Para>
|
<Para>
|
||||||
Clean up after yourself. Type
|
Clean up after yourself. Type
|
||||||
<ProgramListing>
|
<ProgramListing>
|
||||||
$ rm -rf /usr/src/pgsql_6_5
|
$ rm -rf /usr/src/pgsql
|
||||||
$ rm -rf /usr/local/pgsql_6_5
|
$ rm -rf /usr/src/pgsql.old
|
||||||
# Also delete old database directory tree if it is not in
|
# Also delete the old database directory tree if desired.
|
||||||
# /usr/local/pgsql_6_5/data
|
$ rm -rf /usr/local/pgsql.old
|
||||||
$ rm ~/postgresql-6.5.3.tar.gz
|
|
||||||
</ProgramListing>
|
</ProgramListing>
|
||||||
</Para>
|
</Para>
|
||||||
</Step>
|
</Step>
|
||||||
@ -1295,13 +1295,13 @@ And so on. You get the idea.
|
|||||||
|
|
||||||
<Para>
|
<Para>
|
||||||
Questions? Bugs? Feedback?
|
Questions? Bugs? Feedback?
|
||||||
First, read the files in directory <filename>/usr/src/pgsql/doc/</filename>.
|
First, read the files in directory <filename>/usr/src/pgsql/postgresql-6.5.3/doc/</filename>.
|
||||||
The FAQ in this directory may be particularly useful.
|
The FAQ in this directory may be particularly useful.
|
||||||
</Para>
|
</Para>
|
||||||
|
|
||||||
<Para>
|
<Para>
|
||||||
If <ProductName>Postgres</ProductName> failed to compile on your computer
|
If <ProductName>Postgres</ProductName> failed to compile on your computer
|
||||||
then fill out the form in file <filename>/usr/src/pgsql/doc/bug.template</filename>
|
then fill out the form in file <filename>/usr/src/pgsql/postgresql-6.5.3/doc/bug.template</filename>
|
||||||
and mail it to the location indicated at the top of the form.
|
and mail it to the location indicated at the top of the form.
|
||||||
</Para>
|
</Para>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user