sh not finding a file, even though the full path is given
- From: "Axel Etzold" <AEtzold@xxxxxx>
- Date: Sun, 29 Jun 2008 16:11:41 +0200
Dear all,
I am having a weird problem on kubuntu 8.04. I try to install a software (see link below), which comprises
an sh install script. This script organizes some data files put into the same directory and calls one of two
sh scripts (at the user's choice), whose results are piped into a Perl script.
However, only one of the files is found, even though the whole path is given. How can that be ?
Both files are in the same directory ...
This is ok:
axel@alecrim:~/sprache$ echo 'This is a test.' | cmd/tree-tagger-english
reading parameters ...
tagging ...
This DT this
is VBZ be
a DT a
test NN test
. SENT .
finished.
This is not -- the first operation (tagging) -- is needed for the second:
axel@alecrim:~/sprache$ echo 'This is a test.' | cmd/tagger-chunker-english
file not found: /home/axel/sprache/lib/english-abbreviations
cmd/tagger-chunker-english: 17: /home/axel/sprache/cmd/filter-chunker-output.perl: not found
reading parameters ...
tagging ...
finished.
But these files are there:
axel@alecrim:~/sprache/lib$ ls
dutch-abbreviations french-abbreviations german.par
dutch.par french-chunker.par italian-abbreviations
english-abbreviations french.par italian.par
english-chunker.par german-abbreviations spanish-abbreviations
english-lexicon.txt german-chunker.par spanish-mwls
english.par german-lexicon.txt spanish.par
axel@alecrim:~/sprache/cmd$ ls
chunker-read-lemma.perl mwl-lookup.perl tree-tagger-french
chunker-write-lemma.perl tagger-chunker-english tree-tagger-german
filter-chunker-output-french.perl tagger-chunker-french tree-tagger-italian
filter-chunker-output-german.perl tagger-chunker-german tree-tagger-russian
filter-chunker-output.perl tokenize.pl tree-tagger-spanish
filter-coordinate-output.perl tree-tagger-bulgarian utf8-tokenize.perl
filter-german-tags tree-tagger-dutch
lookup.perl tree-tagger-english
I also set the $PATH variable to include these directories:
axel@alecrim:~/sprache/cmd$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/jruby-1.1.2/bin:/home/axel/sprache/cmd:/home/axel/sprache:/home/axel/sprache/lib
What's going on here ?
Thank you very much,
Best regards,
Axel
--
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- Follow-Ups:
- Re: sh not finding a file, even though the full path is given
- From: Karl Auer
- Re: sh not finding a file, even though the full path is given
- Prev by Date: Re: Accessing Windows Shared Folders
- Next by Date: Re: Grub error on update
- Previous by thread: Sidebar for Fiesty
- Next by thread: Re: sh not finding a file, even though the full path is given
- Index(es):
Relevant Pages
|