Error in make for postgresql8.3RC1

From: "G(dot) J(dot) Walsh" <gjwalsh(at)dscdirectionalservices(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Error in make for postgresql8.3RC1
Date: 2008-01-10 04:51:51
Message-ID: 1199940711.16753.27.camel@www.dscdirectionalservices.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

This system has been running postgresql 8.2.5 without problems. I wanted
to try an install 8.3 from tarball while I had the chance.

In preparation, I removed all postgresql files and services from the
system to avoid any possible conflict.

The system is running Linux (Mandriva) kernel 2.6.24) with gcc-4.2.2 and
make 3.81.

The download was verified with md5sum, uncompressed, and the build begun
with:

./configure --prefix=/var/lib/pgsql.

This completes with no missing files or other errors.

The make command results in 2 errors, repeated over and over again
throughout the log file.

The first instance looks like this:

configure: 2682 gcc -c-g -0@ conftest.c >&5
conftest.c:2: error: expected '=',',', ';', 'asm' or '__attribute__'
before 'me'
configure: 2688: $?=1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure: 2844: gcc -c -g -02 conftest.c >&5
conftest.c: In function 'main':
conftest.c:17: error: 'choke' undeclared (first use in the function)
conftest.c:17: error (Each undeclared error is reported only once
conftest.c:17: error: for each function it appears in.)
conftest.c:17: error: expected ';' before 'me'
configure: 2850: $?=1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "PostgreSQL"
| #define PACKAGE_TARNAME "postgresql"
| #define PACKAGE_VERSION "8.3RC1"
| #define PACKAGE_STRING "PostgreSQL 8.3RC1"
| #define PACKAGE_BUGREPORT "pgsql-bugs(at)postgresql(dot)org"
| #define PG_VERSION "8.3RC1"
| #define DEF_PGPORT 5432
| #define DEF_PGPORT_STR "5432"
| /* end confdefs.h. */

..... which looks fine to me.

FURTHERMORE, using the same 'clean' procedure, I attempted to install
from Mandriva's rpms, which resulted in a permission problem and
therefore would not complete either.

Not much more I can do to get a line on this problem. If there is no
obvious solution, I'll revert back to 8.2.5 and stay with it ....

Thanks for any insight you might be able to share.

George

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2008-01-10 05:47:59 Re: Error in make for postgresql8.3RC1
Previous Message Andrej Ricnik-Bay 2008-01-10 01:55:44 Re: psql record separator