============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================
Your name : Mark Solomon
Your email address : msolomon@seva.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:
---------
--------------------------------------------------------------------------