Compiling Xaralx on ubuntu Lucid

Asked by Joaquin Duo

Hi All!

I am using an up to date Ubuntu Lucid. I tried to compile Xaralx via the ubuntu packages but got the following errors.
I will appreciate any help.

sudo apt-get build-dep xaralx
apt-get source xaralx
cd xaralx-0.7r1785
dpkg-buildpackage -rfakeroot -b

And i got the following error:
make[2]: Entering directory `... /xaralx-0.7r1785/PreComp'
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"XaraLX\" -DVERSION=\"0.7\" -DENABLE_BINRELOC= -DHAVE_LIBPTHREAD=1 -DBR_PTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOIDP=8 -DSIZEOF_LONG_LONG=8 -DSIZEOF_LONG=8 -DSIZEOF_INT=4 -DSIZEOF_SHORT=2 -DSIZEOF___INT64=0 -Wall -Wno-unknown-pragmas -g -fexceptions -O3 -fno-strict-aliasing -Wstrict-aliasing=2 -g -O2 -I/usr/lib/wx/include/base-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DwxUSE_GUI=0 -I/usr/include/libxml2 -I../PreComp -I../wxOil -I.././Kernel -I.././wxOil -I.././wxOil/Res -I.././tools -I.././GDraw -I.././PreComp -I.././wxXtra -DUSE_NATIVE_XLONG -DBUILDSHADOWS -DOLD_MATRIX_TRANSFORMATIONS -DVECTOR_STROKING -DEXCLUDE_FROM_XARALX -DNEW_SHADOW_RENDER -DNO_XARACMS -DNEW_FEATURES -DSHOWPORTNOTE -DDO_EXPORT -x c++-header -MT camtypes.h.gch -MD -MP -MF ".deps/camtypes.h.Tpo" -c -o camtypes.h.gch camtypes.h; \
 then mv -f ".deps/camtypes.h.Tpo" ".deps/camtypes.h.Po"; else rm -f ".deps/camtypes.h.Tpo"; exit 1; fi;
In file included from .././wxXtra/wxXtra.h:9,
                 from ../wxOil/stdwx.h:170,
                 from camtypes.h:117:
.././wxXtra/framemanager.h:33:1: warning: "WXDLLIMPEXP_AUI" redefined
In file included from /usr/include/wx-2.8/wx/defs.h:490,
                 from /usr/include/wx-2.8/wx/wx.h:15,
                 from ../wxOil/stdwx.h:100,
                 from camtypes.h:117:
/usr/include/wx-2.8/wx/dlimpexp.h:213:1: warning: this is the location of the previous definition
In file included from /usr/include/wx-2.8/wx/dcbuffer.h:15,
                 from ../wxOil/stdwx.h:108,
                 from camtypes.h:117:

... [snip] ...

.././Kernel/dialogop.h:425: error: 'CTreeItemID' has not been declared
.././Kernel/dialogop.h:426: error: 'CTreeItemID' has not been declared
.././Kernel/dialogop.h:427: error: 'CTreeItemID' does not name a type
.././Kernel/dialogop.h:428: error: 'CTreeItemID' does not name a type
.././Kernel/dialogop.h:429: error: 'CTreeItemID' has not been declared
.././Kernel/dialogop.h:430: error: 'CTreeItemID' does not name a type
.././Kernel/dialogop.h:431: error: 'CTreeItemID' does not name a type
.././Kernel/dialogop.h:432: error: 'CTreeItemID' has not been declared
In file included from .././Kernel/bars.h:107,
                 from camtypes.h:166:
../wxOil/dockbar.h:188: error: invalid use of incomplete type 'struct wxToolBar'
/usr/include/wx-2.8/wx/frame.h:28: error: forward declaration of 'struct wxToolBar'
../wxOil/dockbar.h:325: error: field 'BackBrush' has incomplete type
make[2]: *** [camtypes.h.gch] Error 1
make[2]: Leaving directory `... /xaralx-0.7r1785/PreComp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `... /xaralx-0.7r1785'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

It seems these command should work out of the box, but i guess some dependency has changed.
How could i fix this?

Cheers!
Joaquín

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu xaralx Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Joaquin Duo (joaduo) said :
#1

I forgot
Its Ubuntu Lucid amd64
Thanks in advance!
Joaquín

Revision history for this message
Theodotos Andreou (theodotos) said :
#2

xaralx is already included in the repositories. Why bother re-compiling it?

Revision history for this message
Joaquin Duo (joaduo) said :
#3

Hi Theodotos!

Well, i would like to make some modifications to the code. :-D

Revision history for this message
Theodotos Andreou (theodotos) said :
#4

Makes sense. But you have embarked in an interesting journey with unknown destination! :) You will get better help if you contact the developers of xara. They should have a forum or mailing list for these issues.

Can you help with this problem?

Provide an answer of your own, or ask Joaquin Duo for more information if necessary.

To post a message you must log in.