[mythtv-commits] Ticket #7317: sysroot is missing in several locations
MythTV
mythtv at cvs.mythtv.org
Sun Nov 1 15:56:37 UTC 2009
#7317: sysroot is missing in several locations
---------------------------------+------------------------------------------
Reporter: pebender@… | Owner: janne
Type: defect | Status: assigned
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: head
Severity: medium | Mlocked: 0
---------------------------------+------------------------------------------
Comment(by pebender@…):
I do not understand the prepending of ${sysroot} to taglib-config. First,
as there is no / between ${sysroot} and taglib-config, if
sysroot=/home/user/cross-compile, then the result would be /home/user
/cross-compiletagelib-config. Second, it is very unlikely that taglib-
config is located in ${sysroot}. It is much more likely that it is located
in ${sysroot}/usr/bin.
As an aside, I have found that programs using their own *-config script
rather than pkg-config are a pain. However, they can be fixed without
modifying the configure scripts and make files that call them. In order to
make them work, two things must be done when installing the *-config
script. First, the *-config script needs to be patched so that it returns
the correct path including the ${sysroot} directory. Second, the *-config
script needs to be installed in a directory that is in the executable
search path. After doing these two things, configure scripts and make
files that call the *-config script will work as expected.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7317#comment:3>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list