Opened 16 years ago

Closed 16 years ago

#5224 closed defect (fixed)

Make install error

Reported by: Nigel Owned by: paulh
Priority: minor Milestone: 0.22
Component: mytharchive Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

% pwd
/Volumes/MythBuild/.osx-packager/src/myth-svn/mythplugins/mytharchive/mytharchive

% make install
cp -f "libmytharchive.dylib" "/Volumes/MythBuild/.osx-packager/build/lib/mythtv/plugins/libmytharchive.dylib"
...
cp -f -R /Volumes/MythBuild/.osx-packager/src/myth-svn/mythplugins/mytharchive/mythburn/themes/G.A.N.T. /Volumes/MythBuild/.osx-packager/build/share/mythtv/mytharchive/themes/
cp -f -R /Volumes/MythBuild/.osx-packager/src/myth-svn/mythplugins/mytharchive/mythburn/themes/G.A.N.T. - Animated /Volumes/MythBuild/.osx-packager/build/share/mythtv/mytharchive/themes/
cp: Animated: No such file or directory
cp: -: No such file or directory
make[2]: [install_themefiles] Error 1 (ignored)
}}

Change History (4)

comment:1 Changed 16 years ago by anonymous

I have tried fudging this in qmake, but was un-successsfullll. I think renaming the directories is the only safe fix. (e.g. mv 'G.A.N.T. - Animated' G.A.N.T.-Animated). Would that be OK, Paul?

comment:2 Changed 16 years ago by Nigel

Owner: changed from Nigel to paulh
Status: newassigned

comment:3 in reply to:  1 Changed 16 years ago by paulh

Milestone: unknown0.22
Version: unknownhead

Replying to anonymous:

I have tried fudging this in qmake, but was un-successsfullll. I think renaming the directories is the only safe fix. (e.g. mv 'G.A.N.T. - Animated' G.A.N.T.-Animated). Would that be OK, Paul?

Yep, something like that should be OK. The directory names are used for display purposes so they still need to be readable. I was thinking of just replacing the spaces with underscores and doing a little search and replace before the names are displayed to the user. Anyway it's far too nice weather to be sat in front of a computer here so it will have to wait for the weather to change which since I'm in the UK probably wont be long :-)

comment:4 Changed 16 years ago by paulh

Resolution: fixed
Status: assignedclosed

(In [17345]) Fix MythArchive? not installing all DVD menu themes properly after the switch to Qt4.

The Qt4 version of qmake doesn't like directories names with spaces in them so this changes the themes with spaces in their names to use '_' instead.

NOTES: After doing an svn update you will probably have to manually remove the old empty theme directories from your source directory. They are:- mythplugins/mytharchive/mythburn/themes/G.A.N.T. - Animated mythplugins/mytharchive/mythburn/themes/MythCenter - Animated mythplugins/mytharchive/mythburn/themes/Simple - Autoplay mythplugins/mytharchive/mythburn/themes/MythCenter - Autoplay

Similarly if you already have MythArchive? installed it would be a good idea to remove the DVD menu themes from /usr/local/share/mythtv/mytharchive/themes/ before doing 'make install' otherwise you will end up with some duplicate themes.

Fixes #5224.

Note: See TracTickets for help on using tickets.