compilation error on CentOS 5

From: "Medi Montaseri" <montaseri(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: compilation error on CentOS 5
Date: 2007-08-17 22:21:02
Message-ID: 8078a1730708171521r5643fa1fr96c347f81d883ac6@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

I am having difficulty compiling my postgresql 7.2.3 on a CentOS 5.
The same code works on our build machine which is running RedHat 7.2.

I have checked many of the configure(1) output with no major diff. Capturing
the output of make reveals a silly problem which I am failing to find the
root of. The problem is:

Compilation moves forward and at one point it does a "make -C libpq all".
This operation builds all the object files and even ar(1) them to create
libpq.a. But next step, attempting to run ranlib(1) fails because the ranlib
command was misconstructed as in

/opt/ide/i2.02/hardhat/devkit/x86/pentium4/bin/pentium4-ranlibCFLAGS=-I/u/medi/share/src/port/usr/include

Note how "ranlibCFLAGS" should've been "ranlib CFLAGS"
So it looks like in my CentOS 5 something has changes such that the variable
substituions are wrong. Which points to things that are autogenerated, which
points to configure(1).

Any tips on the actual problem or how to get to the bottom of it is
appreciated. Perhaps a few make tricks would surface the problem.

Thank you
Medi

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2007-08-18 05:42:15 Re: Invalid String enlargement
Previous Message Pallav Kalva 2007-08-17 20:15:50 Invalid String enlargement