Hi, soya has one or two bugs in the compilation system on the latest
changes of SVN.

The last valid commit is:

    bug fix for cython compilation

    svn-id: svn://svn.gna.org/svn/soya/trunk@550
f7f35755-3713-0410-b059-dae289c688fa

But i have a mirror of Soya's SVN in git here:
https://github.com/deavid/soyamirror

git clone git://github.com/deavid/soyamirror.git
git checkout -b deavid origin/deavid

----

My local branch has changes that should be introduced in Ubuntu and
other Linux OS in order to get Soya's running.

Hope this helps you.

2011/6/13 Fabio Varesano <fabio.vares...@gmail.com>:
> Hi everyone,
>
> I just got the most recent release of Soya3d from the svn repository,
> but I'm having troubles compiling it...
>
> [fabio@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:
>
> [root@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
>
> _______________________________________________
> Soya-user mailing list
> Soya-user@gna.org
> https://mail.gna.org/listinfo/soya-user
>

_______________________________________________
Soya-user mailing list
Soya-user@gna.org
https://mail.gna.org/listinfo/soya-user

Reply via email to