pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sarah Officer <officers@aries.tucson.saic.com>
To: pgsql-admin@postgresql.org
Subject: postgresql configuration nits
Date: Tue, 11 Jan 2000 09:02:31 -0700
Message-ID: <387B5417.64E33093@aries.tucson.saic.com> (raw)

I am compiling postgres 6.5.3 on an IRIX running version 6.5 of the
OS.  I ran into a few problems which are surmountable, but perhaps
they should be fixed.  I believe problems 1 and 3 are platform
independent.  I have no idea what causes problem 2.  Any ideas?

1. I am not installing my software in /usr/local.  Here's how I want
to install my software:

BASE_DIR
    include - platform independent include files go here
    man - platform independent man pages
    other - other directories for stuff htat is platform independent
    IRIXDIR - a directory for things particular to SGI
	bin - binaries specific to the platform, in this case IRIX
        lib - libraries specific to the platform, in this case IRIX

For most packages I build with configure, this is easily
accomplished by useing '--prefix=$BASE_DIR
--exec-prefix=BASE_DIR/IRIXDIR'.  When I use these flags for
postgres, however, the binaries get put into BASE_DIR/bin.  That
won't work in a multi-platform environment.

2. I also notice that unless I specify  '--with-CC=cc', configure is
assuming gcc.  I don't have gcc in my path, so I don't know why it
is being selected.  There are some copies of gcc in our network, but
they are not to be used for this project (and thus they are not in
my path).  Why does this happen?  The compile fails quickly.  

3. I selected the '--with-tcl' compile option.  The compilation
fails because it can't find tcl.h.  This occurs both in
src/interfaces/libpgtcl directory and in the src/bin/pgtclsh.  The
tcl package I wish to use is installed in the same hierarchy I wish
to install postgres.  I think it would be reasonable when --prefix
is given as a configure option to add '-I$(prefix)' to CFLAGS and
when --exec-prefix is given, add '-L$(exec_prefix)' to the link
line.  I don't know the syntax for that, but you get the idea.

Just some suggestions.  They would certainly make the compile go
more easily for us.

Sarah Officer
officers@aries.tucson.saic.com



view thread (2+ messages)  latest in thread

Message-ID: <387B5417.64E33093@aries.tucson.saic.com>
Permalink:  ../387B5417.64E33093@aries.tucson.saic.com/
Also on:    postgresql.org/message-id/387B5417.64E33093@aries.tucson.saic.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: officers@aries.tucson.saic.com
  Subject: Re: postgresql configuration nits
  In-Reply-To: <387B5417.64E33093@aries.tucson.saic.com>
  References: <387B5417.64E33093@aries.tucson.saic.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox