|
From: Scott C. <ced...@gm...> - 2007-11-06 19:29:57
|
Hi Eve,
No, I don't think that the carriage returns should matter. My
memory is a little hazy, but I think any sequence of whitespace
characters should be equivalent to a single space.
Try a 'sudo chmod o+x /usr/local/bin/*', then you should be able
to run infomap-build as an unprivileged user. In general the files in
/usr/local/bin are intended to be world-executable, I'm not sure why
they weren't installed that way.
Scott
On 11/6/07, Eve Forster <eve...@ut...> wrote:
> Thank you so much for the prompt reply!
>
> I tried your first suggestion (using ./infomap-build) and it worked, but I
> got a second error that was similar to the first (prepare_corpus: command
> not found) so I updated the PATH to include usr/local/bin instead. That gave
> me a permissions error, so I used sudo infomap-build instead and it worked
> like a charm!
>
> A quick question about corpus formatting: do carriage returns matter? My
> text is from Project Gutenberg which puts break after every 80 characters or
> so. I'm assuming that won't alter the final matrices but I just wanted to
> double-check.
>
> Cheers,
> Eve
>
>
> On 11/5/07, David Hall <dl...@st...> wrote:
> > try
> >
> > ./infomap-build -s .... from that directory.
> >
> > Unix is weird in that it doesn't look for program files in the
> > "current" directory. Alternatively, you can update your PATH to
> > include /usr/local/bin/, but I would need you to tell me your current
> > shell, pasting the output of echo $SH might do it.
> >
> > -- David
> >
> > On Nov 5, 2007 1:38 PM, Eve Forster <eve...@ut...> wrote:
> > > I'm having trouble building models using infomap-build. I've gotten as
> far
> > > as installing everything and it looks like it all worked out, but
> whenever I
> > > try to build a model I get this:
> > >
> > > eve:/usr/local/bin Eve$ infomap-build -s
> /usr/local/share/corpora/wp/wp.txt
> > > wp
> > > -bash: infomap-build: command not found
> > >
> > > The same thing happens no matter where I call the function. When I ls
> > > /usr/local/bin the command is right there, and the whole file appears to
> be
> > > there when I type vi infomap-build. I'm a bit of a novice when it comes
> to
> > > command line installations, so I have no idea what might be going wrong.
> > > Does anyone have an idea how to help me? Thanks for any advice you can
> give!
> > >
> > > Cheers,
> > > Eve
> > >
> > >
> -------------------------------------------------------------------------
> > > This SF.net email is sponsored by: Splunk Inc.
> > > Still grepping through log files to find problems? Stop.
> > > Now Search log events and configuration files using AJAX and a browser.
> > > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > > _______________________________________________
> > > infomap-nlp-users mailing list
> > > inf...@li...
> > >
> https://lists.sourceforge.net/lists/listinfo/infomap-nlp-users
> > >
> > >
> >
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> infomap-nlp-users mailing list
> inf...@li...
> https://lists.sourceforge.net/lists/listinfo/infomap-nlp-users
>
>
|