postgres instalation

Started by Azimuddin Mohammedabout 8 years ago13 messagesgeneral
Jump to latest
#1Azimuddin Mohammed
azimeiu@gmail.com

Hello,
I have installed postgres I saw the message postgres installation complete.
But when I look in the install directory I only see
bin
lib
include
share

I do not see man and docs, may I know how I can install the man and docs
and what is the use of it?

--

Regards,
Azim

#2Noname
godofsix@gmail.com
In reply to: Azimuddin Mohammed (#1)
RE: postgres instalation

Hi Azimuddin,
I'll suggest u uninstall and reinstall

Sent from my Windows 10 phone

From: Azimuddin Mohammed
Sent: Tuesday, February 6, 2018 11:27 PM
To: pgsql-admin@postgresql.org
Subject: postgres instalation

Hello,
I have installed postgres I saw the message postgres installation complete. But when I look in the install directory I only see
bin
lib
include
share
I do not see man and docs, may I know how I can install the man and docs  and what is the use of it?

--

Regards,
Azim

#3David G. Johnston
david.g.johnston@gmail.com
In reply to: Azimuddin Mohammed (#1)
Re: postgres instalation

On Tue, Feb 6, 2018 at 3:27 PM, Azimuddin Mohammed <azimeiu@gmail.com>
wrote:

Hello,
I have installed postgres I saw the message postgres installation
complete. But when I look in the install directory I only see
bin
lib
include
share

I do not see man and docs, may I know how I can install the man and docs
and what is the use of it?

The docs say that if you want to install documentation you need to "make
install-docs". Did you do this?

https://www.postgresql.org/docs/10/static/install-procedure.html

It also indicates:

--prefix ... (The man and doc locations are not affected by this.)

I'm not exactly sure what that means, not having done a source installation
myself before, but if you go doing customization to the default values you
probably need to be aware of this.

It helps greatly if you provide the O/S and commands used when asking for
help on installation matters.

David J.

#4Azimuddin Mohammed
azimeiu@gmail.com
In reply to: David G. Johnston (#3)
Re: postgres instalation

I did use the prefix command i am installing using source code.

<https://www.avast.com/sig-email?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=webmail&amp;utm_term=icon&gt;
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=webmail&amp;utm_term=link&gt;
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Tue, Feb 6, 2018 at 6:19 PM, David G. Johnston <
david.g.johnston@gmail.com> wrote:

On Tue, Feb 6, 2018 at 3:27 PM, Azimuddin Mohammed <azimeiu@gmail.com>
wrote:

Hello,
I have installed postgres I saw the message postgres installation
complete. But when I look in the install directory I only see
bin
lib
include
share

I do not see man and docs, may I know how I can install the man and docs
and what is the use of it?

The docs say that if you want to install documentation you need to "make
install-docs". Did you do this?

https://www.postgresql.org/docs/10/static/install-procedure.html

It also indicates:

--prefix ... (The man and doc locations are not affected by this.)

I'm not exactly sure what that means, not having done a source
installation myself before, but if you go doing customization to the
default values you probably need to be aware of this.

It helps greatly if you provide the O/S and commands used when asking for
help on installation matters.

David J.

--

Regards,
Azim

#5David G. Johnston
david.g.johnston@gmail.com
In reply to: Azimuddin Mohammed (#4)
Re: postgres instalation

On Tue, Feb 6, 2018 at 6:41 PM, Azimuddin Mohammed <azimeiu@gmail.com>
wrote:

I did use the prefix command i am installing using source code.

​It is customary to bottom or inline posts on these lists.

Lacking experience myself, and specifics on your part, I'm not going to be
able to help further without digging deeper into source code installation
than I am able to at the moment. Someone else may though.

But, did you go look to the place where the default prefix would end up
placing the docs, if you installed them at all?

David J.

#6Azimuddin Mohammed
azimeiu@gmail.com
In reply to: Azimuddin Mohammed (#1)
Fwd: postgres instalation

Hello,
I have installed postgres I saw the message postgres installation complete.
But when I look in the install directory I only see
bin
lib
include
share

I do not see man and docs, may I know how I can install the man and docs
and what is the use of it?

--

Regards,
Azim

--

Regards,
Azim

<https://www.avast.com/sig-email?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=webmail&amp;utm_term=icon&gt;
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=webmail&amp;utm_term=link&gt;
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

#7Adrian Klaver
adrian.klaver@aklaver.com
In reply to: Azimuddin Mohammed (#6)
Re: Fwd: postgres instalation

On 02/06/2018 06:05 PM, Azimuddin Mohammed wrote:

Hello,
I have installed postgres I saw the message postgres installation
complete. But when I look in the install directory I only see
bin
lib
include
share

I do not see man and docs, may I know how I can install the man and
docs  and what is the use of it?

How did you install, from source or via packages?

If from source:

https://www.postgresql.org/docs/10/static/install-procedure.html

"If you want to build everything that can be built, including the
documentation (HTML and man pages), and the additional modules
(contrib), type instead:

make world

--

Regards,
Azim

--

Regards,
Azim

<https://www.avast.com/sig-email?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=webmail&amp;utm_term=icon&gt;
Virus-free. www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=webmail&amp;utm_term=link&gt;

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

--
Adrian Klaver
adrian.klaver@aklaver.com

#8Azimuddin Mohammed
azimeiu@gmail.com
In reply to: Adrian Klaver (#7)
Re: Fwd: postgres instalation

I built it from source code.
It says contib is installed too. But i dont see thrm under the prefix
directory.

On Feb 6, 2018 9:17 PM, "Adrian Klaver" <adrian.klaver@aklaver.com> wrote:

Show quoted text

On 02/06/2018 06:05 PM, Azimuddin Mohammed wrote:

Hello,
I have installed postgres I saw the message postgres installation
complete. But when I look in the install directory I only see
bin
lib
include
share

I do not see man and docs, may I know how I can install the man and docs
and what is the use of it?

How did you install, from source or via packages?

If from source:

https://www.postgresql.org/docs/10/static/install-procedure.html

"If you want to build everything that can be built, including the
documentation (HTML and man pages), and the additional modules (contrib),
type instead:

make world

--

Regards,
Azim

--

Regards,
Azim

<https://www.avast.com/sig-email?utm_medium=email&amp;utm_source
=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
Virus-free. www.avast.com <https://www.avast.com/sig-ema
il?utm_medium=email&utm_source=link&utm_campaign=sig-email&
utm_content=webmail&utm_term=link>

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

--
Adrian Klaver
adrian.klaver@aklaver.com

#9Adrian Klaver
adrian.klaver@aklaver.com
In reply to: Azimuddin Mohammed (#8)
Re: Fwd: postgres instalation

On 02/06/2018 07:32 PM, Azimuddin Mohammed wrote:

I built it from source code.
It says contib is installed too. But i dont see thrm under the prefix
directory.

When you did the original build did you do make world or just make?

See also:

https://www.postgresql.org/docs/10/static/install-procedure.html
"
Installing the Files
Note

If you are upgrading an existing system be sure to read Section 18.6
which has instructions about upgrading a cluster.

To install PostgreSQL enter:

make install

This will install files into the directories that were specified in Step
1. Make sure that you have appropriate permissions to write into that
area. Normally you need to do this step as root. Alternatively, you can
create the target directories in advance and arrange for appropriate
permissions to be granted.

To install the documentation (HTML and man pages), enter:

make install-docs

If you built the world above, type instead:

make install-world

This also installs the documentation.
"

On Feb 6, 2018 9:17 PM, "Adrian Klaver" <adrian.klaver@aklaver.com
<mailto:adrian.klaver@aklaver.com>> wrote:

On 02/06/2018 06:05 PM, Azimuddin Mohammed wrote:

Hello,
I have installed postgres I saw the message postgres
installation complete. But when I look in the install directory
I only see
bin
lib
include
share

I do not see man and docs, may I know how I can install the man
and docs  and what is the use of it?

How did you install, from source or via packages?

If from source:

https://www.postgresql.org/docs/10/static/install-procedure.html
<https://www.postgresql.org/docs/10/static/install-procedure.html&gt;

"If you want to build everything that can be built, including the
documentation (HTML and man pages), and the additional modules
(contrib), type instead:

make world

--

Regards,
Azim

--

Regards,
Azim

<https://www.avast.com/sig-email?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=webmail&amp;utm_term=icon
<https://www.avast.com/sig-email?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=webmail&amp;utm_term=icon&gt;&gt;
   Virus-free. www.avast.com <http://www.avast.com&gt;
<https://www.avast.com/sig-email?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=webmail&amp;utm_term=link
<https://www.avast.com/sig-email?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=webmail&amp;utm_term=link&gt;&gt;

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

--
Adrian Klaver
adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>

--
Adrian Klaver
adrian.klaver@aklaver.com

#10Shreeyansh Dba
shreeyansh2014@gmail.com
In reply to: Adrian Klaver (#9)
Re: Fwd: postgres instalation

While you installing PostgreSQL via Source then by default it will contain
only (Bin, lib, include, share) if you want to install the documentation
(HTML and man pages)
use following command:-

make install-docs.

<http://www.shreeyansh.com&gt;

On Wed, Feb 7, 2018 at 9:11 AM, Adrian Klaver <adrian.klaver@aklaver.com>
wrote:

Show quoted text

On 02/06/2018 07:32 PM, Azimuddin Mohammed wrote:

I built it from source code.
It says contib is installed too. But i dont see thrm under the prefix
directory.

When you did the original build did you do make world or just make?

See also:

https://www.postgresql.org/docs/10/static/install-procedure.html
"
Installing the Files
Note

If you are upgrading an existing system be sure to read Section 18.6 which
has instructions about upgrading a cluster.

To install PostgreSQL enter:

make install

This will install files into the directories that were specified in Step
1. Make sure that you have appropriate permissions to write into that area.
Normally you need to do this step as root. Alternatively, you can create
the target directories in advance and arrange for appropriate permissions
to be granted.

To install the documentation (HTML and man pages), enter:

make install-docs

If you built the world above, type instead:

make install-world

This also installs the documentation.
"

On Feb 6, 2018 9:17 PM, "Adrian Klaver" <adrian.klaver@aklaver.com
<mailto:adrian.klaver@aklaver.com>> wrote:

On 02/06/2018 06:05 PM, Azimuddin Mohammed wrote:

Hello,
I have installed postgres I saw the message postgres
installation complete. But when I look in the install directory
I only see
bin
lib
include
share

I do not see man and docs, may I know how I can install the man
and docs and what is the use of it?

How did you install, from source or via packages?

If from source:

https://www.postgresql.org/docs/10/static/install-procedure.html
<https://www.postgresql.org/docs/10/static/install-procedure.html&gt;

"If you want to build everything that can be built, including the
documentation (HTML and man pages), and the additional modules
(contrib), type instead:

make world

--
Regards,
Azim

--
Regards,
Azim

<https://www.avast.com/sig-email?utm_medium=email&amp;utm_source
=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon
<https://www.avast.com/sig-email?utm_medium=email&amp;utm_source
=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>>
Virus-free. www.avast.com <http://www.avast.com&gt;
<https://www.avast.com/sig-email?utm_medium=email&amp;utm_source
=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link
<https://www.avast.com/sig-email?utm_medium=email&amp;utm_source
=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>>

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

-- Adrian Klaver
adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>

--
Adrian Klaver
adrian.klaver@aklaver.com

#11Azimuddin Mohammed
azimeiu@gmail.com
In reply to: Shreeyansh Dba (#10)
Re: Fwd: postgres instalation

May I know the use for doc and man here.
Additionally I see the doc directory is getting created in the build
directory and no the prefix directory I supplied

On Tue, Feb 6, 2018 at 11:16 PM, Shreeyansh Dba <shreeyansh2014@gmail.com>
wrote:

While you installing PostgreSQL via Source then by default it will contain
only (Bin, lib, include, share) if you want to install the documentation
(HTML and man pages)
use following command:-

make install-docs.

<http://www.shreeyansh.com&gt;

On Wed, Feb 7, 2018 at 9:11 AM, Adrian Klaver <adrian.klaver@aklaver.com>
wrote:

On 02/06/2018 07:32 PM, Azimuddin Mohammed wrote:

I built it from source code.
It says contib is installed too. But i dont see thrm under the prefix
directory.

When you did the original build did you do make world or just make?

See also:

https://www.postgresql.org/docs/10/static/install-procedure.html
"
Installing the Files
Note

If you are upgrading an existing system be sure to read Section 18.6
which has instructions about upgrading a cluster.

To install PostgreSQL enter:

make install

This will install files into the directories that were specified in Step
1. Make sure that you have appropriate permissions to write into that area.
Normally you need to do this step as root. Alternatively, you can create
the target directories in advance and arrange for appropriate permissions
to be granted.

To install the documentation (HTML and man pages), enter:

make install-docs

If you built the world above, type instead:

make install-world

This also installs the documentation.
"

On Feb 6, 2018 9:17 PM, "Adrian Klaver" <adrian.klaver@aklaver.com
<mailto:adrian.klaver@aklaver.com>> wrote:

On 02/06/2018 06:05 PM, Azimuddin Mohammed wrote:

Hello,
I have installed postgres I saw the message postgres
installation complete. But when I look in the install directory
I only see
bin
lib
include
share

I do not see man and docs, may I know how I can install the man
and docs and what is the use of it?

How did you install, from source or via packages?

If from source:

https://www.postgresql.org/docs/10/static/install-procedure.html
<https://www.postgresql.org/docs/10/static/install-procedure.html&gt;

"If you want to build everything that can be built, including the
documentation (HTML and man pages), and the additional modules
(contrib), type instead:

make world

--
Regards,
Azim

--
Regards,
Azim

<https://www.avast.com/sig-email?utm_medium=email&amp;utm_source
=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon
<https://www.avast.com/sig-email?utm_medium=email&amp;utm_source
=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>>
Virus-free. www.avast.com <http://www.avast.com&gt;
<https://www.avast.com/sig-email?utm_medium=email&amp;utm_source
=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link
<https://www.avast.com/sig-email?utm_medium=email&amp;utm_source
=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>>

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

-- Adrian Klaver
adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>

--
Adrian Klaver
adrian.klaver@aklaver.com

--

Regards,
Azim

#12Azimuddin Mohammed
azimeiu@gmail.com
In reply to: Azimuddin Mohammed (#11)
Re: Fwd: postgres instalation

I think I fig out what the issue here
under the ./configure i need to mention man directory as well which I was
missing

let me ask this once the installation is I see a message "PostgreSQL
installation complete" how many directories I should be seeing under my
prefix directory

I am seeing below files:

bin
extension
html
include
lib
man1
man3
man7
share

On Wed, Feb 7, 2018 at 12:35 AM, Azimuddin Mohammed <azimeiu@gmail.com>
wrote:

May I know the use for doc and man here.
Additionally I see the doc directory is getting created in the build
directory and no the prefix directory I supplied

On Tue, Feb 6, 2018 at 11:16 PM, Shreeyansh Dba <shreeyansh2014@gmail.com>
wrote:

While you installing PostgreSQL via Source then by default it will
contain only (Bin, lib, include, share) if you want to install the
documentation (HTML and man pages)
use following command:-

make install-docs.

<http://www.shreeyansh.com&gt;

On Wed, Feb 7, 2018 at 9:11 AM, Adrian Klaver <adrian.klaver@aklaver.com>
wrote:

On 02/06/2018 07:32 PM, Azimuddin Mohammed wrote:

I built it from source code.
It says contib is installed too. But i dont see thrm under the prefix
directory.

When you did the original build did you do make world or just make?

See also:

https://www.postgresql.org/docs/10/static/install-procedure.html
"
Installing the Files
Note

If you are upgrading an existing system be sure to read Section 18.6
which has instructions about upgrading a cluster.

To install PostgreSQL enter:

make install

This will install files into the directories that were specified in Step
1. Make sure that you have appropriate permissions to write into that area.
Normally you need to do this step as root. Alternatively, you can create
the target directories in advance and arrange for appropriate permissions
to be granted.

To install the documentation (HTML and man pages), enter:

make install-docs

If you built the world above, type instead:

make install-world

This also installs the documentation.
"

On Feb 6, 2018 9:17 PM, "Adrian Klaver" <adrian.klaver@aklaver.com
<mailto:adrian.klaver@aklaver.com>> wrote:

On 02/06/2018 06:05 PM, Azimuddin Mohammed wrote:

Hello,
I have installed postgres I saw the message postgres
installation complete. But when I look in the install directory
I only see
bin
lib
include
share

I do not see man and docs, may I know how I can install the man
and docs and what is the use of it?

How did you install, from source or via packages?

If from source:

https://www.postgresql.org/docs/10/static/install-procedure.html
<https://www.postgresql.org/docs/10/static/install-procedure.html&gt;

"If you want to build everything that can be built, including the
documentation (HTML and man pages), and the additional modules
(contrib), type instead:

make world

--
Regards,
Azim

--
Regards,
Azim

<https://www.avast.com/sig-email?utm_medium=email&amp;utm_source
=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon
<https://www.avast.com/sig-email?utm_medium=email&amp;utm_source
=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>>
Virus-free. www.avast.com <http://www.avast.com&gt;
<https://www.avast.com/sig-email?utm_medium=email&amp;utm_source
=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link
<https://www.avast.com/sig-email?utm_medium=email&amp;utm_source
=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>>

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

-- Adrian Klaver
adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>

--
Adrian Klaver
adrian.klaver@aklaver.com

--

Regards,
Azim

--

Regards,
Azim

#13Adrian Klaver
adrian.klaver@aklaver.com
In reply to: Azimuddin Mohammed (#12)
Re: Fwd: postgres instalation

On 02/06/2018 11:02 PM, Azimuddin Mohammed wrote:

I think I fig out what the issue here
under the ./configure i need to mention man directory as well which I
was missing

let me ask this once the installation is I see a message "PostgreSQL
installation complete" how many directories I should be seeing under my
prefix directory

Without seeing what you passed to ./configure it is not really possible
to answer this. The ./configure settings will be in the config.log file
in the directory you ran ./configure.

Any particular reason you are not using a package manager to install
Postgres?

I am  seeing below files:

bin
extension
html
include
lib
man1
man3
man7
share

Regards,
Azim

--
Adrian Klaver
adrian.klaver@aklaver.com