pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedcompilation error on CentOS 5
3+ messages / 2 participants
[nested] [flat]
* compilation error on CentOS 5
@ 2007-08-17 22:21 Medi Montaseri <montaseri@gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Medi Montaseri @ 2007-08-17 22:21 UTC (permalink / raw)
To: 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
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: compilation error on CentOS 5
@ 2007-08-18 05:57 Tom Lane <tgl@sss.pgh.pa.us>
parent: Medi Montaseri <montaseri@gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Tom Lane @ 2007-08-18 05:57 UTC (permalink / raw)
To: Medi Montaseri <montaseri@gmail.com>; +Cc: pgsql-admin
"Medi Montaseri" <montaseri@gmail.com> writes:
> I am having difficulty compiling my postgresql 7.2.3 on a CentOS 5.
Why in the world are you trying to build a five-year-old PG release on
a current operating system? Do yourself a favor and move up to some
recent release.
regards, tom lane
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: compilation error on CentOS 5
@ 2007-08-18 23:15 Medi Montaseri <montaseri@gmail.com>
parent: Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 3+ messages in thread
From: Medi Montaseri @ 2007-08-18 23:15 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-admin
Oh what I can share with you about employers who are not familiar with
database technologies and how far they go to distance themselves from it or
use it in such ill ways....
By the way, I have fixed the problem, and it looks like it was handcrafted
makefile that caused it. It still does not explain why the same makefile
works on previous OS releases, but that is another story and there many such
stories in a day of software engineer.
Cheers for now....
Medi
On 8/17/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> "Medi Montaseri" <montaseri@gmail.com> writes:
> > I am having difficulty compiling my postgresql 7.2.3 on a CentOS 5.
>
> Why in the world are you trying to build a five-year-old PG release on
> a current operating system? Do yourself a favor and move up to some
> recent release.
>
> regards, tom lane
>
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2007-08-18 23:15 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-08-17 22:21 compilation error on CentOS 5 Medi Montaseri <montaseri@gmail.com>
2007-08-18 05:57 ` Tom Lane <tgl@sss.pgh.pa.us>
2007-08-18 23:15 ` Medi Montaseri <montaseri@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox