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

Поиск
Список
Период
Сортировка
От Unprivileged user
Тема Port Bug Report: configure script creates errored gcc statements - no compilation
Дата
Msg-id 199902121357.IAA75308@hub.org
обсуждение исходный текст
Список pgsql-ports
============================================================================
                        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:
---------


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


В списке pgsql-ports по дате отправления:

Предыдущее
От: Unprivileged user
Дата:
Сообщение: Port Bug Report: configure crashes trying to include "conftest.sh" if current dir is not in PATH
Следующее
От: Unprivileged user
Дата:
Сообщение: Port Bug Report: pg_dump gets huge memory footprint (200MB and more)