I have two machines, one can build the tuhopuu branch just fine using the free tools build instructions, the other can't. They seem to have the same make and python, and I have refreshed the source until I'm ready to puke.
Here's the error that I get very early on (when freezing the python stuff):
make[1]: Entering directory `/home/adavis/FunBlender/intern/python/freeze'
python -S -O freeze.py -d -x os -x pprint -x string -x copy -I ../modules -o /ho
me/adavis/FunBlender/obj//windows/blender/bpython/frozen ../modules/VRMLmain.py
parsesetup.py:3: DeprecationWarning: the regex module is deprecated; please use
the re module
import regex
load_module 'exceptions' None None
load_module -> Module('exceptions')
run_script '../modules/VRMLmain.py'
load_module '__main__' 'fp' '../modules/VRMLmain.py'
Traceback (most recent call last):
File "freeze.py", line 461, in ?
main()
File "freeze.py", line 341, in main
mf.run_script(scriptfile)
File "modulefinder.py", line 98, in run_script
self.load_module('__main__', fp, pathname, stuff)
File "modulefinder.py", line 252, in load_module
co = compile(fp.read()+'\n', pathname, 'exec')
File "<string>", line 2
^
SyntaxError: invalid syntax
make[1]: *** [importer] Error 1
make[1]: Leaving directory `/home/adavis/FunBlender/intern/python/freeze'
make: *** [frozen] Error 2
make: Leaving directory `/home/adavis/FunBlender'
As I said, my other machine works fine. Obviously, I have left something out of the config, but I have no idea what. Any ideas or suggestions would be greatly appreciated.
-Andy
Win32 Build Problems with tuhopuu
Moderators: jesterKing, stiv
2 possible leads:
1) check what python you are using on
both machines by typing:
2) check your python path:
If the 2 machines are different, maybe try to
turn the PYTHONPATH off:
Chris
1) check what python you are using on
both machines by typing:
Code: Select all
which python
Code: Select all
echo $PYTHONPATH
turn the PYTHONPATH off:
Code: Select all
unset PYTHONPATH
No, those were good.
I've diffed the environments, uninstalled/reinstalled cygwin, bunch of other similarly desperate measures.
The only real difference between the two machines is that the troublesome machine has Studio 6.0 & Studio .Net on it.
I have no idea what is causing this.
I'm going to go find a wall to bash my head into.
Arrgh,
-Andy
I've diffed the environments, uninstalled/reinstalled cygwin, bunch of other similarly desperate measures.
The only real difference between the two machines is that the troublesome machine has Studio 6.0 & Studio .Net on it.
I have no idea what is causing this.
I'm going to go find a wall to bash my head into.
Arrgh,
-Andy
OK, that's about all I can think of...
The last time I saw somebody with exactly this
error message they had a PYTHONPATH that looked
like this:
PYTHONPATH=C:\PYTHON21;C:\PYTHON21\DLLs;C:\PYTHON21\LIB
Typing "unset PYTHONPATH" before typing make
made it work (The python that comes with cygwin
is 2.2 not 2.1).
Chris
The last time I saw somebody with exactly this
error message they had a PYTHONPATH that looked
like this:
PYTHONPATH=C:\PYTHON21;C:\PYTHON21\DLLs;C:\PYTHON21\LIB
Typing "unset PYTHONPATH" before typing make
made it work (The python that comes with cygwin
is 2.2 not 2.1).
Chris