[MacPorts] #25346: mapnik: mapnik.has_pycairo is False
MacPorts
noreply at macports.org
Sat Jun 26 09:00:16 PDT 2010
#25346: mapnik: mapnik.has_pycairo is False
-----------------------------------+----------------------------------------
Reporter: software@… | Owner: dbsgeo@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.9.1
Resolution: fixed | Keywords: haspatch
Port: py26-mapnik |
-----------------------------------+----------------------------------------
Old description:
> The portfile of py26-mapnik contains a small bug.
>
> I've installed mapnik with cairo support:
> port install py26-mapnik +cairo
>
> This only partly works:
>
> $ python
> >>> import mapnik
> >>> mapnik.has_cairo()
> True
> >>> mapnik.has_pycairo()
> False
>
> pycairo is Falso, because the headers for cairo were not found while
> installing mapnik:
>
> $ port -v configure + py26-mapnik cairo
> [...]
> Checking for pycairo... no
>
> Attsched is a fix for the Portfile, so that the cairo headers are
> correctly found.
New description:
The portfile of py26-mapnik contains a small bug.
I've installed mapnik with cairo support:
{{{
port install py26-mapnik +cairo
}}}
This only partly works:
{{{
$ python
>>> import mapnik
>>> mapnik.has_cairo()
True
>>> mapnik.has_pycairo()
False
}}}
pycairo is Falso, because the headers for cairo were not found while
installing mapnik:
{{{
$ port -v configure + py26-mapnik cairo
[...]
Checking for pycairo... no
}}}
Attsched is a fix for the Portfile, so that the cairo headers are
correctly found.
--
Comment(by ryandesign@…):
Don't forget to use WikiFormatting, please.
--
Ticket URL: <http://trac.macports.org/ticket/25346#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list