[Numpy-discussion] numpy/core/code_generators/../src/multiarray/iterators.c:1778:could not find function name

Nils Wagner nwagner@iam.uni-stuttgart...
Tue Jul 21 01:22:38 CDT 2009


Hi all,

I cannot build numpy from svn.
...

   adding 
'build/src.linux-x86_64-2.5/numpy/core/include/numpy/numpyconfig.h' 
to sources.
executing numpy/core/code_generators/generate_numpy_api.py
numpy/core/code_generators/../src/multiarray/iterators.c 
1778
Traceback (most recent call last):
   File "setup.py", line 186, in <module>
     setup_package()
   File "setup.py", line 179, in setup_package
     configuration=configuration )
   File 
"/data/home/nwagner/svn/numpy/numpy/distutils/core.py", 
line 184, in setup
     return old_setup(**new_attr)
   File 
"/data/home/nwagner/local/lib/python2.5/distutils/core.py", 
line 151, in setup
     dist.run_commands()
   File 
"/data/home/nwagner/local/lib/python2.5/distutils/dist.py", 
line 974, in run_commands
     self.run_command(cmd)
   File 
"/data/home/nwagner/local/lib/python2.5/distutils/dist.py", 
line 994, in run_command
     cmd_obj.run()
   File 
"/data/home/nwagner/svn/numpy/numpy/distutils/command/install.py", 
line 49, in run
     r = old_install.run(self)
   File 
"/data/home/nwagner/local/lib/python2.5/distutils/command/install.py", 
line 506, in run
     self.run_command('build')
   File 
"/data/home/nwagner/local/lib/python2.5/distutils/cmd.py", 
line 333, in run_command
     self.distribution.run_command(command)
   File 
"/data/home/nwagner/local/lib/python2.5/distutils/dist.py", 
line 994, in run_command
     cmd_obj.run()
   File 
"/data/home/nwagner/svn/numpy/numpy/distutils/command/build.py", 
line 37, in run
     old_build.run(self)
   File 
"/data/home/nwagner/local/lib/python2.5/distutils/command/build.py", 
line 112, in run
     self.run_command(cmd_name)
   File 
"/data/home/nwagner/local/lib/python2.5/distutils/cmd.py", 
line 333, in run_command
     self.distribution.run_command(command)
   File 
"/data/home/nwagner/local/lib/python2.5/distutils/dist.py", 
line 994, in run_command
     cmd_obj.run()
   File 
"/data/home/nwagner/svn/numpy/numpy/distutils/command/build_src.py", 
line 130, in run
     self.build_sources()
   File 
"/data/home/nwagner/svn/numpy/numpy/distutils/command/build_src.py", 
line 147, in build_sources
     self.build_extension_sources(ext)
   File 
"/data/home/nwagner/svn/numpy/numpy/distutils/command/build_src.py", 
line 250, in build_extension_sources
     sources = self.generate_sources(sources, ext)
   File 
"/data/home/nwagner/svn/numpy/numpy/distutils/command/build_src.py", 
line 307, in generate_sources
     source = func(extension, build_dir)
   File "numpy/core/setup.py", line 484, in generate_api
     h_file, c_file, doc_file = 
m.generate_api(os.path.join(build_dir, header_dir))
   File 
"numpy/core/code_generators/generate_numpy_api.py", line 
185, in generate_api
     do_generate_api(targets, sources)
   File 
"numpy/core/code_generators/generate_numpy_api.py", line 
194, in do_generate_api
     numpyapi_list = genapi.get_api_functions('NUMPY_API', 
sources[0])
   File "numpy/core/code_generators/genapi.py", line 267, 
in get_api_functions
     functions.extend(find_functions(f, tagname))
   File "numpy/core/code_generators/genapi.py", line 220, 
in find_functions
     'could not find function name')
genapi.ParseError: 
numpy/core/code_generators/../src/multiarray/iterators.c:1778:could 
not find function name
  


More information about the NumPy-Discussion mailing list