From: Chris N. <pu...@po...> - 2001-02-23 13:56:18
|
At 21:40 -0800 2001.02.22, Mike Gholson wrote: >I didn't do anything with my Perl installation. I've been using the >perl package that comes with the Redhat install. Here's the answer >to my inquiry about the locate of DB.pm > >/usr/local/lib/perl5/5.6.0/DB.pm >/home/slash/lib/perl5/site_perl/5.005/i386-linux/Slash/DB.pm >/root/slash-1.1.4-bender/Slash/DB/DB.pm >/root/slash-1.1.4-bender/Slash/blib/lib/Slash/DB.pm > >I ran the make routines as suggested in the help file using the >INIT and PREFIX lines: > >make INIT=/etc/rc.d PREFIX=/home/slash >make install INIT=/etc/rc.d PREFIX=/home/slash > >Any clue? Yes. I think what happened is that we didn't think through this well enough. Part of it may be that one or all of us are not very clued on Makefiles. At least, I know I am not. To the point: we use PREFIX to say where to install the slash directory, normally set to /usr/local/slash/. Perl uses PREFIX to say where to install the modules. Apparently, the PREFIX gets passed down to the Perl Makefiles (duh, I suppose). Solution: I think we should use something other than PREFIX for /usr/local/slash. I can fix this, I think. Although I am not sure if this will fix the problem, exactly. I am concerned that perhaps not all the scripts will work properly with PREFIX of other than /usr/local/slash. So here is my idea: please go back to your slash installation directory. Do "cd Slash". Then do "perl Makefile.PL". Then do "make", and "make install". This should install the modules in the correct place. Then please test everything out (what you can; especially stuff like install-slashsite, slashd, portald, etc.) and report back; if it works for you, then the fix is just to change PREFIX to something else. I am sorry for asking to put this burden on you, but I do not have time in the next few days to set up and test a new install; if you don't get a chance, that's OK; I can try sometime next week. Thanks, -- Chris Nandor pu...@po... http://pudge.net/ Open Source Development Network pu...@os... http://osdn.com/ |