Thread: installing postgres on solaris

installing postgres on solaris

From
Mogin Mohandas
Date:
Hi,
      I am experiencing some problems installing postgresql on solaris
machine. First of all , is it required that I be root at the time of
configuring it because the commands seem to be for root. How do I
configure if I am not the root.
    Thank you
    Mogin

Re: installing postgres on solaris

From
"Joshua D. Drake"
Date:
Mogin Mohandas wrote:
> Hi,
>       I am experiencing some problems installing postgresql on solaris
> machine. First of all , is it required that I be root at the time of
> configuring it because the commands seem to be for root. How do I
> configure if I am not the root.

You typically do not need to be root to install PostgreSQl as long as
you are installing to a location that you have rights to write to. What
is the exact error you are receiving?

Sincerely,

Joshua D. Drake



>     Thank you
>     Mogin
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
>        subscribe-nomail command to majordomo@postgresql.org so that your
>        message can get through to the mailing list cleanly


Re: installing postgres on solaris

From
Michael Fuhr
Date:
On Wed, Jul 06, 2005 at 08:08:17PM -0500, Mogin Mohandas wrote:
>       I am experiencing some problems installing postgresql on solaris
> machine. First of all , is it required that I be root at the time of
> configuring it because the commands seem to be for root. How do I
> configure if I am not the root.

How are you trying to install PostgreSQL?  From source?  From a
pre-built package?  What problems are you having -- what commands
"seem to be for root"?

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

Re: installing postgres on solaris

From
Jonathan Daugherty
Date:
# >      I am experiencing some problems installing postgresql on solaris
# > machine. First of all , is it required that I be root at the time of
# > configuring it because the commands seem to be for root. How do I
# > configure if I am not the root.
#
#  You typically do not need to be root to install PostgreSQl as long
# as you are installing to a location that you have rights to write
# to. What is the exact error you are receiving?

He said "at the time of configuring," not installation, if that makes
any difference.

--
  Jonathan Daugherty
  Lead Programmer
  Command Prompt, Inc. - http://www.commandprompt.com/
  PostgreSQL Replication & Support Services, (503) 667-4564

Re: installing postgres on solaris

From
Michael Fuhr
Date:
[Please copy the mailing list on replies so others can contribute
to and learn from the discussion.]

On Wed, Jul 06, 2005 at 08:40:10PM -0500, Mogin Mohandas wrote:
> No..Im just downloading it from the website. So its from source. The
> install 'read only' talks about the 'su' command which made me think
> of root....

su is for becoming another user, root or otherwise.  If you have
permission to write to the installation directory then you shouldn't
need to become root.  Some people do suggest for security reasons
that you run the postmaster as a different user than the user who
owns the installed files, so you might need su (or sudo) for that.

> i had problems configuring using the ./configure command...it said
> some files were missing,,,,

What was the exact error message?

> so i sent the directories using telnet and now its going further
> after the ./configure.

What do you mean by "sent the directories using telnet"?

> But it stops at one place saying failed..readline...

What's the exact error message?  If you don't have readline installed
then you could configure with the --without-readline option, but it
would be better to install readline so you can take advantage of it.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/