Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 29C0A1337C4B for ; Thu, 24 Feb 2011 17:18:11 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 41272-01-5 for ; Thu, 24 Feb 2011 21:18:02 +0000 (UTC) X-Greylist: delayed 00:06:37.526369 by SQLgrey-1.7.6 Received: from web38606.mail.mud.yahoo.com (web38606.mail.mud.yahoo.com [209.191.125.67]) by mail.postgresql.org (Postfix) with SMTP id 9A3651337E66 for ; Thu, 24 Feb 2011 17:06:33 -0400 (AST) Received: (qmail 22609 invoked by uid 60001); 24 Feb 2011 20:59:53 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1298581193; bh=m+74Enl2EZcNjFNSIFHZ3ZsXmUZLFb3XjrmOWC0V4d4=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=4Hb8CS1xISSJn01dnRw/Gts/ymyvgc7hxIWmGo7C8HOQNrAS2WtuJsgh+mb09+nNMZ5CPQmLzexumzkpdI8ID7RxqaaBni9KLdzu6zmUHGURstaRGvnmlpbKewWgpZ3NmAFT7+D3KdgIvnKJxjgFKlaEXlrm/21OPNepMnM3KRg= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=xKPuZPNzW15WnZyvGaa9OEFXOPMtjdg47+p3q5iKCv/I5rlOTvZbqU5QltssU/QxAeH/FV/TIk8pCfkOm9Ez1cQjTh96pFbyZ6QtkXcUXVteLta/aGf1f6ueTDhJpoFL/5GKNdC9xREarFnCxTyDq1D6xz2uYNfkJTsOUIMuVYM=; Message-ID: <633729.22152.qm@web38606.mail.mud.yahoo.com> X-YMail-OSG: I82s9mEVM1mL5J4FFJIh4qbNpbSNYVlC3nI.aRfpwD8LH1b BvwEnYwjiJ58dIG8LKC1vKquaocXqlFDmN.V8f.hfiyxrPrRPQvTK7vfWKDW xdq9mpjNaeGClplMEbIPdY5TzBdoNLQdtEBMfcxLHjfNBsRShx5leFi9yFtt YCO58SDYlTMwWuVVlgBytPTWJBhFCNzbelUwtFcETUNsLuQcd6f8l_gTqKIk clIaMa1L6T8441YM4ccsPKPJnsPv2qO_iW9VBQQs.lO0AhBxhMn1_71FZrVw 5XVyp8cfMeK5SNXn4Ydc2267STME- Received: from [24.16.106.155] by web38606.mail.mud.yahoo.com via HTTP; Thu, 24 Feb 2011 12:59:53 PST X-Mailer: YahooMailRC/555 YahooMailWebService/0.8.109.292656 Date: Thu, 24 Feb 2011 12:59:53 -0800 (PST) From: Stephan Doliov Subject: questions about the configure script for building postgres 9.0.3 from source To: pgsql-admin@postgresql.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1512245966-1298581193=:22152" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.897 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RFC_ABUSE_POST=0.001, T_RP_MATCHES_RCVD=-0.01, T_TO_NO_BRKTS_FREEMAIL=0.01 X-Spam-Level: X-Archive-Number: 201102/221 X-Sequence-Number: 36860 --0-1512245966-1298581193=:22152 Content-Type: text/plain; charset=us-ascii Hi, I trolled the archives as I was having difficulty in building Postgres 9.0.3 from source. I was running configure with the following options (the pasted in text of this I had wrapped in a shell script). I apologize in advance that setting up the question takes a bit of context. ./configure CFLAGS='-O2 -I /usr/local/include:/usr/include -L /usr/local/lib64:/usr/local/lib:/usr/lib64:/usr/lib' --prefix=/usr/local --enable-nls --enable-profiling --with-wal-segsize=64 --with-perl --with-python --with-pam --with-ldap --with-openssl --with-ossp-uuid --with-libxml --with-libxslt --with-system-tzdata=/usr/share/zoneinfo --with-libs=/usr/local/lib64:/usr/local/lib:/usr/lib64:/usr/lib:/usr/apache2/lib --with-includes=/usr/local/include:/usr/include and I was constantly receiving the error that libreadline was not installed, although I had personally installed it, verified its installation and ensured that ldconfig could find it. Upon inspecting config.log, I found many references to an error in conftest.c, where various ifndef macros were suggesting a call to "choke me", which is both invalid syntax (no semi colon and of course choke is not defined either in any header files. When I ran the contents of the shell script on the command line itself, I managed to trap a different error, namely missing libs for xml, xslt, and a missing msgfmt binary. So I installed those and then from both the command line and the shell script, the configure script worked fine. So my questions are: 1) upon not finding libs such as xml, xslt or the msgfmt binary, is the configure script set (perhaps by bug) to report that libreadline is not installed (when in fact it is?). Another way of phrasing this question: does configure misreport that which is missing? 2) why would running configure from the command line expose a different error than when the same command was wrapped in a shell script (albeit with the xml, xslt libs missing and msgfmt missing)? 3) not too important as it isn't fatal to the build from source endeavor, but what's up with those "choke me" items that leave detritus in config.log? I am happy to attach the script files, and provide more details as to how to replicate the error messages that, although indicative of an error, apparently set the wrong error message. Thanks, Stephan Doliov --0-1512245966-1298581193=:22152 Content-Type: text/html; charset=us-ascii
Hi,
I trolled the archives as I was having difficulty in building Postgres 9.0.3 from source.  I was running configure with the following options (the pasted in text of this I had wrapped in a shell script).  I apologize in advance that setting up the question takes a bit of context.

./configure  CFLAGS='-O2 -I /usr/local/include:/usr/include -L /usr/local/lib64:/usr/local/lib:/usr/lib64:/usr/lib'  --prefix=/usr/local --enable-nls --enable-profiling  --with-wal-segsize=64  --with-perl --with-python  --with-pam  --with-ldap --with-openssl --with-ossp-uuid --with-libxml --with-libxslt  --with-system-tzdata=/usr/share/zoneinfo --with-libs=/usr/local/lib64:/usr/local/lib:/usr/lib64:/usr/lib:/usr/apache2/lib --with-includes=/usr/local/include:/usr/include

and I was constantly receiving the error that libreadline was not installed, although I had personally installed it, verified its installation and ensured that ldconfig could find it.

Upon inspecting config.log, I found many references to an error in conftest.c, where various ifndef macros were suggesting a call to "choke me", which is both invalid syntax (no semi colon and of course choke is not defined either in any header files.

When I ran the contents of the shell script on the command line itself, I managed to trap a different error, namely missing libs for xml, xslt, and a missing msgfmt binary.  So I installed those and then from both the command line and the shell script, the configure script worked fine.

So my questions are:
1) upon not finding libs such as xml, xslt or the msgfmt binary, is the configure script set (perhaps by bug) to report that libreadline is not installed (when in fact it is?).  Another way of phrasing this question: does configure misreport that which is missing?
2) why would running configure from the command line expose a different error than when the same command was wrapped in a shell script (albeit with the xml, xslt libs missing and msgfmt missing)?
3) not too important as it isn't fatal to the build from source endeavor, but what's up with those "choke me" items that leave detritus in config.log?

I am happy to attach the script files, and provide more details as to how to replicate the error messages that, although indicative of an error, apparently set the wrong error message.

Thanks,
Stephan Doliov


--0-1512245966-1298581193=:22152--