build failing with errors on sip

23 views
Skip to first unread message

chriso

unread,
Nov 15, 2011, 1:56:47 AM11/15/11
to arsenalsuite
hi,

I'm having problems getting arsenal to compile properly as it's
failing on trying to build sip.

</snip>
Starting Build
Targets: [sip]
Args: ['-color', '-command_only', 'clean', 'build', 'install',
'release']
Building: sip /opt/arsenalsuite/cpp/lib/sip
make[1]: Entering directory `/opt/arsenalsuite/cpp/lib/sip/sipgen'
gcc -c -pipe -O2 -w -DNDEBUG -I. -o main.o main.c
gcc -c -pipe -O2 -w -DNDEBUG -I. -o transform.o transform.c
gcc -c -pipe -O2 -w -DNDEBUG -I. -o gencode.o gencode.c
gcc -c -pipe -O2 -w -DNDEBUG -I. -o extracts.o extracts.c
gcc -c -pipe -O2 -w -DNDEBUG -I. -o export.o export.c
gcc -c -pipe -O2 -w -DNDEBUG -I. -o heap.o heap.c
gcc -c -pipe -O2 -w -DNDEBUG -I. -o parser.o parser.c
gcc -c -pipe -O2 -w -DNDEBUG -I. -o lexer.o lexer.c
main.c:36: error: ‘includeDirList’ undeclared here (not in a
function)transform.c:27: error: expected ‘)’ before ‘*’ tokengencode.c:
46: error: expected spe$
main.c:39: error: ‘FALSE’ undeclared here (not in a function)

I've tried on centos and on debian and in both instances it would seem
that the command python build.py prepare is not parsing/outputting the
makefiles correctly. This is source files from the code repository.

Does anyone have any insight?

cheers
chris

Matthew Newell

unread,
Nov 15, 2011, 6:19:38 PM11/15/11
to arsena...@googlegroups.com
>I've tried on centos and on debian and in both instances it would seem
>that the command python build.py prepare is not parsing/outputting the
>makefiles correctly

Do you mean python build.py sip_prepare ?

If yes, you shouldn't need to run that, and if you did i would revert
any changes to the files in cpp/lib/sip, and try compiling again.

If that doesn't work tell me what versions of centos and debian you
tried with, and the version of gcc. I compile on debian daily and
centos occasionally so I should be able to compare my setup.

Matt

chriso

unread,
Nov 16, 2011, 11:05:46 PM11/16/11
to arsenalsuite
matt,
thanks for the quick response, sorry for the delayed reply.
I am using debian 6.0.3

I've had to back up a step before even getting to the sip/pyqt build
stage.
I couldn't find the qt sources described in the website so have gone
for the qt-digia-qt-4.6.4.tar.gz package from the git repo.
at the moment 2 things are stopping this from going ahead, 1. pgsql in
a different place and
2. configure works but the openssl libs are failing.

any ideas wrt debian installs specifically would be great, it is my
platform of choice generally.

cheers
chris

Matthew Newell

unread,
Nov 17, 2011, 11:48:18 AM11/17/11
to arsena...@googlegroups.com
I've been using debian's qt 4.7.3 packages from testing(wheezy) and
they have been working good. If you don't want to pull from testing
there should be 4.6.3 debs in squeeze.

I used to use Qt compiled from source but the debian binaries have
been working good for me since i switched.

Matt

chriso

unread,
Nov 17, 2011, 11:48:24 PM11/17/11
to arsenalsuite
matt,
the tip for qt package worked a charm, thankyou.

strangely the original error to do with shift conflicts with sip
configure has gone away. I have just successfully compiled
arsenalsuite.

thanks again.
C.

Reply all
Reply to author
Forward
0 new messages