Guest Guest_njw_* Posted February 8, 2007 Share Posted February 8, 2007 Hi again, I'm working on making a gentoo ebuild of this; as with the liflg games I know it's a little early to be doing such things, but I thought it'd be interesting, so here it is. I should note that I'm not particularly knowledgable about automake/autoconf. There are a couple of lines right at the end of the current Makefile.in which are causing problems to gentoo when I try to install that way, notably 656-657: mkdir -p $(bindir)/Cache 2>/dev/null rm -rf $(bindir)/Cache/* Gentoo dislikes this ardently, complaining of an "Access Violation" in performing the mkdir -p /usr/bin/Cache My question is: what's the use of these lines? As I say I'm not very familiar with automake except from the user's end, but I don't see how they make sense... As with all of my posts, forgive my ignorance... Link to comment
njw Posted February 9, 2007 Share Posted February 9, 2007 Thought I'd better add: 1st, that was me, I forgot to sign in.. Secondly, I could probably work around what seems to be gentoo's pedanticity, I just don't see why the make process is scripted so (as it appears to me) oddly. Link to comment
Avenger Posted February 9, 2007 Share Posted February 9, 2007 Do you have access rights to that directory when installing? If you want to install there you most likely have to have root access. It is advised to install to ~/GemRB (especially in the development phase) Those two lines make sure that a Cache directory exists, but empty. Link to comment
Guest wjp Posted February 9, 2007 Share Posted February 9, 2007 mkdir -p $(bindir)/Cache 2>/dev/null rm -rf $(bindir)/Cache/* Change these lines (and the one above it) to rm -f $(DESTDIR)$(bindir)/plugins/libgemrb_core.so mkdir -p $(DESTDIR)$(bindir)/Cache 2>/dev/null rm -rf $(DESTDIR)$(bindir)/Cache/* I'll commit this to CVS as well. Link to comment
njw Posted February 12, 2007 Share Posted February 12, 2007 Change these lines (and the one above it) to rm -f $(DESTDIR)$(bindir)/plugins/libgemrb_core.so mkdir -p $(DESTDIR)$(bindir)/Cache 2>/dev/null rm -rf $(DESTDIR)$(bindir)/Cache/* That did the trick, thank you Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.