Problems to compiler in Slackware 12

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problems to compiler in Slackware 12

Eduardo Troleis
I am having problems compiling digikam-0.9.2. I'm using a
Slackware 12. I've successfully compiled and installed all dependencies. The configure
script doesn't show up any errors. Please help.

[/digikam-0.9.2] make
make all-recursive
make[1]: Entering directory `/digikam-0.9.2'
Making all in digikam
make[2]: Entering directory `/digikam-0.9.2/digikam'
Making all in sqlite
make[3]: Entering directory `/digikam- 0.9.2/digikam/sqlite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/digikam-0.9.2/digikam/sqlite'
Making all in libs
make[3]: Entering directory `/digikam-0.9.2/digikam/libs'
Making all in lprof
make[4]: Entering directory `/digikam-0.9.2/digikam/libs/lprof'
if /bin/sh ../../../libtool --silent --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -I. -I. -I../../.. -DQT_THREAD_SUPPORT -D_REENTRANT
-w -fomit-frame-pointer -Wno-long-long -Wundef -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall
-W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute
-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -MT liblprof_la-cmshull.lo
-MD -MP -MF ".deps/liblprof_la-cmshull.Tpo" -c -o
liblprof_la- cmshull.lo `test -f 'cmshull.cpp' || echo './'`cmshull.cpp;
\
then mv -f ".deps/liblprof_la-cmshull.Tpo"
".deps/liblprof_la-cmshull.Plo"; else rm -f
".deps/liblprof_la- cmshull.Tpo"; exit 1; fi
lcmsprf.h:79: error: 'BOOL' does not name a type
lcmsprf.h:96: error: 'BOOL' does not name a type
lcmsprf.h:98: error: 'BOOL' does not name a type
lcmsprf.h :100: error: 'BOOL' does not name a type
lcmsprf.h:101: error: 'BOOL' does not name a type
lcmsprf.h:106: error: 'BOOL' does not name a type
lcmsprf.h:108: error: 'BOOL' does not name a type
lcmsprf.h:110: error: 'BOOL' does not name a type
lcmsprf.h:114: error: 'BOOL' does not name a type
lcmsprf.h:116: error: 'BOOL' does not name a type
lcmsprf.h:120: error: 'BOOL' does not name a type
lcmsprf.h:180: error: expected initializer before '*' token
lcmsprf.h:188: error: 'SETOFPATCHES' does not name a type
lcmsprf.h:194: error: 'SETOFPATCHES' does not name a type
lcmsprf.h :196: error: 'BOOL' does not name a type
lcmsprf.h:201: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:202: error: 'BOOL' does not name a type
lcmsprf.h:204: error: 'BOOL' does not name a type
lcmsprf.h:205: error: 'BOOL' does not name a type
lcmsprf.h:214: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:222: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:224: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:225: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:227: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:228: error: 'SETOFPATCHES' has not been declared
lcmsprf.h :230: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:231: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:233: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:234: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:236: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:237: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:241: error: 'SETOFPATCHES' has not been declared
lcmsprf.h :242: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:243: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:270: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:274: error: 'BOOL' does not name a type
lcmsprf.h:277: error: 'BOOL' does not name a type
lcmsprf.h:280: error: 'BOOL' does not name a type
lcmsprf.h:300: error: 'BOOL' does not name a type
lcmsprf.h:301: error: 'BOOL' does not name a type
lcmsprf.h:308: error: 'BOOL' does not name a type
lcmsprf.h:309: error: 'BOOL' does not name a type
lcmsprf.h:311: error: 'BOOL' does not name a type
lcmsprf.h:327: error: 'SETOFPATCHES' has not been declared
lcmsprf.h:342: error: 'BOOL' does not name a type
lcmsprf.h:401: error: 'BOOL' does not name a type
lcmsprf.h:415: error: 'BOOL' does not name a type
lcmsprf.h:416: error: 'BOOL' does not name a type
lcmsprf.h:417: error: 'BOOL' does not name a type
lcmsprf.h:419: error: 'BOOL' has not been declared
lcmsprf.h:420: error: 'BOOL' has not been declared
lcmsprf.h:423: error: 'BOOL' does not name a type
lcmsprf.h:446: error: 'BOOL' does not name a type
lcmsprf.h:447: error: 'BOOL' does not name a type
lcmsprf.h:462: error: 'BOOL' does not name a type
lcmsprf.h:470: error: 'BOOL' does not name a type
lcmsprf.h:471: error: 'BOOL' does not name a type
cmshull.cpp:44: error: 'BOOL' does not name a type
cmshull.cpp:45: error: 'BOOL' does not name a type
cmshull.cpp:47: error: 'BOOL' does not name a type
cmshull.cpp:105: error: 'BOOL' does not name a type
cmshull.cpp:114: error: 'BOOL' does not name a type
cmshull.cpp:124: error: 'BOOL' does not name a type
cmshull.cpp:125: error: 'BOOL' does not name a type
cmshull.cpp: In function '_vertex_struct* MakeNullVertex(HULL*)':
cmshull.cpp:180: error: 'struct _vertex_struct' has no member named
'onhull'
cmshull.cpp:181: error: 'struct _vertex_struct' has no member named
'mark'
cmshull.cpp: In function '_edge_struct* MakeNullEdge(HULL*)':
cmshull.cpp:203: error: 'struct _edge_struct' has no member named
'DoDelete'
cmshull.cpp: In function '_face_struct* MakeNullFace(HULL*)':
cmshull.cpp:226: error: 'struct _face_struct' has no member named
'Visible'
cmshull.cpp: At global scope:
cmshull.cpp:274: error: 'BOOL' does not name a type
cmshull.cpp: In function 'void CleanEdges(HULL*)':
cmshull.cpp:338: error: 'struct _face_struct' has no member named
'Visible'
cmshull.cpp:351: error: 'struct _edge_struct' has no member named
'DoDelete'
cmshull.cpp:361: error: 'struct _edge_struct' has no member named
'DoDelete'
cmshull.cpp: In function 'void CleanFaces(HULL*)':
cmshull.cpp:382: error: 'struct _face_struct' has no member named
'Visible'
cmshull.cpp:391: error: 'struct _face_struct' has no member named
'Visible'
cmshull.cpp: In function 'void CleanVertices(HULL*)':
cmshull.cpp:419: error: 'struct _vertex_struct' has no member named
'onhull'
cmshull.cpp:419: error: 'struct _vertex_struct' has no member named
'onhull'
cmshull.cpp:428: error: 'struct _vertex_struct' has no member named
'mark'
cmshull.cpp:428: error: 'struct _vertex_struct' has no member named
'onhull'
cmshull.cpp :437: error: 'struct _vertex_struct' has no member named
'mark'
cmshull.cpp:437: error: 'struct _vertex_struct' has no member named
'onhull'
cmshull.cpp:453: error: 'struct _vertex_struct' has no member named
'onhull'
cmshull.cpp: In function 'void MakeCcw(_face_struct*, _edge_struct*,
_vertex_struct*)':
cmshull.cpp:482: error: 'struct _face_struct' has no member named
'Visible'
cmshull.cpp: At global scope:
cmshull.cpp:568: error: 'BOOL' does not name a type
cmshull.cpp:637: error: 'BOOL' does not name a type
cmshull.cpp: In function 'void ConstructHull(HULL*)':
cmshull.cpp:696: error: 'BOOL' was not declared in this scope
cmshull.cpp:696: error: expected `;' before 'changed'
cmshull.cpp:703: error: 'changed' was not declared in this scope
cmshull.cpp :705: error: 'struct _vertex_struct' has no member named
'mark'
cmshull.cpp:707: error: 'struct _vertex_struct' has no member named
'mark'
cmshull.cpp:708: error: 'AddOne' was not declared in this scope
cmshull.cpp: At global scope:
cmshull.cpp:1311: error: 'BOOL' does not name a type
cmshull.cpp:1326: error: 'BOOL' does not name a type
cmshull.cpp:1351: error: 'BOOL' does not name a type
make[4]: *** [liblprof_la-cmshull.lo] Error 1
make[4]: Leaving directory `/digikam-0.9.2/digikam/libs/lprof'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/digikam-0.9.2/digikam/libs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/digikam-0.9.2/digikam'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/digikam-0.9.2'
make: *** [all] Error 2

Please, help me.

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Problems to compiler in Slackware 12

Bugzilla from casta@xwing.info
Le dimanche 21 octobre 2007, Eduardo Troleis a écrit :
> I am having problems compiling digikam-0.9.2. I'm using a
> Slackware 12. I've successfully compiled and installed all
> dependencies. The configure
> script doesn't show up any errors. Please help.

Hi,

This is because your lcms version is >= 1.17.
You should either use digikam 0.9.3-beta version that fixes it (better
solution), or use this patch :
http://websvn.kde.org/branches/extragear/kde3/graphics/digikam/libs/lprof/lcmsprf.h?r1=670778&r2=703199 
against the 0.9.2 version to fix it

regards,
Guillaume

--
Guillaume Castagnino
    [hidden email] / [hidden email]
GnuPG/PGP key :
http://wwwkeys.pgp.net:11371/pks/lookup?op=vindex&search=0x8AF468AF
Fingerprint : CD52 FE40 9592 BA1E E89D 5FB6 820E 4742 8AF4 68AF
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users