From: Rob H. <ro...@ro...> - 2003-01-26 22:30:32
|
Hello, There doesn't seem to be a user "apache" on your system, judging from the error output. The errors about "line 124 in install_script" would seem to indicate that either $cfgdir or or $logdir is empty, but the output at the top seems to indicate that these variables are set correctly. Anyway, I suggest : 1) Are you using the ALPHA or a CVS checkout? If it's CVS, do a "cvs update" of the sandweb checkout, I don't know when you checked stuff out before but it couldn't hurt to be up-to-date ( the current state seems of CVS seems good ), that way maybe I can reproduce and fix what you are seeing if it's a bug. 2) try "administrator" as the user, just to see if that helps. If everything works when you change that, we'll know that's the problem. It's not secure, but it worked for me when I tested SandWeb on cygwin before. Thanks, Rob lu fang wrote: > > hi, I tried to install sandweb under cygwin. I followed the > instruction written in install file. I have installed perl( with some > module mentioned in install file) and cvs and apache successfully. And > i got all these (perl, cvs, apache) from cygwin packages. my OS is > win2k. but now i got error message as follow: > > $ make install > Writing > /usr/lib/perl5/site_perl/5.6.1/cygwin-multi/auto/SandWeb/.packlist > Appending installation info to > /usr/lib/perl5/5.6.1/cygwin-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 > tmpldir = /usr/local/lib/sandweb/templates > cachedir = /usr/local/share/sandweb > logdir = /var/log > httpuser = www > Installing sandweb-admin into /usr/local/bin... done. > ------------------------- > Installing sandweb.cgi... > > Specify the location you wish to install the CGI script. > This is commonly in your webservers 'cgi-bin' directory. > Enter the full path [default: /var/www/cgi-bin] : > D:/cygwin/var/www.new/cgi-bin > > ** actually I am not sure whether I should key in this path or not > .Becos I have installed not only the apache package released with > cygwin but also a apache web server under windows2000 whose cgi dir > should be D:/project/programs/apache group/apache/cgi-bin ** > > Installing sandweb.cgi into D:/cygwin/var/www.new/cgi-bin... 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 > > ** I am not sure about the username here. I keyed in 'apache' becos I > install apache. I don't know whether it is correct.how can I check it? ** > > > 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/... chown: > `apache:0': > invalid user > failed! > Creating SandWeb log file : /var/log/sandweb.log > checking for /var... exists. > checking for /var/log... exists. > setting permissions (755) on /var/log/... ok! > setting ownership (0:0) on /var/log/... ok! > Use of uninitialized value in concatenation (.) or string at > ./tools/install_scr > ipt.pl line 124, <PW> line 5. > Use of uninitialized value in concatenation (.) or string at > ./tools/install_scr > ipt.pl line 124, <PW> line 5. > Use of uninitialized value in concatenation (.) or string at > ./tools/install_scr > ipt.pl line 124, <PW> line 5. > Use of uninitialized value in concatenation (.) or string at > ./tools/install_scr > ipt.pl line 124, <PW> line 5. > Use of uninitialized value in concatenation (.) or string at > ./tools/install_scr > ipt.pl line 124, <PW> line 5. > 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! > setting ownership (0:0) on /usr/local/etc/sandweb/... ok! > Updating config file paths in executables... sandweb.cgi, sandweb-admin > Use of uninitialized value in concatenation (.) or string at > ./tools/install_scr > ipt.pl line 124, <PW> line 5. > Use of uninitialized value in concatenation (.) or string at > ./tools/install_scr > ipt.pl line 124, <PW> line 5. > Use of uninitialized value in concatenation (.) or string at > ./tools/install_scr > ipt.pl line 124, <PW> line 5. > Use of uninitialized value in concatenation (.) or string at > ./tools/install_scr > ipt.pl line 124, <PW> line 5. > Use of uninitialized value in concatenation (.) or string at > ./tools/install_scr > ipt.pl line 124, <PW> line 5. > Use of uninitialized value in concatenation (.) or string at > ./tools/install_scr > ipt.pl line 87. > Unable to get UID of > make: *** [custom_install] Error 6 > > I have no idea about how to solve this problem. Can anyone help? > > thanks a lot! > > kaguya > > > > > > _________________________________________________________________ > 免费下载 MSN Explorer: http://explorer.msn.com/lccn > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Sandweb-users mailing list > San...@li... > https://lists.sourceforge.net/lists/listinfo/sandweb-users > |