Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'url:pypi': 0.03; '64-bit': 0.07; 'compiler': 0.07; 'error:': 0.07; 'exit': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'windows': 0.15; "'gcc'": 0.16; 'build_ext': 0.16; 'skip:7 20': 0.16; 'subject:windows': 0.16; 'url:develer': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'module': 0.19; 'trying': 0.19; 'command': 0.22; 'appears': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; 'this?': 0.23; 'error': 0.23; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'extension': 0.26; 'header:In-Reply-To:1': 0.27; 'tried': 0.27; 'am,': 0.29; 'returned': 0.30; 'message- id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'url:python': 0.33; 'running': 0.33; 'skip:b 30': 0.33; 'subject:from': 0.34; 'message.': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'building': 0.35; 'url:listinfo': 0.36; 'url:org': 0.36; 'skip:- 20': 0.37; 'skip:- 10': 0.38; 'skip:b 40': 0.39; 'system.': 0.39; 'called': 0.40; 'url:mail': 0.40; 'how': 0.40; '30,': 0.65; 'fin': 0.84; 'subject:source': 0.84; 'to:none': 0.92; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=nOc3SnYJUyi3hh8eJXp+Uec0rflNl/a7J3TgQayjDFE=; b=O3qPYkrt646geaNSu8o4E8SNlwernzgsHF9dMjRQwFW5q2VLziIVhFH9s4Kq9wzp0h rrf6gvYZRTefJTbdXjjJiz87eimK/g+ua+OYxKSU31Cax6q8kUUo0SIUPKI//4rnS+T1 wMAjTN+/w2U9aR43tmVp4P/U1qSed8RncUUOo8g1j0G/xYGg7dJMaRq5Wz5yNGbSeH5k v0fGKELkEa2AGiFyoH27ETYSfb4p36ZfOr8KQVz05gAgxch42ziT2Kjp+qon6j6x8qSg 5kOP1bMD9oT5X/RPCpMc4s0kwZOMnydH/IaA9ZKA2H+gfQ4Lwp0V/uMK3C83dGONRkYJ MmjQ== MIME-Version: 1.0 X-Received: by 10.60.55.65 with SMTP id q1mr8496857oep.92.1372620382949; Sun, 30 Jun 2013 12:26:22 -0700 (PDT) In-Reply-To: <04acbd31-b7c5-4518-852a-0ed0deed44c5@googlegroups.com> References: <04acbd31-b7c5-4518-852a-0ed0deed44c5@googlegroups.com> Date: Sun, 30 Jun 2013 15:26:22 -0400 Subject: Re: Issues compiling hunspell from source on windows From: David Robinow Cc: python-list@python.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 29 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1372620799 news.xs4all.nl 15913 [2001:888:2000:d::a6]:43460 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:49512 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 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