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

Port Bug Report: configure script creates errored gcc statements - no compilation

From: Unprivileged user <nobody>
To: pgsql-ports(at)postgresql(dot)org
Subject: Port Bug Report: configure script creates errored gcc statements - no compilation
Date: 1999-02-12 13:57:15
Message-ID: 199902121357.IAA75308@hub.org (view raw or flat)
Thread:
Lists: pgsql-ports
============================================================================
                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================


Your name		: Mark Solomon
Your email address	: msolomon(at)seva(dot)net

Category		: install: compile
Severity		: critical

Summary: configure script creates errored gcc statements - no compilation

System Configuration
--------------------
  Operating System   : Solaris 2.6

  PostgreSQL version : 6.4.2

  Compiler used      : gcc 2.8.1

Hardware:
---------


Versions of other tools:
------------------------
GNUmake - 3.77
GNUflex - 2.5.4

--------------------------------------------------------------------------

Problem Description:
--------------------
It seems that configure (or the *.in files) throw an extra "true"
into the gcc lines of comilation.  Here's an example:

$make
make lexverify
make[1]: Entering directory `/export/home/sevanet/msolomon/src/postgresql-6.4.2/src'
make -C lextest all
make[2]: Entering directory `/export/home/sevanet/msolomon/src/postgresql-6.4.2/src/lextest'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/export/home/sevanet/msolomon/src/postgresql-6.4.2/src/lextest'
make[1]: Leaving directory `/export/home/sevanet/msolomon/src/postgresql-6.4.2/src'
make -C utils all
make[1]: Entering directory `/export/home/sevanet/msolomon/src/postgresql-6.4.2/src/utils'
gcc -I../include -I../backend     -Wall -Wmissing-prototypes true   -c version.c -o version.o
gcc: cannot specify -o with -c and multiple compilations
make[1]: *** [version.o] Error 1
make[1]: Leaving directory `/export/home/sevanet/msolomon/src/postgresql-6.4.2/src/utils'
make: *** [all] Error 2
$


--------------------------------------------------------------------------

Test Case:
----------
unpack archive, cd src; ./configure --prefix=/usr/local/pgsql ; make

--------------------------------------------------------------------------

Solution:
---------


--------------------------------------------------------------------------


pgsql-ports by date

Next:From: Unprivileged userDate: 1999-02-13 06:10:45
Subject: Port Bug Report: pg_dump gets huge memory footprint (200MB and more)
Previous:From: Unprivileged userDate: 1999-02-12 13:54:02
Subject: Port Bug Report: configure crashes trying to include "conftest.sh" if current dir is not in PATH

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