From: Bryce H. <br...@os...> - 2003-04-25 18:59:30
|
On Fri, 25 Apr 2003, Nick Jennings wrote: > On Fri, Apr 25, 2003 at 11:36:48AM -0700, Bryce Harrington wrote: > > On Fri, 25 Apr 2003, Nick Jennings wrote: > > > Woah, Bryce, that seems like an awful lot of work to get SandWeb > > > working. I'm thinking there may be some underlying problem here. > > > > Those were my two thoughts as well. > > > > > Did you go read the INSTALL and README files and follow the install > > > procedure outlined? (i.e. perl Makefile.PL, make, (as root)make install) > > > > Of course. ;-) > > > > What version of perl have you tested on? I'm running 5.8.0. > > I just checked in some changes to CVS yesterday which fix some problems > when using Perl 5.8 (SandWeb has been mainly developed using Perl 5.6). > > Can you do a CVS checkout of the HEAD, and send us the output of a: > > $ perl Makefile.PL > $ make > # make install Sure thing, here we go: Script started on Fri Apr 25 11:54:00 2003 {bryce@sherborne} ~/src (1): cd sandweb {bryce@sherborne} ~/src/sandweb (2): perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for SandWeb {bryce@sherborne} ~/src/sandweb (3): make cp lib/SandWeb/Auth/FlatFile.pm blib/lib/SandWeb/Auth/FlatFile.pm cp lib/SandWeb/Repository/cvs.pm blib/lib/SandWeb/Repository/cvs.pm cp lib/SandWeb/Repository.pm blib/lib/SandWeb/Repository.pm cp lib/SandWeb/Config.pm blib/lib/SandWeb/Config.pm cp lib/SandWeb/File/Unix.pm blib/lib/SandWeb/File/Unix.pm cp lib/SandWeb/Security.pm blib/lib/SandWeb/Security.pm cp lib/SandWeb.pm blib/lib/SandWeb.pm cp lib/SandWeb/Shell.pm blib/lib/SandWeb/Shell.pm cp lib/SandWeb/Auth.pm blib/lib/SandWeb/Auth.pm cp lib/SandWeb/UI.pm blib/lib/SandWeb/UI.pm cp lib/SandWeb/Log.pm blib/lib/SandWeb/Log.pm cp lib/SandWeb/Browse.pm blib/lib/SandWeb/Browse.pm cp lib/SandWeb/Diff.pm blib/lib/SandWeb/Diff.pm cp lib/SandWeb/File.pm blib/lib/SandWeb/File.pm cp bin/sandweb-admin blib/script/sandweb-admin /usr/bin/perl5.8.0 "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/sandweb-admin Manifying blib/man1/sandweb-admin.1 {bryce@sherborne} ~/src/sandweb (4): su Password: [root@sherborne sandweb]# make install Installing /usr/lib/perl5/site_perl/5.8.0/SandWeb.pm Installing /usr/lib/perl5/site_perl/5.8.0/SandWeb/Config.pm Installing /usr/lib/perl5/site_perl/5.8.0/SandWeb/Shell.pm Installing /usr/lib/perl5/site_perl/5.8.0/SandWeb/Browse.pm Installing /usr/lib/perl5/site_perl/5.8.0/SandWeb/Repository/cvs.pm Writing /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/SandWeb/.packlist Appending installation info to /usr/lib/perl5/5.8.0/i386-linux-thread-multi/perllocal.pod ./tools/install_script.pl /usr loading install config... bindir = /usr/local/bin cfgdir = /usr/local/etc/sandweb cgidir = /var/www/cgi-bin imgdir = /var/www/images tmpldir = /usr/local/lib/sandweb/templates cachedir = /usr/local/share/sandweb logdir = /var/log httpuser = www expectbin = /usr/bin/expect cvs_bin = /usr/bin/cvs ssh_bin = /usr/bin/ssh Installing sandweb-admin into /usr/local/bin... done. Installing sandweb-expect into /usr/local/bin... done. Installing sandweb-editor into /usr/local/bin... done. Installing sandweb-ssh into /usr/local/bin... done. Installing sandweb.cgi into /var/www/cgi-bin... done. Installing images into /var/www/images... done. checking for /usr... exists. checking for /usr/local... exists. checking for /usr/local/lib... exists. checking for /usr/local/lib/sandweb... exists. checking for /usr/local/lib/sandweb/templates... exists. setting permissions (755) on /usr/local/lib/sandweb/templates/... ok! Installing SandWeb templates into /usr/local/lib/sandweb/templates... done. ----------------------------- Discovering Webserver user... The user 'www' does not seem to exist, the webserver must have read/write access to the '/usr/local/share/sandweb' directory. Please enter the username the webserver runs as (some common users are: httpd, apache, www-data, nobody ). [default: www]: apache Creating SandWeb cache dir '/usr/local/share/sandweb'... checking for /usr... exists. checking for /usr/local... exists. checking for /usr/local/share... exists. checking for /usr/local/share/sandweb... exists. setting permissions (755) on /usr/local/share/sandweb/... ok! setting ownership (apache:0) on /usr/local/share/sandweb/... ok! Creating SandWeb cache/data dir '/usr/local/share/sandweb/data'... checking for /usr... exists. checking for /usr/local... exists. checking for /usr/local/share... exists. checking for /usr/local/share/sandweb... exists. checking for /usr/local/share/sandweb/data... exists. setting permissions (750) on /usr/local/share/sandweb/data/... ok! setting ownership (apache:0) on /usr/local/share/sandweb/data/... ok! Creating SandWeb cache/users dir '/usr/local/share/sandweb/users'... checking for /usr... exists. checking for /usr/local... exists. checking for /usr/local/share... exists. checking for /usr/local/share/sandweb... exists. checking for /usr/local/share/sandweb/users... exists. setting permissions (750) on /usr/local/share/sandweb/users/... ok! setting ownership (apache:0) on /usr/local/share/sandweb/users/... ok! Creating SandWeb log file : /var/log/sandweb.log checking for /var... exists. checking for /var/log... exists. setting permissions (755) on /var/log/... ok! Installing SandWeb config file in /usr/local/etc/sandweb checking for /usr... exists. checking for /usr/local... exists. checking for /usr/local/etc... exists. checking for /usr/local/etc/sandweb... exists. setting permissions (755) on /usr/local/etc/sandweb/... ok! Updating config file paths in executables... sandweb.cgi, sandweb-admin, sandweb-expect. Saving configuration... ---------------------- Installation complete! ---------------------- [root@sherborne sandweb]# exit {bryce@sherborne} ~/src/sandweb (5): ls bin CVS sandweb-admin sandweb.cgi sandweb-editor sandweb-expect sandweb-ssh {bryce@sherborne} ~/src/sandweb (6): sandweb-admin --add-user bryce Enter password for bryce: Unable to open /usr/local/share/sandweb/data/passwd : Permission denied {bryce@sherborne} ~/src/sandweb (7): su Password: [root@sherborne sandweb]# sandweb-admin --add-user bryce unable to open config file: ../etc/sandweb.cfg return data: <pre>$VAR1 = { 'errlev' => 0, 'data' => {} }; </pre>[root@sherborne sandweb]#>[root@sherborne sandweb]# exit {bryce@sherborne} ~/src/sandweb (8): Script done on Fri Apr 25 11:56:43 2003 Bryce |