Bug 19284 - configure produces incorrect include path for pixman
Summary: configure produces incorrect include path for pixman
Status: RESOLVED WONTFIX
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 1.8.5
Hardware: All All
: medium normal
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-25 09:41 UTC by Pavel Petrovic
Modified: 2009-02-13 03:25 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.