If you are planning to setup the SenseClusters' web-interface please
follow the instructions given below along with the instructions given in README.Web.pod
The "Web/SC-cgi" directory contains a file callwrap.pl which has to be modified.
The instructions for changing the file are given below.
# START OF TODO SECTION ----------------------------------------------------------------
# A cgi script runs as a user "nobody" who has minimal rights and permissions
# for security reasons. So this perl script is also running as "nobody"'s process
# thus of course your PATH and PERL5LIB or any other environment variables are no
# accessible to this process. Thus to you have to replicate your PATH and PERL5LIB
# variables for this user nobody.
# Make sure that you have added complete paths of all the following applications or
# packages to the PATH variable:
# 1. SenseClusters (bin and Testing both)
# 2. SenseTools
# 3. NSP
# 4. SVDPACKC
# 5. CLUTO
# 6. path to shell commands (eg: /bin, /usr/local/bin, /usr/bin)
# For PERL5LIB add the paths of all the following modules: # 1. SPARSE # 2. BIT::VECTOR # 3. SET::SCALAR # 4. Algorithm::Munkres
# For example after adding all the paths the variables should look somewhat similar to these:
#$ENV{'PATH'}="/bin:/usr/local/bin:/usr/bin:/home/cs/kulka020/tools/SVDPACKC_Linux:/home/cs/kulka020/tools/NSP/bin:/home/cs/\
kulka020/tools/NSP/lib/perl5/site_perl/5.8.5:/home/cs/kulka020/tools/SenseTools-0.3:/home/cs/kulka020/tools/SC/bin:/home/cs/\
kulka020/tools/SC/Testing:/home/cs/kulka020/tools/CLUTO/Linux";#$ENV{'PERL5LIB'}="/home/cs/kulka020/tools/SPARSE/lib/perl5/site_perl/5.8.5:/home/cs/kulka020/tools/BITVECTOR/lib/perl5/site\
_perl/5.8.5/x86_64-linux:/home/cs/kulka020/tools/BITVECTOR/lib/perl5/site_perl/5.8.5:/home/cs/kulka020/tools/SETSCALAR/lib/p\
erl5/site_perl/5.8.5:/home/cs/kulka020/tools/MUNKRES/lib/perl5/site_perl/5.8.5:/home/cs/kulka020/tools/lib/perl5/site_perl/5\
.8.5:/usr/local/lib/perl5/5.8.5/x86_64-linux:/usr/local/lib/perl5/5.8.5:/usr/local/lib/perl5/site_perl/5.8.5/x86_64-linux:/u\
sr/local/lib/perl5/site_perl/5.8.5:/usr/local/lib/perl5/site_perl";# Replace the values currently set for the following environment variables in the callwrap.pl with those that are relevant for your setup.
$ENV{'PATH'} = "";
$ENV{'PERL5LIB'} = "";# END OF TODO SECTION -------------------------------------------------------------------
Also make sure that you are making all the above changes to the file which you have copied to the cgi-bin/SC-cgi directory of your web-server.
Thanks, Anagha
------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ senseclusters-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/senseclusters-users
