[SciPy-user] weave problems, weave_imp.o no such file or directory

Søren Nielsen soren.skou.nielsen at gmail.com
Fri Jun 27 09:49:45 EDT 2008


Hi,

I've done a fresh install of MinGw 5.14, Python 2.4.4, Scipy 0.6.0, Numpy
1.1.0 and numarray 1.5.2

When I try to use weave i get this:

C:\>test_weave.py
<weave: compiling>
running build_ext
running build_src
building extension "sc_552cccf5dbf4f6eadd273cdcbd5860523" sources
customize Mingw32CCompiler
customize Mingw32CCompiler using build_ext
customize Mingw32CCompiler
customize Mingw32CCompiler using build_ext
building 'sc_552cccf5dbf4f6eadd273cdcbd5860523' extension
compiling C++ sources
C compiler: g++ -mno-cygwin -O2 -Wall

compile options: '-IC:\Python24\lib\site-packages\scipy\weave
-IC:\Python24\lib\
site-packages\scipy\weave\scxx
-IC:\Python24\lib\site-packages\numpy\core\includ
e -IC:\Python24\include -IC:\Python24\PC -c'
g++ -mno-cygwin -O2 -Wall -IC:\Python24\lib\site-packages\scipy\weave
-IC:\Pytho
n24\lib\site-packages\scipy\weave\scxx
-IC:\Python24\lib\site-packages\numpy\cor
e\include -IC:\Python24\include -IC:\Python24\PC -c
C:\Python24\lib\site-package
s\scipy\weave\scxx\weave_imp.cpp -o c:\docume~1\lisear~1\lokale~1\temp\Lise
Arle
th\python24_intermediate\compiler_08edc7e348e1c33f63a33ab500aef08e\Release\pytho
n24\lib\site-packages\scipy\weave\scxx\weave_imp.o
Found executable C:\MinGw\bin\g++.exe
g++.exe:
Arleth\python24_intermediate\compiler_08edc7e348e1c33f63a33ab500aef08e\
Release\python24\lib\site-packages\scipy\weave\scxx\weave_imp.o: No such
file or
 directory
Traceback (most recent call last):
  File "C:\test_weave.py", line 341, in ?
    main()
  File "C:\test_weave.py", line 224, in main
    weave.inline('printf("%d\\n",a);',['a'], verbose=2,
type_converters=converte
rs.blitz)  #, compiler = 'msvc', verbpse=2,
type_converters=converters.blitz, au
to_downcast=0) #'msvc' or 'gcc' or 'mingw32'
  File "C:\Python24\Lib\site-packages\scipy\weave\inline_tools.py", line
338, in
 inline
    auto_downcast = auto_downcast,
  File "C:\Python24\Lib\site-packages\scipy\weave\inline_tools.py", line
447, in
 compile_function
    verbose=verbose, **kw)
  File "C:\Python24\Lib\site-packages\scipy\weave\ext_tools.py", line 365,
in co
mpile
    verbose = verbose, **kw)
  File "C:\Python24\Lib\site-packages\scipy\weave\build_tools.py", line 269,
in
build_extension
    setup(name = module_name, ext_modules = [ext],verbose=verb)
  File "C:\Python24\Lib\site-packages\numpy\distutils\core.py", line 184, in
set
up
    return old_setup(**new_attr)
  File "C:\Python24\lib\distutils\core.py", line 166, in setup
    raise SystemExit, "error: " + str(msg)
distutils.errors.CompileError: error: Command "g++ -mno-cygwin -O2 -Wall
-IC:\Py
thon24\lib\site-packages\scipy\weave
-IC:\Python24\lib\site-packages\scipy\weave
\scxx -IC:\Python24\lib\site-packages\numpy\core\include
-IC:\Python24\include -
IC:\Python24\PC -c
C:\Python24\lib\site-packages\scipy\weave\scxx\weave_imp.cpp
-o c:\docume~1\lisear~1\lokale~1\temp\Lise
Arleth\python24_intermediate\compiler
_08edc7e348e1c33f63a33ab500aef08e\Release\python24\lib\site-packages\scipy\weave
\scxx\weave_imp.o" failed with exit status 1

the test_weave file was something i found on the scipy dev wiki... I also
tried some of my older files that also uses weave and they all give the same
error...

Can anyone help me with this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20080627/305627b4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_weave.py
Type: text/x-python
Size: 11334 bytes
Desc: not available
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20080627/305627b4/attachment.py>


More information about the SciPy-User mailing list