[CWB] CWB Windows 7 (64bit) used with cygwin

Hannah Kermes h.kermes at mx.uni-saarland.de
Wed Jul 21 18:49:47 CEST 2010



Hi Andrew,

with regard to the PATH problem I tried different things.
I wanted to be able to run cqp no matter in which directory I was.
So I tried:
absolut path of the corpus directory in the respective registry file of the corpus.
The file was in a non-standard registry.
Then I started cqp with the -r option and the path to the respective registry directory.
->  the corpus was not found
I put the registry file in the standard registry.
Started cqp
->  corpus was not found
The only way to make cqp find the corpus was
to have a local path in the registry file
start cqp with the -r option and the path to the registry directory

with regard to the -e option:
I do not have command-line editing in the windows shell either.

But beside of that it works quite well: I can even use macros
and the cygwin command with pipes for the export.
Funny enough the macro-files do not have to be stored locally and can be read in automatically
via the .cqprc with absolute paths.

Best Hannah


Hi Hannah,

First, I'm pleasantly surprised that the programs run at all under Cygwin - the Windows binaries are compiled with all kinds of assumptions that are not necessarily true under Cygwin. The "right way" to use CWB in Cygwin is to compile it within Cygwin and the "right way" to use the Windows binaries is from the Windows shell.

That said, the fact you had problems in the Windows shell as well suggests this is an actual bug rather than an incompatibility with Cygwin. Could you give some more details about where you entered the absolute paths (with the -r option? or as commands into CQP? if so with which commands?) If I know exactly what you entered and exactly what happened / didn't happen I may be able to track the bug down.

You're correct that cwb-make isn't present in the Windows install. This is because it is part of the Perl support module, not part of the actual CWB package. Adapting the latter to be Windows-compatible is a job we have not yet addressed.

Finally: The -e option is removed purposefully from the Windows version. (Although I may not yet have got round to removing it from the -h help dump!) On *nix it activates the editline library, but on Windows cmd.exe gives you input line editing anyway, so it's not needed.

best

Andrew.

-----Original Message-----
From:cwb-bounces at sslmit.unibo.it  <http://devel.sslmit.unibo.it/mailman/listinfo/cwb>  [mailto:cwb-bounces at sslmit.unibo.it  <http://devel.sslmit.unibo.it/mailman/listinfo/cwb>] On Behalf Of Hannah Kermes
Sent: 21 July 2010 13:28
To:cwb at sslmit.unibo.it  <http://devel.sslmit.unibo.it/mailman/listinfo/cwb>
Subject: [CWB] CWB Windows 7 (64bit) used with cygwin


   Hello,

I just recently installed the windows version of CWB on my laptop.
Untill now I worked only with smaller corpora (the largest was the
EUROPARL).
So far it works fine as long as I use the cqp with local paths. The
registry and the corpora directories are in the same directory and I
start cqp from this directory.
If I want to use absolute paths, the corpus is not found by CQP,
even if I use the normal registry directory of CQP.
When exporting results from cqp, it again works fine to store the
results in the local directory, but I cannot redirect it to another
directory.

Another problem I encountered, which is a bit more annoying, is that the
-e option does not seem to work.

Despite my dislike for the native windows shell, I tried it also, but
encountered the same problems.

I encoded some small sample corpora, which worked fine, but I do not
seem to have the more comfortable cwb-make but only cwb-makeall ...
Did I forget to install something, or is that not available for the
Windows-Version?.

Thanks a lot in advance
Hannah






-- 
Dr. Hannah Kermes
Dept. of Applied Linguistics, Interpreting and Translation (FR 4.6)
Universität des Saarlandes
Building A2.2, Room 1.07
P.O. Box 15 11 50, D-66041 Saarbrücken
phone: +49-(0)681-302-70076

-- 
Dr. Hannah Kermes
Dept. of Applied Linguistics, Interpreting and Translation (FR 4.6)
Universität des Saarlandes
Building A2.2, Room 1.07
P.O. Box 15 11 50, D-66041 Saarbrücken
phone: +49-(0)681-302-70076

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20100721/47fac2ae/attachment-0001.htm


More information about the CWB mailing list