Try the attached procedure.

Patches are obvious to fix building.

On Sat, Oct 14, 2017 at 10:29 PM, Hypo Stases <[email protected]> wrote:

> Hi Michael,
> Lynx project made porting of Aspell for Windows CMake-based
> that could be generated also for win64.
>
> Best
> Hypo
>
> On Sat, Oct 14, 2017 at 10:09 PM, Michael Zaichenko <
> [email protected]> wrote:
>
>> Hello,
>> I have been trying to compile a binary for Aspell 0.6 for WIN64 for the
>> past 2 days straight, in vain. I tried Cygwin and Msys with no luck - the
>> compilers fail to link modules or something. I'm not very savvy in Linux
>> packages/compilation so I can't even tell where it goes wrong. Tried
>> compiling with -i and it did make a aspell.exe but this .exe file is not
>> working. It does display info but it doesn't spell anything and it also
>> relies on a whole slew of files... All in all - big fat disappointment.
>> So as my last-ditch attempt I'm writing to this list.
>> I've been using Aspell for the last 6 years but only in English and never
>> had to do other languages - now I do. So I downloaded the languages I need
>> but my Aspell 0.5 fails to compile them as rws dictionaries, saying there
>> are some characters it can't compile - i'm using cwl file as a source list.
>> I'm stumped. Can someone help me either compile this 0.6 for WIN64 or
>> compile rws dictionaries for 0.5?
>>
>> Michael
>>
>> _______________________________________________
>> Aspell-devel mailing list
>> [email protected]
>> https://lists.gnu.org/mailman/listinfo/aspell-devel
>>
>
>
Aspell on Windows


1. You need cmake and cygwin (with Unix line endings!!).

2. - check out the latest CVS version: 
  http://savannah.gnu.org/cvs/?group=aspell

3. autogen.sh is located in Maintainer folder
   Copy it to aspell-root

4. export CXXFLAGS=-fpermissive

5. Apply the patches

patch -d aspell -p1 < ../patches/aspell-soundslike-simple.patch
        patch -d aspell -p1 < ../patches/aspell-g++-4.3.patch
        patch -d aspell -p1 < ../patches/aspell-copycon-warn.patch
        patch -d aspell -p1 < ../patches/aspell-ign-case.patch
        patch -d aspell -p1 < ../patches/aspell-g++-4.9.patch


 
First build with cygwin to autogenerate all required  files:

6. Run ./autogen (copy from the Maintaniner folder)
7. export CXXFLAGS=-fpermissive and run ./configure
     in Cygwin-32
8. Run ./make
  
9. Copy the files from the LyX SVN aspell/win32
Correct the patch by removind everything related to Registry.

By using Cygwin, patch aspell, call in aspell/:
    
patch -p0 -i win32/win32-aspell.patch

10.
- make a separate build directory and run 
  on a standard Windows command promp:

cmake <Aspell source directory>\win32

Use -DLINK=shared to build the libraries as shared


- build mingw makefiles files in 
  - cmd.exe shell:
    cmake -G"MinGW Makefiles" <Aspell source directory>\win32 
  - in a MSYS shell
    cmake -G"MSYS Makefiles"  <Aspell source directory>\win32 
  
  
The patched Aspell reads the location of the dictonary from 
the registry. You can either install the dictionaries using 
the official 1.4.2 installer or download them at:
http://wiki.lyx.org/Windows/Aspell6




_______________________________________________
Aspell-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/aspell-devel

Reply via email to