[Ipe-discuss] Problem compiling ipe6.0pre27

Laurent Rineau laurent.rineau__ipe_discuss at normalesup.org
Wed Dec 13 14:02:26 CET 2006


On Wednesday 13 December 2006 11:26, Gwenaël Cléon wrote:
> Hello,
>
> Trying to compile ipe (on ubuntu edgy (6.10)), I have the following
> errors running make :
>
> ipeprefs.cpp:163:27: error: invalid suffix "pre27" on floating constant
> ipeprefs.cpp:164:28: error: invalid suffix "pre27" on floating constant
> ipeprefs.cpp:165:36: error: invalid suffix "pre27" on floating constant
> ipeprefs.cpp:167:36: error: invalid suffix "pre27" on floating constant
> ipeprefs.cpp:168:28: error: invalid suffix "pre27" on floating constant
> ipeprefs.cpp: In constructor ‘IpePreferences::IpePreferences()’:
> ipeprefs.cpp:163: error: ‘usr’ was not declared in this scope
> ipeprefs.cpp:163: error: ‘local’ was not declared in this scope
> ipeprefs.cpp:163: error: ‘ipe’ was not declared in this scope
> ipeprefs.cpp:163: error: ‘share’ was not declared in this scope
> ipeprefs.cpp:163: error: ‘doc’ was not declared in this scope
> ipeprefs.cpp:163: error: expected primary-expression before ‘(’ token
> ipeprefs.cpp:163: error: expected primary-expression before ‘/’ token
> ipeprefs.cpp:164: error: ‘fontmap’ was not declared in this scope
> ipeprefs.cpp:164: error: expected primary-expression before ‘(’ token
> ipeprefs.cpp:164: error: expected primary-expression before ‘/’ token
> ipeprefs.cpp:165: error: ‘ipekeys’ was not declared in this scope
> ipeprefs.cpp:165: error: expected primary-expression before ‘(’ token
> ipeprefs.cpp:165: error: expected primary-expression before ‘/’ token
> ipeprefs.cpp:166: error: ‘mozilla’ was not declared in this scope
> ipeprefs.cpp:167: error: ‘lib’ was not declared in this scope
> ipeprefs.cpp:167: error: ‘ipelets’ was not declared in this scope
> ipeprefs.cpp:167: error: expected primary-expression before ‘(’ token
> ipeprefs.cpp:167: error: expected primary-expression before ‘/’ token
> ipeprefs.cpp:168: error: ‘languages’ was not declared in this scope
> ipeprefs.cpp:168: error: expected primary-expression before ‘(’ token
> ipeprefs.cpp:168: error: expected primary-expression before ‘/’ token
> make[1]: *** [../../build/obj/ipemodel/ipeprefs.o] Erreur 1
> make[1]: quittant le répertoire «
> /home/gwenael/src/ipe-6.0pre27/src/ipemodel »
> make: *** [sub-ipemodel-make_default-ordered] Erreur 2

This is already reported as a bug:
  http://s105.theano.de/cgi-bin/bugzilla/show_bug.cgi?id=176

You can apply the following patch to ipe-6.0pre27 sources:
  http://s105.theano.de/cgi-bin/bugzilla/attachment.cgi?id=42&action=view
in order to compile it with Qt-4.2.x.

Under Linux or another Unix, enter in the ipe-6.0pre27 source directory, then 
you can type:
  wget -O 
ipe_6.0pre26-qmake-defines.patch 'http://s105.theano.de/cgi-bin/bugzilla/attachment.cgi?id=42&action=view'
and then:
  patch -p1 < ipe_6.0pre26-qmake-defines.patch



More information about the Ipe-discuss mailing list