[MacPorts] #14203: apr fails to build if ossp-uuid is activated
(dependency of postgresql83)
MacPorts
trac at macosforge.org
Mon Mar 31 19:32:32 PDT 2008
#14203: apr fails to build if ossp-uuid is activated (dependency of postgresql83)
-------------------------------+--------------------------------------------
Reporter: nox at macports.org | Owner: dluke at macports.org
Type: defect | Status: assigned
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Resolution: | Keywords:
-------------------------------+--------------------------------------------
Comment (by bulk at modp.com):
Oh you are going to like this!
Summary: [tested only on OSX10.5]
ossp_uuid:
add "--includedir=${prefix}/include/ossp" to configure.args
(and bump the revision)
postgres83:
nothing!
LONG ANSWER:
You don't need to change postgresql83 at all, and infact it appears
putting it in ossp-uuid/uuid.h is not quite right.
I applied the patches... ossp-uuid built fine and moved the header file.
But postgresql83's configure got angry and exited since it couldn't find
<uuid.h> or <ossp/uuid.h> inspite of having the include changed (maybe I
did it wrong).
So I changed ossp-uuid to
{{{
configure.args --mandir=${prefix}/share/man --without-perl \
--includedir=${prefix}/include/ossp
}}}
reinstalled ossp-uuid and then postgresql83 compiled. It did make some
ugly warnings about uuid being 'present but not usable' but then the next
check found ossp/uuid.h and everything was ok.
Even better it seems to work too:
{{{
# select uuid_generate_v1();
uuid_generate_v1
--------------------------------------
38272eca-ff92-11dc-b100-d7c00d1e1739
(1 row)
}}}
ta-da
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14203#comment:11>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list