[Scipy-tickets] [SciPy] #809: windows, weave.inline and empty spaces in library paths

SciPy scipy-tickets@scipy....
Mon Dec 1 18:06:40 CST 2008


#809: windows, weave.inline and empty spaces in library paths
-------------------------+--------------------------------------------------
 Reporter:  wd15         |       Owner:  somebody
     Type:  defect       |      Status:  new     
 Priority:  normal       |   Milestone:          
Component:  scipy.weave  |     Version:          
 Severity:  normal       |    Keywords:          
-------------------------+--------------------------------------------------
 Issue when using pythonxy (2.1.4) (python version 2.5.2)  and windows. The
 following:

 {{{
    import scipy
    print 'scipy.__version__',scipy.__version__
    print 'scipy.__path__',scipy.__path__
    from scipy import weave

    weave.inline('printf("hello world");', verbose=2)
 }}}

 returns

 {{{
    scipy.__version__ 0.6.0
    scipy.__path__ ['C:\\Program
 Files\\pythonxy\\python\\lib\\site-packages\\scipy']
    <weave: compiling>
    kw {'extra_link_args': [], 'define_macros': [], 'libraries': [],
 'sources': ['C:\\Program
 Files\\pythonxy\\python\\lib\\site-
 packages\\scipy\\weave\\scxx\\weave_imp.cpp'],
 'extra_compile_args': [], 'library_dirs': [], 'include_dirs':
 ['C:\\Program Files\\pythonxy\\python\\lib\\site-packages\\scipy\\weave',
 'C:\\Program Files\\pythonxy\\python\\lib\\site-
 packages\\scipy\\weave\\scxx']}

    running build_ext
    running build_src

    building extension "sc_5c84b188757e017720cf8a0a3b0555304" sources

    customize Mingw32CCompiler
    customize Mingw32CCompiler using build_ext
    customize Mingw32CCompiler
    customize Mingw32CCompiler using build_ext

    building 'sc_5c84b188757e017720cf8a0a3b0555304' extension

    compiling C++ sources
    C compiler: g++ -mno-cygwin -O2 -Wall


    compile options: '-I"C:\Program
 Files\pythonxy\python\lib\site-packages\scipy\weave" -I"C:\Program
 Files\pythonxy\python\lib\site-packages\scipy\weave\scxx"
 -I"C:\Program Files\pythonxy\python\lib\site-packages\numpy\core\include"
 -I"C:\Program Files\pythonxy\python\include" -I"C:\Program
 Files\pythonxy\python\PC" -c'
    g++ -mno-cygwin -O2 -Wall -I"C:\Program
 Files\pythonxy\python\lib\site-packages\scipy\weave" -  I"C:\Program
 Files\pythonxy\python\lib\site-packages\scipy\weave\scxx"
 -I"C:\Program Files\pythonxy\python\lib\site-packages\numpy\core\include"
 -I"C:\Program Files\pythonxy\python\include" -I"C:\Program
 Files\pythonxy\python\PC" -c
 c:\docume~1\wd15\locals~1\temp\wd15\python25_compiled\sc_5c84b188757e017720cf8a0a3b0555304.cpp
 -o
 c:\docume~1\wd15\locals~1\temp\wd15\python25_intermediate\compiler_08edc7e348e1c33f63a33ab500aef08e\Release\docume~1\wd15\locals~1\temp\wd15\python25_compiled\sc_5c84b188757e017720cf8a0a3b0555304.o
    Found executable C:\MinGW\bin\g++.exe
    g++ -mno-cygwin -shared
 c:\docume~1\wd15\locals~1\temp\wd15\python25_intermediate\compiler_08edc7e348e1c33f63a33ab500aef08e\Release\docume~1\wd15\locals~1\temp\wd15\python25_compiled\sc_5c84b188757e017720cf8a0a3b0555304.o
 c:\docume~1\wd15\locals~1\temp\wd15\python25_intermediate\compiler_08edc7e348e1c33f63a33ab500aef08e\Release\program
 files\pythonxy\python\lib\site-packages\scipy\weave\scxx\weave_imp.o
 -L"C:\Program Files\pythonxy\python\libs" -L"C:\Program
 Files\pythonxy\python\PCBuild" -lpython25 -lmsvcr71 -o
 c:\docume~1\wd15\locals~1\temp\wd15\python25_compiled\sc_5c84b188757e017720cf8a0a3b0555304.pyd
    g++.exe: files\pythonxy\python\lib\site-
 packages\scipy\weave\scxx\weave_imp.o:

 No such file or directory
 }}}

-- 
Ticket URL: <http://scipy.org/scipy/scipy/ticket/809>
SciPy <http://www.scipy.org/>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list