Skip site navigation (1) Skip section navigation (2)

Build in separate directory fails: funky path contatenation

From: Eric Buddington <eric(at)qurasp15(dot)vgernet(dot)net>
To: pgsql-ports(at)postgresql(dot)org
Subject: Build in separate directory fails: funky path contatenation
Date: 1999-05-01 03:34:15
Message-ID: (view raw or whole thread)
Lists: pgsql-ports
                        POSTGRESQL BUG REPORT TEMPLATE

Your name		:	Eric Buddington
Your email address	:	ebuddington(at)wesleyn(dot)edu

System Configuration
  Architecture (example: Intel Pentium)  	: AMD K-6

  Operating System (example: Linux 2.0.26 ELF) 	: Linux 2.2.5-ac6

  PostgreSQL version (example: PostgreSQL-6.4.2)  :   PostgreSQL-6.4.2

  Compiler used (example:  gcc 2.8.0)		: gcc

Please enter a FULL description of your problem:

Trying to script the entire compile process (untar to install), I found
that configure barfs if you try to build outside the source dir. 

It complains:

configure: error: can not find install-sh or in

That second path is clearly bogus. Explained somewhat below.

Please describe a way to repeat the problem.   Please try to provide a
concise reproducible example, if at all possible: 


If you know how this problem might be fixed, list the solution below:

The problem is visible at src/configure:563:

for ac_dir in `pwd` $srcdir/`pwd`; do

This is probably where it calculates that inexcusable path. If it tried
just '$srcdir', I believe it would have found the install-sh script.

I know that configure is automatically generated, so this is a bug higher
up in the food chain (possible in autoconf itself?)

- Eric

pgsql-ports by date

Next:From: Rick DoleDate: 1999-05-01 11:05:19
Previous:From: PostGres SQLDate: 1999-05-01 03:28:46
Subject: Core dump with initdb on Irix 6.2

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group