Re: postgresql source build instructions for ubuntu 7.04

From: Greg Smith <gsmith(at)gregsmith(dot)com>
To: Jon Hancock <redstarling(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: postgresql source build instructions for ubuntu 7.04
Date: 2008-01-20 21:16:49
Message-ID: Pine.GSO.4.64.0801201607380.17332@westnet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 18 Jan 2008, Jon Hancock wrote:

> I get to the 4th step and see I need gmake. I use make instead.

If you look at your make you'll probably find this:

gsmith(at)gsmith-ubuntu:~$ make -v
GNU Make 3.81

The standard Ubuntu make is gmake, just isn't named that way by them.

> The bin directory is not accessible to anyone but root due to the
> permissions of the install. Should I have used a different umask for
> the make/install process? As I'm new to pg, what should I change the
> permissions to? Should I make the entire bin directory executable by
> anyone?

As you're asking it this isn't really a PostgreSQL problem, it's a UNIX
permissions question. You should make the directory executable by
everybody you want it to be executable by. I think your real question
should be "how are the permissions set by the regular Ubuntu PostgreSQL
package?" so that you can do the same thing they do. What you might
consider is installing the official version, seeing how they set things
up, take some notes on the permissions used, and then set the permissions
on your source-based installation so they're similar.

--
* Greg Smith gsmith(at)gregsmith(dot)com http://www.gregsmith.com Baltimore, MD

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-01-20 21:34:44 Re: setof record "out" syntax and returning records
Previous Message Sebastjan Trepca 2008-01-20 21:01:37 Deadlock in Postgres 8.2