Hello,

this might be already known,
but this afternoon I managed to compile aspell-0.60.1.1 on Windows
2000 after a couple of retries, and would like to share what I have
found.

First I got MinGW installed and ran all make commands in MSYS sh.
I downloaded aspell-0.60.1.1.tar.gz from http://aspell.net/.

Since I didn't want a UNIX like directory structure on my Windows
machine, I overwrote paths when configuring it as this:

sh-2.04$ cd aspell-0.60.1.1
sh-2.04$ ./configure --enable-win32-relocatable --prefix=d:/Apps/Aspell 
--enable-pkgdatadir=d:/Apps/Aspell/lib --enable-pkglibdir=d:/Apps/Aspell/lib
...

Running make stops towards the last stage of make when linking the library
./.libs/libaspell.dll.a into .libs/aspell.exe with error messages such as:

variable 'acommon::CERR' can't be auto-imported. Please read the documentation 
for ld's --enable-auto-import for details.

This can be resolved by using a linker option --enable-runtime-pseudo-reloc 
like so:
sh-2.04$ /bin/sh ./libtool --mode=link --tag=CXX g++  -g -O2 -fno-exceptions   
-o aspell.exe  prog/aspell.o prog/check_funs.o prog/checker_string.o 
libaspell.la  -Wl,--enable-runtime-pseudo-reloc

Then I could continue the rest of make and make install.
After installing aspell you can build dictionaries as well.

Hope this will help.

--Taro


-----Original Message-----
From: Sean Watson
Subject: [Aspell-user] Latest source package doesn't have win32 dir
Date: Wed, 03 Nov 2004 20:02:32 +0800
User-agent: Xnews/06.08.25

Hello,

The win32 package is very old, so I am trying to compile the latest using 
mingw. The win32 readme says to go to the win32 directory, which doesn't 
exist.

Also, how do you set the "WIN32_RELOCATABLE"?


_______________________________________________
Aspell-user mailing list
Aspell-user@gnu.org
http://lists.gnu.org/mailman/listinfo/aspell-user

Reply via email to