Re: SVN: persistent/trunk/ Prep 4.0.4 release.

Jens Vagelpohl <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
On Dec 13, 2012, at 0:30 , Tres Seaver <[email protected]> wrote:

>> Getting distribution for 'persistent>=4.0.0dev,<4.1dev'. cc1.exe:
>> error: unrecognized command line option '-mno-cygwin' error: Setup
>> script exited with error: command 'gcc' failed with exit status 1 An
>> error occurred when trying to install persistent 4.0.4. Look above
>> this message for any errors that were output by easy_install. While: 
>> Installing test. Getting distribution for
>> 'persistent>=4.0.0dev,<4.1dev'. Error: Couldn't install: persistent
>> 4.0.4
> 
> I don't know what the error message is about '-mno-cygwin'.

From another project where I was forced to use Windoze I dimly remember that this issue arises when compiling any C extension with the installed Python. That "-mno-cygwin" flag is defined deep inside setuptools itself and clashes with newer versions of the compilation tools which don't know that flag anymore.

I may have some of the details wrong, but this is *not* an issue with the persistent package requiring a special build setup. The issue is at the Python level and how setuptools interacts with the compiler when building C extensions.

In that project I was successfully building extensions using Cygwin.

jens


_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.