Fabio Varesano
2011-06-13 12:35:23 UTC
Hi everyone,
I just got the most recent release of Soya3d from the svn repository,
but I'm having troubles compiling it...
[***@gamma soya]$ python2 ./setup.py build
Pyrex found - compilation enabled
BUILDING True
Sound support (with OpenAL) enabled...
Traceback (most recent call last):
File "./setup.py", line 245, in <module>
soya_pyx_mtime=os.path.getmtime('soya._soya.pyx')
File "/usr/lib/python2.7/genericpath.py", line 54, in getmtime
return os.stat(filename).st_mtime
OSError: [Errno 2] No such file or directory: 'soya._soya.pyx'
Same result if running as root. Any help?
I'm also having troubles compiling 0.15rc1:
[***@gamma Soya-0.15rc1]# python2 ./setup.py build
Pyrex compilation enabled!
BUILDING True
Sound support (with OpenAL) enabled...
running build
running build_py
running build_ext
pyrexc _soya.pyx --> _soya.c
Traceback (most recent call last):
File "./setup.py", line 318, in <module>
**KARGS)
File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/distutils/command/build.py", line 127, in run
self.run_command(cmd_name)
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/distutils/command/build_ext.py", line 340,
in run
self.build_extensions()
File
"/usr/lib/python2.7/site-packages/Pyrex/Distutils/build_ext.py", line
81, in build_extensions
ext.sources = self.pyrex_sources(ext.sources, ext)
File
"/usr/lib/python2.7/site-packages/Pyrex/Distutils/build_ext.py", line
188, in pyrex_sources
result = pyrex_compile(source, options=options)
File "/usr/lib/python2.7/site-packages/Pyrex/Compiler/Main.py", line
504, in compile
return compile_single(source, options)
File "/usr/lib/python2.7/site-packages/Pyrex/Compiler/Main.py", line
453, in compile_single
return context.compile(source, options)
File "/usr/lib/python2.7/site-packages/Pyrex/Compiler/Main.py", line
326, in compile
module_name = self.extract_module_name(source)
File "/usr/lib/python2.7/site-packages/Pyrex/Compiler/Main.py", line
241, in extract_module_name
"'%s' is not a valid module name" % module_name)
Pyrex.Compiler.Errors.CompileError:
/home/fabio/Programs/soya/Soya-0.15rc1/_soya.pyx:0:0:
'Soya-0.15rc1._soya' is not a valid module name
I'm using an updated Archlinux distribution, so I'm using the most
recent packages available, maybe this is a problem of using newer
versions of Soya requirements?
Ideas?
Thanks,
Fabio
I just got the most recent release of Soya3d from the svn repository,
but I'm having troubles compiling it...
[***@gamma soya]$ python2 ./setup.py build
Pyrex found - compilation enabled
BUILDING True
Sound support (with OpenAL) enabled...
Traceback (most recent call last):
File "./setup.py", line 245, in <module>
soya_pyx_mtime=os.path.getmtime('soya._soya.pyx')
File "/usr/lib/python2.7/genericpath.py", line 54, in getmtime
return os.stat(filename).st_mtime
OSError: [Errno 2] No such file or directory: 'soya._soya.pyx'
Same result if running as root. Any help?
I'm also having troubles compiling 0.15rc1:
[***@gamma Soya-0.15rc1]# python2 ./setup.py build
Pyrex compilation enabled!
BUILDING True
Sound support (with OpenAL) enabled...
running build
running build_py
running build_ext
pyrexc _soya.pyx --> _soya.c
Traceback (most recent call last):
File "./setup.py", line 318, in <module>
**KARGS)
File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/distutils/command/build.py", line 127, in run
self.run_command(cmd_name)
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/distutils/command/build_ext.py", line 340,
in run
self.build_extensions()
File
"/usr/lib/python2.7/site-packages/Pyrex/Distutils/build_ext.py", line
81, in build_extensions
ext.sources = self.pyrex_sources(ext.sources, ext)
File
"/usr/lib/python2.7/site-packages/Pyrex/Distutils/build_ext.py", line
188, in pyrex_sources
result = pyrex_compile(source, options=options)
File "/usr/lib/python2.7/site-packages/Pyrex/Compiler/Main.py", line
504, in compile
return compile_single(source, options)
File "/usr/lib/python2.7/site-packages/Pyrex/Compiler/Main.py", line
453, in compile_single
return context.compile(source, options)
File "/usr/lib/python2.7/site-packages/Pyrex/Compiler/Main.py", line
326, in compile
module_name = self.extract_module_name(source)
File "/usr/lib/python2.7/site-packages/Pyrex/Compiler/Main.py", line
241, in extract_module_name
"'%s' is not a valid module name" % module_name)
Pyrex.Compiler.Errors.CompileError:
/home/fabio/Programs/soya/Soya-0.15rc1/_soya.pyx:0:0:
'Soya-0.15rc1._soya' is not a valid module name
I'm using an updated Archlinux distribution, so I'm using the most
recent packages available, maybe this is a problem of using newer
versions of Soya requirements?
Ideas?
Thanks,
Fabio