delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/06/17/06:22:06

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:references:date:in-reply-to
:message-id:mime-version:content-type; q=dns; s=default; b=j2vJW
rlEHL7iaDtwKKK7MD8mEnMxvOWN1VP63u9b7rTq9GZJp85o85CgV41scSWTLna29
/vk5n6z/sFDoUr2jJcVYLly50+W8T6yRMIwtcKke2VyzvUSjrT+5wuHO4wHyFUR0
gclKV4ZdbndLb3ufeyLWyRObYjKHnH/iYh73eU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:references:date:in-reply-to
:message-id:mime-version:content-type; s=default; bh=J1/GKXiXAk/
Ou6LQDsc9UNOTLmc=; b=a5fqr6QIdcfqwTmAWmnqiTEBumJNIkUk2nMMlxo+zyA
RtwT+6j2h8Bo0TfZxCZr+KE/Z4RTCCJahzrmBKgHrVc3KqyyrPUsNdRR2tao+OVH
I2EjU22E76FnZJa4C2+ZaWSPeueyIaB81HUYfaaVqCPZKWt1T7I0OsRwY7pg9Bvw
=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-6.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: out2-smtp.messagingengine.com
From: Filipp Gunbin <fgunbin AT fastmail DOT fm>
To: cygwin AT cygwin DOT com
Subject: Re: postgresql-9.2.4-2: ossp-uuid module
References: <86txjh7bx5 DOT fsf AT w2139spb DOT ru DOT yotateam DOT com> <51F28F9A DOT 9030606 AT gmail DOT com> <86zjt85urm DOT fsf AT w2139spb DOT ru DOT yotateam DOT com> <51F37D50 DOT 1040006 AT gmail DOT com> <86k38g3hwn DOT fsf AT w2139spb DOT ru DOT yotateam DOT com> <539F5275 DOT 3060905 AT gmail DOT com>
Date: Tue, 17 Jun 2014 14:21:57 +0400
In-Reply-To: <539F5275.3060905@gmail.com> (Marco Atzeri's message of "Mon, 16 Jun 2014 22:24:21 +0200")
Message-ID: <86fvj33kfu.fsf@w2139spb.ru.yotateam.com>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (cygwin)
MIME-Version: 1.0
X-IsSubscribed: yes

On 16/06/2014 22:24 +0200, Marco Atzeri wrote:

> On 16/06/2014 19:04, Filipp Gunbin wrote:
>> On 27/07/2013 09:57 +0200, marco atzeri wrote:
>>
>> Currently postgres with ossp-uuid module (--with-ossp-uuid added to
>> CYGCONF_ARGS) builds with OSSP uuid library
>> (http://www.ossp.org/pkg/lib/uuid/), but not with libuuid which is
>> included in util-linux.  I do not have enough skills to identify
>> problem, but it seems that function "uuid_export" is missing there.
>> Maybe the OSSP uuid library needs to be added as a separate package in
>> Cygwin?  It builds from original source with no patches.
>
>
> It seems that uuid-ossp and util-linux uuid are two complete
> not compatible libraries.

Yes.

> Anyway, until someone add the uuid-ossp package on cygwin,
> I will not add such dependency on postgres

I tried to prepare a package for uuid-ossp, but the result files produce
naming conflicts with libuuid and I don't know how to resolve them.  If
someone helps me, I'm willing to continue.

If someone just needs the uuid-ossp postgresql extension, here's the
ugly solution:

1. make && make install uuid-ossp library (it will install into
/usr/local)

2. add --with-ossp-uuid to CYGCONF_ARGS and build Cygwin postgresql

3. just copy uuid-related files from inst subdirectory to the postgres
directory

4. CREATE EXTENSION "uuid-ossp" now should work


Thanks Marco.

Filipp

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019