Hi,
I've downloaded 0.65.4...
kmatheussen wrote:> QTDIR=/usr/share/qt
Yes, you are supposed to edit that variable before compiling.
It should have been (for Arch Linux):
kmatheussen wrote:> sudo ln -s /usr/bin /usr/share/qt/bin
That sounds like the wrong thing to do.
Definitely was! It's getting much further into the compilation now... I got this error:
Code: Select all
make[1]: Leaving directory `/home/sirrom/SRC/kmatheussen-radium-e7efefe/bin/packages/dvarrazzo-py-setproctitle-c35a1bf'
`which python` -c "import sys;print sys.prefix+'/include/python'+sys.version[:3]" >pypath.comp
File "<string>", line 1
import sys;print sys.prefix+'/include/python'+sys.version[:3]
^
SyntaxError: invalid syntax
make: *** [pypath.comp] Error 1
But modifying the Makefile to explicitly use python2 gets past that until:
Code: Select all
gcc common/gfx_op_queue.c -c -mtune=native -O3 -g -Wall -Werror -DNOPAUSEPLAY -DDEBUG -Ibin/packages/gc-7.2/include -I/usr/X11R6/include -IQt/ -I`cat pypath.comp` -DGUIISQT -Imidi/rtmidi -DUSE_GFX_OP_QUEUE -I/home/kjetil/site/include -fPIC
python protoconfparser.py radium_proc.h
cd api/ ; python protoconfparser.py radium_proc.h ; cd ..
Traceback (most recent call last):
File "protoconfparser.py", line 358, in <module>
re=Read()
File "protoconfparser.py", line 288, in __init__
notend=self.readNextLine()
File "protoconfparser.py", line 301, in readNextLine
line=string.rstrip(line)
AttributeError: 'module' object has no attribute 'rstrip'
gcc common/eventreciever.c -c -mtune=native -O3 -g -Wall -Werror -DNOPAUSEPLAY -DDEBUG -Ibin/packages/gc-7.2/include -I/usr/X11R6/include -IQt/ -I`cat pypath.comp` -DGUIISQT -Imidi/rtmidi -DUSE_GFX_OP_QUEUE -I/home/kjetil/site/include -fPIC
common/eventreciever.c:19:20: fatal error: Python.h: No such file or directory
compilation terminated.
Which isn't surprising as pypath.comp is a 0 byte file thanks to the failure of the previous error... but easy to fix... Next off
Code: Select all
python protoconfparser.py radium_proc.h
cd api/ ; python protoconfparser.py radium_proc.h ; cd ..
Traceback (most recent call last):
File "protoconfparser.py", line 358, in <module>
re=Read()
File "protoconfparser.py", line 288, in __init__
notend=self.readNextLine()
File "protoconfparser.py", line 301, in readNextLine
line=string.rstrip(line)
AttributeError: 'module' object has no attribute 'rstrip'
gcc common/eventreciever.c -c -mtune=native -O3 -g -Wall -Werror -DNOPAUSEPLAY -DDEBUG -Ibin/packages/gc-7.2/include -I/usr/X11R6/include -IQt/ -I`cat pypath.comp` -DGUIISQT -Imidi/rtmidi -DUSE_GFX_OP_QUEUE -I/home/kjetil/site/include -fPIC
common/eventreciever.c:33:32: fatal error: ../api/radium_proc.h: No such file or directory
And now I'm stuck. Using the `find` command fails to locate radium_proc.h.
Let me know if there's anything else I can do and/or somewhere you'd rather this kind of stuff take place (ie mailing list etc).