Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 1CD509FB73B for ; Fri, 17 Aug 2007 19:21:09 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 39648-08 for ; Fri, 17 Aug 2007 19:21:04 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.180]) by postgresql.org (Postfix) with ESMTP id E05229FB732 for ; Fri, 17 Aug 2007 19:21:04 -0300 (ADT) Received: by py-out-1112.google.com with SMTP id u77so1308815pyb for ; Fri, 17 Aug 2007 15:21:03 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=lCHulN7d9sEh/RliROaKaJRpXqvHZxgA+MHNv/KwdVQnSUqAzT3CFiljQQFaxGIUDyQMYVtCnWo/FxOsUwouzXe1YnFwOXTGyCUuqKvFDDan3BhV5AxGLyh6uoMxKALmqgvFpS0OJAu43RgNcmP1AW2M5ZIOwYa/ozW3xC6YA1Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=e4h5Ca27ByJ7Gn32VFAO6JTEgkgAUENxVWS8tfOHAxv9YsObpxotVLRvVMPac9FkjMcVOqIcoMAPXUhPvMF0OFtn30X+Ei7lZMXCUDiH8bXPvt9DVKdFeW11hyBtbzZK/GYjqVHB2n8T4DdZxUwhRuiLj8Re8+GTdCwmCb4xLXc= Received: by 10.64.153.4 with SMTP id a4mr6276581qbe.1187389263050; Fri, 17 Aug 2007 15:21:03 -0700 (PDT) Received: by 10.65.110.15 with HTTP; Fri, 17 Aug 2007 15:21:02 -0700 (PDT) Message-ID: <8078a1730708171521r5643fa1fr96c347f81d883ac6@mail.gmail.com> Date: Fri, 17 Aug 2007 15:21:02 -0700 From: "Medi Montaseri" To: pgsql-admin@postgresql.org Subject: compilation error on CentOS 5 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_98580_19224903.1187389262996" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/210 X-Sequence-Number: 26541 ------=_Part_98580_19224903.1187389262996 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ------=_Part_98580_19224903.1187389262996 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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
------=_Part_98580_19224903.1187389262996--