Opened 18 years ago
Closed 18 years ago
#1735 closed defect (worksforme)
Makefile for myththemes ignores prefix
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | minor | Milestone: | 0.20 |
Component: | mythtv | Version: | 0.19 |
Severity: | medium | Keywords: | makefile, myththemes, /share |
Cc: | Ticket locked: | no |
Description
The makefile for myththemes seems to disregard the --prefix parameter that was passed to its configure script. Here's the output of "make install" after the prefix was set to "/usr" (I'm on Gentoo; /usr/local isn't really used for anything):
sh ./cpsvndir "Iulius" "/share/mythtv/themes/" sh ./cpsvndir "Iulius-OSD" "/share/mythtv/themes/" sh ./cpsvndir "Minimalist-wide" "/share/mythtv/themes/" sh ./cpsvndir "Titivillus" "/share/mythtv/themes/" sh ./cpsvndir "Titivillus-OSD" "/share/mythtv/themes/" sh ./cpsvndir "isthmus" "/share/mythtv/themes/" sh ./cpsvndir "MythCenter" "/share/mythtv/themes/"
It's trying to copy into the /share folder instead of /usr/share. I believe a variable isn't being set properly, because the makefile does refer to that command as:
-$(INSTALL_DIR) "<name of theme>" "$(INSTALL_ROOT)/share/mythtv/themes/"
$INSTALL_ROOT isn't set anywhere in the Makefile.
Change History (2)
comment:1 Changed 18 years ago by
comment:2 Changed 18 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
The only way I can see this happening is if:
- mythtv wasn't installed to the given prefix, so that $prefix/include/mythtv/mythconfig.mak isn't there.
myththemes' install script grabs the prefix value from that file.
Note: See
TracTickets for help on using
tickets.
BTW I've noticed this for both the 19.1 branch and the latest head branch in SVN.