[mythtv-commits] Ticket #9442: configure libxml2 with pkg-config
MythTV
noreply at mythtv.org
Tue Jan 4 21:14:41 UTC 2011
#9442: configure libxml2 with pkg-config
-------------------------------------------------+-------------------------
Reporter: Lawrence Rust <lvr@…> | Owner: robertm
Type: Bug Report | Status:
Priority: minor | assigned
Component: MythTV - configure script | Milestone: unknown
Severity: medium | Version: Trunk
Keywords: libxml2 windows configure | Head
| Resolution:
| Ticket locked: 0
-------------------------------------------------+-------------------------
Comment (by Lawrence Rust <lvr@…>):
Just found a minor problem. The output of pkg-config has a trailing space
which is passed onto gcc as an include path and so gcc fails to find the
xml headers. Need to massage the output to remove the trailing space:
+ libxml2_path=`pkg-config --cflags-only-I libxml-2.0|sed -n
"s/-I\([^ ]*\) *$/\1/p"`
--
Ticket URL: <http://code.mythtv.org/trac/ticket/9442#comment:5>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list