Opened 16 years ago
Closed 16 years ago
#132 closed defect (fixed)
./configure doesn't find xinit on all systems
Reported by: | xris | Owned by: | Isaac Richards |
---|---|---|---|
Priority: | major | Milestone: | unknown |
Component: | mythtv | Version: | |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
the configure script from [6879] trunk looks for
/usr/bin/xinit
but at least in fc4, the file is at
/usr/X11R6/bin/xinit
easy fix is probably to change line 1846 from
if test -f /usr/bin/xinit ; then
to
if test -f /usr/bin/xinit -o -f /usr/X11R6/bin/xinit ; then
though it might be smarter to test the output of "which" when scanning for executables that are supposed to be located within $PATH.
Anyway, didn't want to commit this myself lest I be screwing up someone else's ideas on how best to organize this script...
Change History (3)
comment:1 Changed 16 years ago by
comment:2 Changed 16 years ago by
i'm sure you don't want to heard this but...
this assumes that the X11 libraries are installed in /usr/X11R6 which is not correct for gentoo wrt the original bug report, on gentoo xinit is in /usr/bin
i can fix this in my ebuild but the proposed fix is not correct
poking around in the mythtv spec from atrpms, I ran across his fix for X11 checking and am inclined to agree that it's a better option than proposed above: