Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46251 - libcroco 0.5.0 : headers installed in wrong directory
Summary: libcroco 0.5.0 : headers installed in wrong directory
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://www.freespiders.org/projects/l...
Whiteboard:
Keywords:
Depends on:
Blocks: 30800
  Show dependency tree
 
Reported: 2004-03-30 08:44 UTC by Stephane Loeuillet
Modified: 2004-03-30 11:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephane Loeuillet 2004-03-30 08:44:28 UTC
today, i tried to compile screem 0.10.0 (not in portage yet) and it wasn't able to find libcroco.h even if it found libcroco present at configure time

so, i took a look and found libcroco.h there : 
/usr/include/libcroco/libcroco/libcroco.h (one libcroco/ too much i'd say)

libcroco.pc file says :
includedir=${prefix}/include

so, headers are at the wrong place !!


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Stephane Loeuillet 2004-03-30 10:41:09 UTC
guilty file seems to be : src/Makefile.am :

crocoincdir=$(includedir)/libcroco/@PACKAGE@

which should be :

crocoincdir=$(includedir)/@PACKAGE@

which is equal to

crocoincdir=$(includedir)/libcroco

this file is to be fixed upstream

the patch to file to make it work on gentoo is src/Makefile.in (same line, same change)
Makefile.in,104 : crocoincdir = $(includedir)/libcroco/@PACKAGE@
Comment 2 Stephane Loeuillet 2004-03-30 10:48:57 UTC
opened bug upstream as it is not gentoo specific :
http://bugzilla.gnome.org/show_bug.cgi?id=138542
Comment 3 Stephane Loeuillet 2004-03-30 11:36:58 UTC
it is not libcroco's fault (this header directory thing is volontary)
i read the wrong line of the .pc file, Cflags is ok

i spoke to one of the authors, their headers changed between 0.4.0 and 0.5.0

so, as written there :

screem 0.10.0 should

require libcroco 0.4.0 and #include <libcroco.h>
or
require libcroco 0.5.0 and #include <libcroco/libcroco.h>