Hi Ramesh,
I think there are probably two issues here...one is I'm not sure if
everything installed properly, the other is your path settings. Can
you post the output to the following commands
which preprocess.pl
which frequency.pl
which filter.pl
which prepare_sval2.pl
echo $PATH
I suspect that your path might not include the current directory,
which is why setdirs.sh isn't being found. If that is the case, you
have two options with that - one is to set the path in your .cshrc
file to include the current directory ( represented by . ) by adding
the following to ~/.cshrc (after any other references to path that
might be there) :
set path = ( $path . )
Or you can edit setup.pl (in the samples directory) so that the following :
# --------------------------------------
# Setting up directories for experiment
# --------------------------------------
system("setdirs.sh");
is changed to:
# --------------------------------------
# Setting up directories for experiment
# --------------------------------------
system("./setdirs.sh");
Please note that this will not fix the entire makedata.sh script, only
one part of it. The missing *.pl files might be the result of some
glitch in your installation, so we might need to look further at that.
But, one step at a time. :)
Cordially,
Ted
On Wed, Aug 19, 2009 at 2:32 AM, Ramesh
Puripanda<[email protected]> wrote:
> Hi Everyone,
>
>
>
> I am trying to use senseclusters on one of my project and I have installed
> SenseClusters on Linux box and when I am trying to run some sample scripts
> which are provided by the package I am getting the below error. I am very
> new to the Linux environment.
>
>
>
> Command I am executing: csh ./makedata.sh
>
> csh ./sc-toolkit.sh
>
> mv LexSample LexSample-SC
>
>
>
> Error:
>
>
>
> [r...@localhost samples]# csh ./makedata.sh
>
> gunzip: No match.
>
> DATA: eng-lex-sample.evaluation.xml
>
> --training=eng-lex-sample.training.xml
>
> --token=Regexs/token.regex
>
> --nontoken=Regexs/nontoken.regex
>
> --key=Data/eng-lex-sample.key
>
> --showargs=ON
>
> Preprocessing eng-lex-sample.evaluation.xml ...
>
> sh: prepare_sval2.pl: command not found
>
> sh: prepare_sval2.pl: command not found
>
> Can't exec "preprocess.pl": No such file or directory at setup.pl line 440.
>
> mv: cannot stat `*.count': No such file or directory
>
> mv: cannot stat `*.xml': No such file or directory
>
> Can't exec "preprocess.pl": No such file or directory at setup.pl line 475.
>
> mv: cannot stat `*.count': No such file or directory
>
> mv: cannot stat `*.xml': No such file or directory
>
> Preprocessing complete ...
>
> Creating LexSample...
>
> Can't exec "setdirs.sh": No such file or directory at setup.pl line 516.
>
> Created LexSample Directory !!!
>
> We are now ready to start experiments!
>
> Run sc-toolkit.sh, target-wrapper.sh, or word-wrapper.sh
>
> Remember to rename the LexSample file after each experiment
>
> and run makedata.sh again.
>
> frequency.pl: Command not found.
>
> filter.pl: Command not found.
>
> frequency.pl: Command not found.
>
> filter.pl: Command not found.
>
>
>
> Please help me to run the above script.
>
>
>
> Thanks & Regards,
>
> Ramesh.
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> senseclusters-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/senseclusters-users
>
>
--
Ted Pedersen
http://www.d.umn.edu/~tpederse
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
senseclusters-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/senseclusters-users