This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: postgresql-9.2.4-2: ossp-uuid module
- From: Filipp Gunbin <fgunbin at fastmail dot fm>
- To: cygwin at cygwin dot com
- Date: Tue, 17 Jun 2014 14:21:57 +0400
- Subject: Re: postgresql-9.2.4-2: ossp-uuid module
- Authentication-results: sourceware.org; auth=none
- 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>
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