Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2247 - xscreensaver[-demo] and xml
Summary: xscreensaver[-demo] and xml
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High trivial (vote)
Assignee: Spider (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-29 15:18 UTC by William Johnson
Modified: 2003-02-04 19:42 UTC (History)
0 users

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 William Johnson 2002-04-29 15:18:33 UTC
When I emerge xscreensaver on my system(s) xscreensaver complained about the
lack of XML despite the fact I have libxml and libxml2 installed. I captured the
output of the build and found it couldn't find xmlIO.h:

checking for xml2-config... /usr/bin/xml2-config
checking for XML includes... -I/usr/include/libxml2
checking for XML libs... -L/usr/lib -lxml2 -lz -lm
checking for xmlIO.h... no

xmlIO.h is found in two places on my box:
/usr/include/gnome-xml and /usr/include/libxml2/libxml

I'm not using gnome, but I do have gtk installed, I resolved the problem by
exporting the C_INCLUDE_PATH to include the /usr/include/libxml2/libxml directory.
Comment 1 Toby Oxborrow 2002-05-19 13:11:44 UTC
Yes I see this also, I have both libxml and libxml2 installed yet xscreensaver
fails to find them. I tweaked the .ebuild to add
--with-xml=/usr/include/libxml2/libxml
then added two symlinks in there, lib and include which both pointed to that
same directory.

an ugly method, but it solved the problem. I like yours better :)

I also found a forums article about this showing some other people experiencing it:
http://forums.gentoo.org/viewtopic.php?t=381&highlight=xscreensaver
Comment 2 Spider (RETIRED) gentoo-dev 2002-05-29 18:04:16 UTC
took me a while to find out that a problem lies when C_INCLUDE_PATH isn't /
terminated.... 

commited a working fix now