I’m struggling with the instruction in the postgres install doc. The following is from the doc:
10. Unzip and untar the new source file. Type
$ cd /usr/src/pgsql
$ gunzip -c ~/postgresql-v6.5.3.tar.gz | tar xvf -
11. Configure the source code for your system. It is this step at which you
can specify your actual installation path for the build process (see
the --prefix option below). Type
$ cd /usr/src/pgsql/src
$ ./configure [ options ]
If I follow those instruction I get /usr/src/pgsql/postgresql-6.5.3/src. Notice the ugly extra directory added in the middle.
Did I do something wrong or did the authors make a mistake or do they just assume I’ll just accept the discrepancy.
I followed the directions and it works. It’s just that I get worried if things don’t go as it looks like they should.
Also why do they always use:
gunzip -c ~/postgresql-v6.5.3.tar.gz | tar xvf -
Is not tar –xvzf postgresql-v6.5.3.tar.gz the same thing and neater looking?
I’m trying to put together some directions for some people in my company that are new to linux so I would prefer to make the directions as easy to follow as possible?