I'm lying. i actually have 2.6.30p0, and postgresql config is checking for greater than 2.6.23 ???

am upgrading to 2.6.32p1 to see if this makes any difference.

Ben

On Jul 30, 2008, at 1:26 PM, Ben Calvert wrote:

postgresql-server requires textproc/libxml to get xml2.

this is listed as an L-dep, but when i build it without having libxml installed, i get the following from config:

(4.4-current as of this morning, amd64 )

<[EMAIL PROTECTED]:2411>$ sudo make clean repackage clean
===>  Cleaning for postgresql-client-8.3.3
===>  Cleaning for postgresql-client-8.3.3
rm -f /usr/ports/packages/amd64/all/postgresql-docs-8.3.3.tgz /usr/ ports/packages/no-arch/postgresql-docs-8.3.3.tgz /usr/ports/packages/ amd64/ftp/postgresql-docs-8.3.3.tgz /usr/ports/packages/amd64/cdrom/ postgresql-docs-8.3.3.tgz /usr/ports/packages/amd64/all/postgresql- client-8.3.3.tgz /usr/ports/packages/amd64/ftp/postgresql- client-8.3.3.tgz /usr/ports/packages/amd64/cdrom/postgresql- client-8.3.3.tgz /usr/ports/packages/amd64/all/postgresql- server-8.3.3.tgz /usr/ports/packages/amd64/ftp/postgresql- server-8.3.3.tgz /usr/ports/packages/amd64/cdrom/postgresql- server-8.3.3.tgz /usr/ports/packages/amd64/all/postgresql- contrib-8.3.3.tgz /usr/ports/packages/amd64/ftp/postgresql- contrib-8.3.3.tgz /usr/ports/packages/amd64/cdrom/postgresql- contrib-8.3.3.tgz
===>  Checking files for postgresql-8.3.3
>> postgresql-8.3.3.tar.gz doesn't seem to exist on this system.
>> Fetch ftp://ftp2.uk.postgresql.org/sites/ftp.postgresql.org/source/v8.3.3/postgresql-8.3.3.tar.gz . 100% |*********************************************************| 17090 KB 06:59
>> Size matches for /usr/ports/distfiles/postgresql-8.3.3.tar.gz
>> (SHA256) postgresql-8.3.3.tar.gz: OK
===>  postgresql-client-8.3.3 depends on: gmake-* - found
===>  postgresql-client-8.3.3 depends on: libxml-* - found
===>  postgresql-client-8.3.3 depends on: uuid-* - found
===> Verifying specs: xml2 xml2 xml2 uuid c com_err crypto m readline ssl termcap z c com_err crypto m readline ssl termcap z c com_err crypto m readline ssl termcap z perl util c com_err crypto m readline ssl termcap z ===> found xml2.9.7 uuid.13.22 c.48.0 com_err.16.0 crypto.14.0 m. 3.0 readline.3.0 ssl.11.0 termcap.10.0 z.4.1 perl.10.1 util.11.0
===>  Extracting for postgresql-8.3.3
===>  Patching for postgresql-8.3.3
===>  Configuring for postgresql-8.3.3
configure: loading site script /usr/ports/infrastructure/db/ config.site
checking build system type... x86_64-unknown-openbsd4.4
checking host system type... x86_64-unknown-openbsd4.4
checking which template to use... openbsd
checking whether to build with 64-bit integer date/time support... yes
checking whether NLS is wanted... no
checking for default port number... 5432
checking for C compiler default output file name... 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... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ANSI C... none needed
checking if cc supports -Wdeclaration-after-statement... no
checking if cc supports -Wendif-labels... yes
checking if cc supports -fno-strict-aliasing... yes
checking if cc supports -fwrapv... no
configure: using CFLAGS=-O2 -pipe -Wall -Wmissing-prototypes - Wpointer-arith -Winline -Wendif-labels -fno-strict-aliasing
checking whether the C compiler still works... yes
checking how to run the C preprocessor... cc -E
checking allow thread-safe client libraries... no
checking whether to build with Tcl... no
checking whether to build Perl modules... yes
checking whether to build Python modules... no
checking whether to build with GSSAPI support... no
checking whether to build with Kerberos 5 support... yes
checking whether to build with PAM support... no
checking whether to build with LDAP support... no
checking whether to build with Bonjour support... no
checking whether to build with OpenSSL support... yes
checking for xml2-config... xml2-config
checking for egrep... (cached) grep -E
configure: using CPPFLAGS= -I/usr/local/include/libxml2 -I/usr/local/ include -I/usr/local/include -I/usr/include/kerberosV configure: using LDFLAGS= -L/usr/local/lib -L/usr/local/lib -L/usr/ local/lib
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking whether it is possible to strip libraries... yes
checking for tar... /bin/tar
checking whether ln -s works... yes
checking for gawk... (cached) nawk
configure: using
configure: WARNING:
*** The installed version of Bison is too old to use with PostgreSQL.
*** Bison version 1.875 or later is required.
configure: WARNING:
*** Without Bison you will not be able to build PostgreSQL from CVS nor *** change any of the parser definition files. You can obtain Bison from
*** a GNU mirror site.  (If you are using the official distribution of
*** PostgreSQL then you do not need to worry about this, because the Bison *** output is pre-generated.) To use a different yacc program (possible, *** but not recommended), set the environment variable YACC before running
*** 'configure'.
checking for flex... /usr/bin/flex
configure: using /usr/bin/flex version 2.5.4
checking for perl... /usr/bin/perl
checking for Perl archlibexp... /usr/libdata/perl5/amd64-openbsd/5.8.8
checking for Perl privlibexp... /usr/libdata/perl5
checking for Perl useshrplib... true
checking for flags to link embedded Perl... -Wl,-E /usr/libdata/ perl5/amd64-openbsd/5.8.8/auto/DynaLoader/DynaLoader.a -L/usr/ libdata/perl5/amd64-openbsd/5.8.8/CORE -lperl -lm -lutil -lc
checking for main in -lm... (cached) yes
checking for library containing setproctitle... none required
checking for library containing dlopen... none required
checking for library containing socket... none required
checking for library containing shl_load... no
checking for library containing getopt_long... none required
checking for library containing crypt... none required
checking for library containing fdatasync... no
checking for library containing shmget... none required
checking for -lreadline... yes (-lreadline -ltermcap)
checking for inflate in -lz... yes
checking for library containing com_err... -lcom_err -lssl -lcrypto
checking for library containing krb5_sendauth... none required
checking for CRYPTO_new_ex_data in -lcrypto... yes
checking for SSL_library_init in -lssl... yes
checking for xmlSaveToBuffer in -lxml2... no
configure: error: library 'xml2' (version >= 2.6.23) is required for XML support
*** Error code 1

Stop in /usr/ports/databases/postgresql (line 2139 of /usr/ports/ infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/databases/postgresql (line 1422 of /usr/ports/ infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/databases/postgresql (line 1962 of /usr/ports/ infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/databases/postgresql (line 2969 of /usr/ports/ infrastructure/mk/bsd.port.mk).


Reply via email to