You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pylucene-dev@lucene.apache.org by Andi Vajda <va...@apache.org> on 2010/03/24 17:37:14 UTC

Re: mingw32 broken again...

On Wed, 24 Mar 2010, Bill Janssen wrote:

> Looks like we have a regression.  This is today's checkout from Subversion:

Ooops, sorry, I broke this.
I was trying to get rid of 'orig_' and ended up leaving one in.
Fixed in trunk.

Andi..

>
> $ python setup.py build --compiler=mingw32 install
> running build
> running build_py
> copying jcc\config.py -> build\lib.win32-2.6\jcc
> copying jcc\classes\org\apache\jcc\PythonVM.class -> build\lib.win32-2.6\jcc\classes\org\apache\jcc
> copying jcc\classes\org\apache\jcc\PythonException.class -> build\lib.win32-2.6\jcc\classes\org\apache\jcc
> running build_ext
> building 'jcc' extension
> Traceback (most recent call last):
>  File "setup.py", line 334, in <module>
>    main('--debug' in sys.argv)
>  File "setup.py", line 330, in main
>    setup(**args)
>  File "c:\Python26\lib\distutils\core.py", line 152, in setup
>    dist.run_commands()
>  File "c:\Python26\lib\distutils\dist.py", line 975, in run_commands
>    self.run_command(cmd)
>  File "c:\Python26\lib\distutils\dist.py", line 995, in run_command
>    cmd_obj.run()
>  File "c:\Python26\lib\distutils\command\build.py", line 134, in run
>    self.run_command(cmd_name)
>  File "c:\Python26\lib\distutils\cmd.py", line 333, in run_command
>    self.distribution.run_command(command)
>  File "c:\Python26\lib\distutils\dist.py", line 995, in run_command
>    cmd_obj.run()
>  File "c:\Python26\lib\site-packages\setuptools\command\build_ext.py", line 46, in run
>    _build_ext.run(self)
>  File "c:\Python26\lib\distutils\command\build_ext.py", line 340, in run
>    self.build_extensions()
>  File "c:\Python26\lib\distutils\command\build_ext.py", line 449, in build_extensions
>    self.build_extension(ext)
>  File "c:\Python26\lib\site-packages\setuptools\command\build_ext.py", line 175, in build_extension
>    _build_ext.build_extension(self,ext)
>  File "c:\Python26\lib\distutils\command\build_ext.py", line 531, in build_extension
>    target_lang=language)
>  File "c:\Python26\lib\site-packages\setuptools\command\build_ext.py", line 258, in link_shared_object
>    build_temp, target_lang
>  File "x:\pylucene\trunk\jcc\helpers\mingw32.py", line 19, in link
>    orig_Mingw32CCompiler.link(self, target_desc=target_desc,
> NameError: global name 'orig_Mingw32CCompiler' is not defined
>
> Bill
>

Re: mingw32 broken again...

Posted by Bill Janssen <ja...@parc.com>.
Yep, that fixed it.

Bill