Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #49512
| References | <04acbd31-b7c5-4518-852a-0ed0deed44c5@googlegroups.com> |
|---|---|
| Date | 2013-06-30 15:26 -0400 |
| Subject | Re: Issues compiling hunspell from source on windows |
| From | David Robinow <drobinow@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4041.1372620799.3114.python-list@python.org> (permalink) |
It appears you are using a 32 bit compiler with a 64-bit python. Install a 32 bit python. On Sun, Jun 30, 2013 at 11:54 AM, Akshay Kayastha <akshay.ksth@gmail.com> wrote: > Hi I am trying to compile a python module called hunspell from the following [source](https://pypi.python.org/pypi/hunspell). > > But I get the following error message. > > C:\Users\KURO\Desktop\hunspell-0.1>setup.py install > running install > running build > running build_ext > building 'hunspell' extension > C:\mingw\bin\gcc.exe -mno-cygwin -mdll -O -Wall -D_LINUX -I/usr/include/hunspell > -IC:\Python27\include -IC:\Python27\PC -c hunspell.c -o build\temp.win-amd64-2. > 7\Release\hunspell.o -Wall > writing build\temp.win-amd64-2.7\Release\hunspell.def > C:\mingw\bin\gcc.exe -mno-cygwin -shared -s build\temp.win-amd64-2.7\Release\hun > spell.o build\temp.win-amd64-2.7\Release\hunspell.def -LC:\Python27\libs -LC:\Py > thon27\PCbuild\amd64 -lhunspell-1.2 -lpython27 -lmsvcr90 -o build\lib.win-amd64- > 2.7\hunspell.pyd > c:/mingw/bin/../lib/gcc/mingw32/4.3.3/../../../../mingw32/bin/ld.exe: cannot fin > d -lhunspell-1.2 > collect2: ld returned 1 exit status > error: command 'gcc' failed with exit status 1 > > I tried downloading libhunspell-1.2-0.dll and put it into my system. But I still get the same error message. How do I deal with this? I have Windows 7 and [mingw](http://www.develer.com/oss/GccWinBinaries) > -- > http://mail.python.org/mailman/listinfo/python-list
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Issues compiling hunspell from source on windows Akshay Kayastha <akshay.ksth@gmail.com> - 2013-06-30 08:54 -0700 Re: Issues compiling hunspell from source on windows rusi <rustompmody@gmail.com> - 2013-06-30 09:45 -0700 Re: Issues compiling hunspell from source on windows Akshay Kayastha <akshay.ksth@gmail.com> - 2013-06-30 10:08 -0700 Re: Issues compiling hunspell from source on windows David Robinow <drobinow@gmail.com> - 2013-06-30 15:26 -0400 Re: Issues compiling hunspell from source on windows Akshay Kayastha <akshay.ksth@gmail.com> - 2013-07-01 12:55 -0700
csiph-web