Open GoogleCodeExporter opened 9 years ago
Failed to see the "On what distribution, version and architecture (x86 vs
amd64)?" question.
Using archlinux amd64
Original comment by alfer...@gmail.com
on 22 Dec 2011 at 10:59
See my comment at issue 199:
http://code.google.com/p/firetray/issues/detail?id=199#c21
Original comment by vim...@gmx.com
on 22 Dec 2011 at 5:32
I've read about that, but I'm stuck at what changes must be done at the
SConscript file you mentioned in the post at that issue.
Original comment by alfer...@gmail.com
on 22 Dec 2011 at 6:06
OK, I see. I've attached my SConscript file, which you may want to use until
there is an official version.
Only some minor changes are required:
1. Adding <xulrunner-sdk>/sdk/bin to the PATH environment variable because
header.py and typelib.py are located in this directory (lines 34/35, 52, and 92)
2. Actually using header.py and typelib.py instead of xpidl for creating the
two builders for xpt and header (lines 82 and 83)
HTH
Original comment by vim...@gmx.com
on 22 Dec 2011 at 10:52
Attachments:
scons: Reading SConscript files ...
linking: --static
Using GECKO_SDK=/home/oliver/firetray-read-only/xulrunner-sdk/
NPTRAY: nptray_x86_64
scons: done reading SConscript files.
scons: Building targets ...
header.py -Icomponents -I/home/oliver/firetray-read-only/xulrunner-sdk/idl -o
components/nsITray.h components/nsITray.idl
Traceback (most recent call last):
File "/home/oliver/firetray-read-only/xulrunner-sdk/sdk/bin/header.py", line 43, in <module>
import sys, os.path, re, xpidl
File "/home/oliver/firetray-read-only/xulrunner-sdk/sdk/bin/xpidl.py", line 960
except IDLError, e:
^
SyntaxError: invalid syntax
scons: *** [components/nsITray.h] Error 1
scons: building terminated because of errors.
error compiling firetray.xpi
Original comment by anonsph...@gmail.com
on 23 Dec 2011 at 4:12
Just a guess: Maybe a wrong Python version? Which version have you tried?
I've tried it with several versions; it builds with Python 2.6.7 and 2.7.2+ but
not with 2.5.5 and -- unsurprisingly -- not with Python 3.2.2+.
Original comment by vim...@gmx.com
on 23 Dec 2011 at 4:27
It works after changing
#!/usr/bin/env python
to
#!/usr/bin/env python2
I'm really tired of this sh*t every 6 weeks ...
Thank you anyway! ;-)
Original comment by anonsph...@gmail.com
on 23 Dec 2011 at 4:38
Yep, understandable ;-) Great that it works now.
Original comment by vim...@gmx.com
on 23 Dec 2011 at 4:46
Original issue reported on code.google.com by
alfer...@gmail.com
on 22 Dec 2011 at 10:57