Bug 19284

Summary: configure produces incorrect include path for pixman
Product: cairo Reporter: Pavel Petrovic <ppetrovic>
Component: generalAssignee: Carl Worth <cworth>
Status: RESOLVED WONTFIX QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: medium    
Version: 1.8.5   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Pavel Petrovic 2008-12-25 09:41:33 UTC
I am not sure if this behavior you consider wrong, but I did the following:

- downloaded latest pixman to /usr/local/
- uncompressed, configured, built it there (i.e. /usr/local/pixman-0.13.2)
- then downloaded latest cairo to /usr/local
- uncompressed, configured

but Makefile has an incorrectly built pixman include and library path:

CAIRO_CFLAGS =  -I$(top_builddir)//usr/local/pixman-0.13.2/pixman ...
CAIRO_LIBS =  $(top_builddir)//usr/local/pixman-0.13.2/libpixman-1-so.a  ...

while these probably should have been like this:

CAIRO_CFLAGS =  -I/usr/local/pixman-0.13.2/pixman ...
CAIRO_LIBS =  /usr/local/lib/libpixman-1.a

(same for other src/Makefile)

Have a nice day.
Comment 1 Chris Wilson 2009-02-13 03:25:40 UTC
To use an uninstalled package you need to use a relative path in PKG_CONFIG_PATH.

Closing as WONTFIX simply becuase I can't find any references on how to improve *-uninstalled.pc to accomodate both relative and absolute paths. :-(

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.