databases/postgresql90-contrib fails to build

Rainer Hurling rhurlin at gwdg.de
Mon Oct 24 12:24:13 UTC 2011


Am 24.10.2011 14:05 (UTC+1) schrieb Sergio de Almeida Lenzi:
> Em Dom, 2011-10-23 às 11:35 +0200, Rainer Hurling escreveu:
>> When I try to build databases/postgresql90-contrib, it stops with not
>> finding the right uuid lib:
>>
>> #cd /usr/ports/databases/databases/postgresql90-contrib
>> # make
>> ===>   Vulnerability check disabled, database not found
>> ===>   License check disabled, port has not defined LICENSE
>> ===>   Extracting for postgresql-contrib-9.0.5
>> =>  SHA256 Checksum OK for postgresql/postgresql-9.0.5.tar.bz2.
>> ===>   Patching for postgresql-contrib-9.0.5
>> ===>   Applying FreeBSD patches for postgresql-contrib-9.0.5
>> ===>    postgresql-contrib-9.0.5 depends on executable: gmake - found
>> ===>    postgresql-contrib-9.0.5 depends on executable: bison - found
>> ===>    postgresql-contrib-9.0.5 depends on shared library: xslt.2 - found
>> ===>    postgresql-contrib-9.0.5 depends on shared library: xml2.5 - found
>> ===>    postgresql-contrib-9.0.5 depends on shared library: pq.5 - found
>> ===>   Configuring for postgresql-contrib-9.0.5
>> checking build system type... amd64-portbld-freebsd9.0
>> [..SNIP..]
>> checking for -lreadline... yes (-lreadline)
>> checking for inflate in -lz... yes
>> checking for CRYPTO_new_ex_data in -lcrypto... yes
>> checking for SSL_library_init in -lssl... yes
>> checking for xmlSaveToBuffer in -lxml2... yes
>> checking for xsltCleanupGlobals in -lxslt... yes
>> checking for uuid_export in -lossp-uuid... no
>> checking for uuid_export in -luuid... no
>> configure: error: library 'ossp-uuid' or 'uuid' is required for OSSP-UUID
>> ===>   Script"configure"  failed unexpectedly.
>> Please report the problem togirgen at FreeBSD.org  <mailto:girgen at FreeBSD.org>  [maintainer] and attach the
>> "/usr/ports/databases/postgresql90-contrib/work/postgresql-9.0.5/config.log"
>> including the output of the failure of your make command. Also, it might be
>> a good idea to provide an overview of all packages installed on your system
>> (e.g. an `ls /var/db/pkg`).
>> *** Error code 1
>>
>>
>> Obviously the port would like to have misc/ossp-uuid installed. But this
>> conflicts with misc/e2fsprogs-libuuid, which was installed by KDE4.
>>
>> An old PRhttp://www.freebsd.org/cgi/query-pr.cgi?pr=ports/121745  shows
>> some more complexity with this issue. There Jørgen Kjærsgaard told about
>> a possible solution, but the PR was reopened in December 2009.
>>
>> Is there anybody working on this or is there a workaround?
>>
>> Thanks in advance,
>> Rainer Hurling
>>
>
> for me i disabled GSSAPI on postgresql-server port and rebuild the
> server and client...

Hmm, I am afraid GSSAPI option is disabled on my postgresql90-server 
port :-(

For me as a workaround it help to comment out line 17 and the option 
'--with-ossp-uuid' in line 29 of the contrib Makefile.

Thanks for answering and for your advice,
Rainer Hurling


More information about the freebsd-ports mailing list