On Fri, May 13, 2011 at 11:31 AM, Jimmy O'Regan <[email protected]> wrote: > On 13 May 2011 17:14, Mikel Forcada <[email protected]> wrote: >> >> Gilles, >> >> Apertium has been compiled on Windows as far as I know, using Cygwin, but I >> know it is far from being easy. I got the apertium C++ runtime running on Windows (under cygwin) last year when I was doing my GSoC project, but I still mostly used the copy I had in an Ubuntu VM. I checked it out from SVN and then built it.
>> I am copying your message to the Apertium list, apertium-stuff, just in case >> anyone can help you. I haven't ever installed Apertium on Windows, so I >> don't really know. >> >> Apertium does not have a fancy GUI, but it does have at least one, >> apertium-tolk, in Linux. >> > > tolk will not run on Windows. apertium-viewer might. No, last I checked, Apertium-viewer doesn't work in Windows because it expects a unix filesystem to find the apertium runtime files in, and the Java VM is running on the Windows filesystem (not the cygwin rooted environment). >> GOSH!!! After several hours of installation, apertium and cygwin did not >> install ZIP / UNZIP !!!! >> > > How did you install Apertium/Cygwin? Manually, or using the installer? > (If you used the installer, it's a bug; otherwise it's not). > (See above for my comments on this point.) >> $ apertium -f docx fr-es $(cygpath c:\\apertium\\figaro.docx) $(cygpath >> c:\\ape >> >> rtium\\figaro-es.docx) >> >> /usr/local/bin/apertium: line 36: warning: setlocale: LC_CTYPE: cannot >> change lo >> >> cale (C.utf8 ) >> >> unzip: cannot find either /cygdrive/c/apertium/figaro.docx or >> /cygdrive/c/apert >> >> ium/figaro.docx.zip. > >> WHAT THE HELL is it now???? > > I think that error message is relatively clear - unzip can't find the > file you've specified. Have you tried copying the file, using another > file, or doing anything else with it? > > A basic test would be: > ls $(cygpath c:\\apertium\\figaro.docx) > > if ls tells you the file does not exist, then there's at least a > starting point for finding the source of the error. Actually, given that "Info-Zip" copyright notice, I'm guessing that you've downloaded a Windows zip/unzip, which is now in your path, and the cygwin scripts are calling it to unzip the .docx file (which is really a zipped archive of several files). If that's the case, then you have a broken pipeline, as most of it expects a unix path, rooted in the cygwin environment, while the zip/unzip exectutables expect a Windows path. What you're going to need to do is uninstall that Windows zip/unzip program (or at least remove it from your path), and install one inside cygwin. You can do so using the cygwin installer program, which is also the cygwin package manager. (Thats the cygwin-setup.exe in that screenshot you sent.) >> GOSH !!! what a mess !!! >> >> Apertium has never been tested on windows !!! >> >> Or what ??? > > It has been tested, but only by technically minded people. We're quite > aware that it's far from usable for the average Windows user. A > windows GUI has been developed that hides the details, but we're > waiting for the source to be released formally before we can recommend > it. > >> Don’t never ever tell me anything about Apertium anymore, please! > > I'd be concerned if someone told you that 'Apertium works on Windows', > without a list of caveats. Ditto. > -- > <Sefam> Are any of the mentors around? > <jimregan> yes, they're the ones trolling you > > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Apertium-stuff mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/apertium-stuff > ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Apertium-stuff mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/apertium-stuff
