Received: from portal.west.saic.com (portal.west.saic.com [198.151.12.15]) by hub.org (8.9.3/8.9.3) with SMTP id LAA12971 for ; Tue, 11 Jan 2000 11:02:56 -0500 (EST) (envelope-from officers@aries.tucson.saic.com) Received: from gatespass.tucson.saic.com by portal.west.saic.com via smtpd (for postgresql.org [216.126.84.28]) with SMTP; 11 Jan 2000 16:02:56 UT Received: (from adm@localhost) by gatespass.tucson.saic.com (8.8.2/8.8.2) id JAA01117 for ; Tue, 11 Jan 2000 09:02:54 -0700 (MST) X-Authentication-Warning: gatespass.tucson.saic.com: adm set sender to using -f Received: from wasp.tucson.saic.com(139.121.3.171) by gatespass.tucson.saic.com via smap (V2.0) id xma001115; Tue, 11 Jan 00 09:02:31 -0700 Received: from aries.tucson.saic.com (localhost [127.0.0.1]) by wasp.tucson.saic.com (980427.SGI.8.8.8/950213.SGI.AUTOCF) via ESMTP id JAA38892 for ; Tue, 11 Jan 2000 09:02:31 -0700 (MST) Sender: officers@aries.tucson.saic.com Message-ID: <387B5417.64E33093@aries.tucson.saic.com> Date: Tue, 11 Jan 2000 09:02:31 -0700 From: Sarah Officer X-Mailer: Mozilla 4.07C-SGI [en] (X11; I; IRIX 6.5 IP32) MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: postgresql configuration nits Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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