Trouble building arsenal

40 views
Skip to first unread message

insti...@googlemail.com

unread,
Feb 9, 2011, 6:14:52 PM2/9/11
to arsenalsuite
Hey there,

am eager to give arsenal a go after beeing frustrated with Backburner
for what feels like a century.
I have trouble building it tho.

I tried on windows using mingw wich crashed on make
so i thought i'd give linux a go. Using ubuntu 10.10 i hit the wall
when trying to build PyQt (sip went fine it seems)
the error said it was unable to create the sources for QtCoreMod
Now i gave it a try using Ubuntu Karmic. So far i got Qt 4.5.3 to
build from source fine, installed the dependencies (so i think).
Sip is not compiling tho (after installing bison to get yacc). Any
hints as to what is required besides what is in the wiki ? Or what
distro/release to use best as a base ? Am doing this in virtual
machines so am pretty free to choose atm.


tkaufmann@behemothKarmicDev:~/arsenalsuite$ sudo python build.py -
color -command_only clean install release sip
/home/tkaufmann/arsenalsuite/python/blur/build.py:7:
DeprecationWarning: The popen2 module is deprecated. Use the
subprocess module.
import popen2
Starting Build
Targets: [sip]
Args: ['-color', '-command_only', 'clean', 'install', 'release']
Building: sip /home/tkaufmann/arsenalsuite/cpp/lib/sip
make[1]: Entering directory `/home/tkaufmann/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 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
btyaccpa.ske:111: error: expected specifier-qualifier-list before
‘yyparsestate’
btyaccpa.ske:128: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
btyaccpa.ske:131: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
btyaccpa.ske:180: error: expected ‘)’ before ‘*’ token
btyaccpa.ske:181: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
btyaccpa.ske:182: error: expected ‘)’ before ‘*’ token
btyaccpa.ske: In function ‘yyparse’:
btyaccpa.ske:193: error: ‘yyparsestate’ undeclared (first use in this
function)
btyaccpa.ske:193: error: (Each undeclared identifier is reported only
once
btyaccpa.ske:193: error: for each function it appears in.)
btyaccpa.ske:193: error: ‘yyerrctx’ undeclared (first use in this
function)
btyaccpa.ske:206: error: ‘yyps’ undeclared (first use in this
function)
btyaccpa.ske:257: error: ‘yypath’ undeclared (first use in this
function)
btyaccpa.ske:265: error: ‘save’ undeclared (first use in this
function)
btyaccpa.ske:309: error: ‘new’ undeclared (first use in this function)
btyaccpa.ske:309: error: expected ‘;’ before ‘Yshort’
btyaccpa.ske:310: error: expected ‘;’ before ‘YYSTYPE’
btyaccpa.ske:312: error: expected ‘;’ before ‘int’
btyaccpa.ske: In function ‘YYLex1’:
btyaccpa.ske:739: error: ‘yyps’ undeclared (first use in this
function)
btyaccpa.ske: In function ‘yyexpand’:
btyaccpa.ske:762: error: ‘new’ undeclared (first use in this function)
btyaccpa.ske:762: error: expected ‘;’ before ‘YYSTYPE’
btyaccpa.ske:763: error: expected ‘;’ before ‘int’
btyaccpa.ske:764: error: expected ‘;’ before ‘Yshort’
btyaccpa.ske:768: error: ‘delete’ undeclared (first use in this
function)
btyaccpa.ske:768: error: expected expression before ‘]’ token
btyaccpa.ske:769: error: expected expression before ‘]’ token
btyaccpa.ske:770: error: expected expression before ‘]’ token
btyaccpa.ske: At top level:
btyaccpa.ske:794: error: expected ‘)’ before ‘*’ token
btyaccpa.ske:814: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
btyaccpa.ske:825: error: expected ‘)’ before ‘*’ token
make[1]: *** [parser.o] Error 1
make[1]: Leaving directory `/home/tkaufmann/arsenalsuite/cpp/lib/sip/
sipgen'
make: *** [all] Error 2
Error Building Target: sip, cmd was: make


Thanks in advance for any input! I'd also be very happy to get some
input regarding windows building and if it is feasible atm. I was a
bit worried
i might have to break current python+qt+pyqt installs (as they are a
bit special heh)

Kind Regards,
Thorsten

insti...@googlemail.com

unread,
Feb 10, 2011, 4:42:49 AM2/10/11
to arsenalsuite
I re-cloned today and got past the error. However i am now seeing the
same error i saw with 10.10 when
trying to build pyqt skipping sip. It is telling me to make sure i
have a working Qt v make on my path.
I did the export to the 4.5.3 bin directory as in the wiki page and i
can run qmake fine without adding
the path. Any way to force it to use the 4.5.3 one ? It is telling me
to use the -q argument but i didnt
find a way to supply that option via the build script ?

Kind Regards,
Thorsten

On Feb 10, 12:14 am, "instinct...@googlemail.com"

insti...@googlemail.com

unread,
Feb 10, 2011, 5:19:49 AM2/10/11
to arsenalsuite
Fixed by manually copying qmake to usr/local/bin, next up missing
opengl stuff. I will retry with 10.10 now that i hit the same issues
in Karmic...

Regards,
Thorsten

On Feb 10, 10:42 am, "instinct...@googlemail.com"

insti...@googlemail.com

unread,
Feb 10, 2011, 6:16:12 AM2/10/11
to arsenalsuite
K, next step. Now it fails on building classgen. Cannot find
libstonegui.so.1 even tho it is on usr/local/lib and that path is in
LD_LIBRARY_PATH


On Feb 10, 11:19 am, "instinct...@googlemail.com"

insti...@googlemail.com

unread,
Feb 10, 2011, 7:07:17 AM2/10/11
to arsenalsuite
Seems to work somewhat now (using some odd manual copying of libs)
It seems i am missing jobmax7.h (compiling libabsubmit)

Any hints ??

Regards,
Thorsten

On Feb 10, 12:16 pm, "instinct...@googlemail.com"

Zsolt Czigléczki

unread,
Feb 10, 2011, 7:54:07 AM2/10/11
to arsena...@googlegroups.com
Hello Thorsten,

I have never seen those error messages you have, but here is how I do:

I compiled rev 102 on 10.04 (Kubuntu Lucid) x86_64. I always remove
qt4 and python-sip, python-qt4.
I also compile python from source, so I don't need to use root and
keep my OS clean (needs some modification in the .pro files to find
python).

Regarding Windows:
I'm on Windows XP 64-bit. I installed (32-bit):
* python 2.6.5
* MinGW-3.4.2.exe
* don't forget to copy binaries\mingw-extra-libs\ and
binaries\mingw-extra-includes\
* make sure you have to these variables set:
set QMAKESPEC=win32-g++
set PATH=%QTDIR%\bin;%PATH%
* I compiled qt from source.

Compiling on Windows takes more time.

Regards,
Zsolt

On 10 February 2011 00:14, insti...@googlemail.com

> __________ Information from ESET Mail Security, version of virus signature database 5860 (20110209) __________
>
> The message was checked by ESET Mail Security.
> http://www.eset.com
>
>
>


__________ Information from ESET Mail Security, version of virus signature database 5861 (20110210) __________

The message was checked by ESET Mail Security.
http://www.eset.com


insti...@googlemail.com

unread,
Feb 10, 2011, 9:02:57 AM2/10/11
to arsenalsuite
Thanks for the input, am preparing a windows VM to see if i can get it
to work in a vanilla
environment.

It seems that there are .sip files for a lot of different jobtypes,
but no headers or source
files are generated from them and hence they are missing in
libabsubmit. Is there
anything i can do to force the generation of these files ?

Regards,
Thorsten


On Feb 10, 1:54 pm, Zsolt Czigléczki <zscziglec...@fotokem.hu> wrote:
> Hello Thorsten,
>
> I have never seen those error messages you have, but here is how I do:
>
> I compiled rev 102 on 10.04 (Kubuntu Lucid) x86_64. I always remove
> qt4 and python-sip, python-qt4.
> I also compile python from source, so I don't need to use root and
> keep my OS clean (needs some modification in the .pro files to find
> python).
>
> Regarding Windows:
> I'm on Windows XP 64-bit. I installed (32-bit):
> * python 2.6.5
> * MinGW-3.4.2.exe
> * don't forget to copy binaries\mingw-extra-libs\ and
> binaries\mingw-extra-includes\
> * make sure you have to these variables set:
> set QMAKESPEC=win32-g++
> set PATH=%QTDIR%\bin;%PATH%
> * I compiled qt from source.
>
> Compiling on Windows takes more time.
>
> Regards,
> Zsolt
>
> On 10 February 2011 00:14, instinct...@googlemail.com

Zsolt Czigléczki

unread,
Feb 10, 2011, 9:33:35 AM2/10/11
to arsena...@googlegroups.com
I think they are generated with the classgen target, so you can do
something like this:

classmaker -s cpp/lib/classes/schema.xml -o cpp/lib/classes

Regards,
Zsolt

On 10 February 2011 15:02, insti...@googlemail.com


<insti...@googlemail.com> wrote:
> Thanks for the input, am preparing a windows VM to see if i can get it
> to work in a vanilla
> environment.
>
> It seems that there are .sip files for a lot of different jobtypes,
> but no headers or source
> files are generated from them and hence they are missing in
> libabsubmit. Is there
> anything i can do to force the generation of these files ?
>
> Regards,
> Thorsten

insti...@googlemail.com

unread,
Feb 10, 2011, 4:56:09 PM2/10/11
to arsenalsuite
I didn't really manage to get the headers created. I did give windows
in a Vanilla VM a try tho.
I did everything as advised in the wiki and here and still hit a wall
now.

I did manage to get Qt compile fine from the command line and am
pretty sure i have all ENV Variables
set properly now. Yet i am getting a file not found exception. Sadly i
can't seem to get from the traceback
WHICH file was not found. Anyone happen to have hit that same wall ?

Regards,
Thorsten



On Feb 10, 3:33 pm, Zsolt Czigléczki <zscziglec...@fotokem.hu> wrote:
> I think they are generated with the classgen target, so you can do
> something like this:
>
> classmaker -s cpp/lib/classes/schema.xml -o cpp/lib/classes
>
> Regards,
> Zsolt
>
> On 10 February 2011 15:02, instinct...@googlemail.com

insti...@googlemail.com

unread,
Feb 11, 2011, 9:17:59 AM2/11/11
to arsenalsuite
This is a triumph! Well....partly :P i managed to compile it on *nix
using pretty much the buildscript from the wiki now *phew*

But i can't really start any of the apps it seems.

i got the following in usr/local/bin now:

absubmit -> seems to work, but no options listed and the link it
returns seems obsolete
af -> crashes with undefined symbol error (libstonegui.so.1)
burner -> crashes with Cannot connect and No module named blur.Stone
(wich really is not present in the python/blur dir)
classmaker -> seems to work

I am feeling a little lost. Reading here on the group that people are
seemingly deploying it on different studios is making
me wonder a little. Am i missing the docs somewhere ??

On Feb 10, 10:56 pm, "instinct...@googlemail.com"

Zsolt Czigléczki

unread,
Feb 14, 2011, 3:28:24 AM2/14/11
to arsena...@googlegroups.com
Hi,

blur.Stone is what you compiled (pystone target, in cpp/lib/stone/).
It should be the same directory with python/blur/__init__.py.
Sometimes, apps are crashing because they cannot open the database. In
general, you can override the app's default ini with -config.

Regards,
Zsolt

On 11 February 2011 15:17, insti...@googlemail.com

> __________ Information from ESET Mail Security, version of virus signature database 5864 (20110211) __________


>
> The message was checked by ESET Mail Security.
> http://www.eset.com
>
>
>


__________ Information from ESET Mail Security, version of virus signature database 5871 (20110213) __________

insti...@googlemail.com

unread,
Feb 14, 2011, 4:04:44 AM2/14/11
to arsenalsuite
Thanks again. It seems i wasn't building everything. I was under the
impression that the example build script would build all dependencies
which
it seemingly doesn't. Will give it a go again...

Regards,
Thorsten

On Feb 14, 9:28 am, Zsolt Czigléczki <zscziglec...@fotokem.hu> wrote:
> Hi,
>
> blur.Stone is what you compiled (pystone target, in cpp/lib/stone/).
> It should be the same directory with python/blur/__init__.py.
> Sometimes, apps are crashing because they cannot open the database. In
> general, you can override the app's default ini with -config.
>
> Regards,
> Zsolt
>
> On 11 February 2011 15:17, instinct...@googlemail.com

insti...@googlemail.com

unread,
Feb 14, 2011, 3:45:35 PM2/14/11
to arsenalsuite
Okay,

i made some big steps getting pretty much everything to build with the
following exceptions:

burner (getting an error about a misplaced "." ? forgot the exact one,
will investigate)
all RPM packages (and possibly the installer packages. Seem to look
for SPEC files etc in a usr/.../redhat directory)
some image plugins (namely RLA for the moment. Will have to
investigate further there too)

now i wanted to take a look at a few Qt windows at least lol. I cannot
get freezer to start tho:

./af seems to be able to connect to the db (after a recompile as the
default port is not the default postgres port)
and then fails when adding jobwidgets. Namely FusionVideoMaker:

Error: syntax error at end of input
Line1: EXECUTE
QPSQL: Unable to create query

Is there any way to disable specific jobplugins (not going to use
Fusion anyways if that is Eyeon Fusion) ?
Does that need a recompile ? As it is a rather time consuming task in
a VM hehe.

Regards,
Thorsten

On Feb 14, 10:04 am, "instinct...@googlemail.com"

insti...@googlemail.com

unread,
Feb 15, 2011, 4:41:31 AM2/15/11
to arsenalsuite
K. I got freezer to start heh. Next up: getting burner to compile

manager still doesnt start saying blur.Stone wouldn't exist, but it
does exist and is in /usr/lib/python2.6/dist-packages
I tried explicitly adding that path to PYTHONPATH but it still won't
find it

Regards,
Thorsten

On Feb 14, 9:45 pm, "instinct...@googlemail.com"

Zsolt Czigléczki

unread,
Feb 15, 2011, 5:06:08 AM2/15/11
to arsena...@googlegroups.com
I think you don't have __init__.py in python-site-packages/blur. You
can copy it from arsenalsuite/python/blur (from your source
directory).

Regards,
Zsolt

On 15 February 2011 10:41, insti...@googlemail.com

> __________ Information from ESET Mail Security, version of virus signature database 5875 (20110215) __________


>
> The message was checked by ESET Mail Security.
> http://www.eset.com
>
>
>


__________ Information from ESET Mail Security, version of virus signature database 5875 (20110215) __________

Reply all
Reply to author
Forward
0 new messages