'configure' bug on Mac OS X 10.3.5

From: "Fahad G(dot)" <Fahad(dot)Gilani(at)anusf(dot)anu(dot)edu(dot)au>
To: <pgsql-bugs(at)postgresql(dot)org>
Subject: 'configure' bug on Mac OS X 10.3.5
Date: 2004-10-13 00:23:27
Message-ID: BD92B29F.9B9%Fahad.Gilani@anusf.anu.edu.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi,

I just downloaded a fresh distribution of postgresql-8.0.0beta3 and tried
compiling it on a Mac OS X 10.3.5 (Panther -- fresh install), and it gave me
the following error:

sledge:~/tmp/postgresql-8.0.0beta3 sfg900$ ./configure
--prefix=/opt/postgresql-8.0.0beta3 --with-python --with-openssl --with-tcl
--with-perl --enable-thread-safety

checking build system type... powerpc-apple-darwin7.5.0
checking host system type... powerpc-apple-darwin7.5.0
checking which template to use... darwin
checking whether to build with 64-bit integer date/time support... no
checking whether NLS is wanted... no
checking for default port number... 5432
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking how to turn off strict aliasing in gcc -no-cpp-precomp...
-fno-strict-aliasing
configure: using CFLAGS=-O2 -fno-strict-aliasing
checking whether the C compiler still works... yes
checking how to run the C preprocessor... gcc -no-cpp-precomp -E
checking allow thread-safe client libraries... yes
checking whether to build with Tcl... yes
checking whether to build Perl modules... yes
checking whether to build Python modules... yes
checking whether to build with Kerberos 4 support... no
checking whether to build with Kerberos 5 support... no
checking whether to build with PAM support... no
checking whether to build with Rendezvous support... no
checking whether to build with OpenSSL support... yes
configure: using CPPFLAGS=
configure: using LDFLAGS=
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for flex... /usr/bin/flex
checking whether ln -s works... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for ranlib... ranlib
checking for lorder... lorder
checking for tar... /sw/bin/tar
checking for strip... strip
checking whether it is possible to strip libraries... no
checking for bison... bison -y
configure: WARNING:
*** If you are going to modify the grammar files or build from CVS, the
installed
*** version of Bison is too old. Bison version 1.875 or later is required.
checking for perl... /usr/bin/perl
checking for Perl archlibexp...
/System/Library/Perl/5.8.1/darwin-thread-multi-2level
checking for Perl privlibexp... /System/Library/Perl/5.8.1
checking for Perl useshrplib... true
checking for flags to link embedded Perl... -L/usr/local/lib
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/DynaLoader/DynaLo
ader.a -L/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE -lperl
-ldl -lm -lc
checking for python... /usr/bin/python
checking for Python distutils module... yes
checking Python installation directories...
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3
checking how to link an embedded Python application...
-L/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/con
fig -ldl -lpython2.3
checking for main in -lbsd... no
checking for setproctitle in -lutil... no
checking for main in -lm... yes
checking for main in -ldl... yes
checking for main in -lnsl... no
checking for main in -lsocket... no
checking for main in -lipc... no
checking for main in -lIPC... no
checking for main in -llc... no
checking for main in -ldld... no
checking for main in -lld... no
checking for main in -lcompat... no
checking for main in -lBSD... no
checking for main in -lgen... no
checking for main in -lPW... no
checking for main in -lresolv... yes
checking for library containing getopt_long... none required
checking for main in -lunix... no
checking for library containing crypt... none required
checking for library containing fdatasync... no
checking for shmget in -lcygipc... no
checking for readline... no
configure: error: readline library not found
If you have readline already installed, see config.log for details on the
failure. It is possible the compiler isn't looking in the proper directory.
Use --without-readline to disable readline support.

I checked and I don't have 'readline' installed. --without-readline did the
trick, but shouldn't this be handled automatically? If readline is not
found, configure should carry on with a '--without-readline', rather than
reporting an error.

Moreover, there's no 'gmake' in Mac OS X, and it uses 'make' instead. The
installation guide should mention this as well.

Cheers,
Fahad

--
main(){int j=12345;char t[]=":aAbcdefFgGhijklmnNopqrsStuUvwyz \n",
*i="dUGScUiAbpmwqbmgduAvpmmlzce\nlmGGUbFbzjdb";while(*i){j+=
strchr(t,*i++)-t;j%=sizeof t-1;putchar(t[j]);}return 0;}

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2004-10-13 04:44:19 Re: overloaded functions and NULL
Previous Message Tom Lane 2004-10-12 23:00:16 Re: Substring function incorrect when searching for '@.'