Re: Error compiling cinepaint on GNU/Linux
Kai-Uwe Behrmann <[email protected]>
| Newsgroups | gmane.comp.video.cinepaint.devel |
|---|---|
| Message-ID | <[email protected]> |
Damien, Thanks for reporting. Can you send me the output of the 'ls -l' command in the plug-ins/iol directory? As well doing a $ export MAKE="make -d"; make in the same directory and sending me its output. regards Kai-Uwe Behrmann -- development for color management www.behrmann.name + www.oyranos.org + www.cinepaint.org Am 24.01.07, 16:12 -0000 schrieb Damien Mas: > Dear, > > As a result of GIMP not handling 16 bits files and not supporting icc > profiles, I thought I would give a go to cinepaint. This is the result of > ./configure: > > GTK CinePaint Version 0.21-2 > > > General dependencies: > DnD support yes X11/Xmu > littleCMS yes lcms 1.16 > Oyranos no > > Plug-ins with external dependencies: > Python plug-in: yes python2.4 > OpenEXR plug-in: yes OpenEXR 1.4.0 > Tiff plug-in: yes > PNG plug-in: yes libpng 1.2.12 > Jpeg plug-in: yes > Print plug-in: yes Gutenprint 5.0.0 > FLTK dependent plug-ins: yes bracketing_to_hdr collect pdf > Thread dependent plug-ins: yes icc_examin > Flex dependent plug-ins: yes io > > I think I've had to compile and install openexr-1.4.0 as well as > fltk-1.1.7to get to this otherwise the ./configure script would make > an > error.It doesn't look to me that oyranos is really needed since lcms is > there and seems to be doing similar, please correct me if I'm wrong. The > reason for me not installing oyranos anyway is that it fails to compile as a > result of not finding an elektra library which is installed... > > The main problem is that cinepaint makes an error when running make : > > T lex.yy.o -MD -MP -MF ".deps/lex.yy.Tpo" -c -o lex.yy.o lex.yy.c; \ > then mv -f ".deps/lex.yy.Tpo" ".deps/lex.yy.Po"; else rm -f > ".deps/lex.yy.Tpo"; exit 1; fi > lexer.l: In function `get_input': > lexer.l: 100: warning: implicit declaration of function `memcpy' > lexer.l: At top level: > lex.yy.c:2408: warning: 'yyunput' defined but not used > if gcc -DHAVE_CONFIG_H -I. -I. -I../../lib -I/usr/local/include > -I/usr/include/glib- 1.2 -I/usr/lib/glib/include > -I/usr/include/gtk-1.2-I/usr/include/glib- > 1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -INONE/include > -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include > -I/usr/X11R6/include -I/usr/include/glib- 1.2 -I/usr/lib/glib/include > -I../.. -I/usr/local/include > -I/usr/include/glib-1.2-I/usr/lib/glib/include -I/usr/local/include > -g -O2 -Wall -MT > main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \ > then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f > ".deps/main.Tpo"; exit 1; fi > make[3]: *** No rule to make target `parser.tab.o', needed by `iol'. Stop. > make[3]: Leaving directory `/home/packages/cinepaint-0.21-2/plug-ins/iol' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/home/packages/cinepaint- 0.21-2/plug-ins/iol' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/packages/cinepaint-0.21-2/plug-ins' > make: *** [all-recursive] Error 1 > > If running ./configure with this scripts: > > ./configure --prefix=/opt --enable-debug --with-openexr-prefix=/opt > --enable-openexrtest > > > > then make : > > /usr/include/glib-1.2/glib.h:1308:23: warning: ISO C does not permit named > varia > dic macros > /usr/include/glib-1.2/glib.h:1311:25: warning: ISO C does not permit named > varia > dic macros > /usr/include/glib-1.2/glib.h:1314:26: warning: ISO C does not permit named > varia > dic macros > /usr/include/glib-1.2/glib.h:1317:25: warning: ISO C does not permit named > varia > dic macros > interface.c: In function `create_iol_window': > interface.c: 77: warning: ISO C forbids braced-groups within > interface.c: expressions > interface.c: 85: warning: ISO C forbids braced-groups within > interface.c: expressions > interface.c: 93: warning: ISO C forbids braced-groups within > interface.c: expressions > interface.c: 101: warning: ISO C forbids braced-groups within > interface.c: expressions > interface.c: In function `create_load_file_select': > interface.c: 157: warning: ISO C forbids braced-groups within > interface.c: expressions > interface.c: 162: warning: ISO C forbids braced-groups within > interface.c: expressions > interface.c: In function `create_save_file_selection': > interface.c: 188: warning: ISO C forbids braced-groups within > interface.c: expressions > interface.c: 193: warning: ISO C forbids braced-groups within > interface.c: expressions > interface.c: In function `create_iol_help_window': > interface.c: 297: warning: string length `1818' is greater than > interface.c: the length `509' > ISO C89 compilers are required to support > interface.c:344: warning: ISO C forbids braced-groups within expressions > if gcc -DHAVE_CONFIG_H -I. -I. -I../../lib -I/usr/local/include > -I/usr/include > /glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 > -I/usr/include/glib-1.2 > -I/usr/lib/glib/include -I/usr/X11R6/include -I/opt/include > -I/usr/include/gtk- > 1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include > -I/usr > /include/glib-1.2 -I/usr/lib/glib/include -I../.. -I/opt/include > -I/usr/include > /glib-1.2 -I/usr/lib/glib/include -I/usr/local/include -DDEBUG -g -Wall > --ped > antic -p -g -MT lex.yy.o -MD -MP -MF ".deps/lex.yy.Tpo" -c -o lex.yy.o > lex.yy.c > ; \ > then mv -f ".deps/lex.yy.Tpo" ".deps/lex.yy.Po"; else rm -f > ".deps/lex.y > y.Tpo"; exit 1; fi > lexer.l: In function `get_input': > lexer.l: 100: warning: implicit declaration of function `memcpy' > lexer.l: At top level: > lex.yy.c:2408: warning: 'yyunput' defined but not used > if gcc -DHAVE_CONFIG_H -I. -I. -I../../lib -I/usr/local/include > -I/usr/include > /glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 > -I/usr/include/glib-1.2 > -I/usr/lib/glib/include -I/usr/X11R6/include -I/opt/include > -I/usr/include/gtk- > 1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include > -I/usr > /include/glib-1.2 -I/usr/lib/glib/include -I../.. -I/opt/include > -I/usr/include > /glib-1.2 -I/usr/lib/glib/include -I/usr/local/include -DDEBUG -g -Wall > --ped > antic -p -g -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \ > then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f > ".deps/main.Tpo" > ; exit 1; fi > In file included from /usr/include/gtk-1.2/gdk/gdktypes.h:33, > from /usr/include/gtk-1.2/gdk/gdk.h:31, > from /usr/include/gtk-1.2/gtk/gtk.h:31, > from main.c:42: > /usr/include/glib-1.2/glib.h:1308:23: warning: ISO C does not permit named > varia > dic macros > /usr/include/glib-1.2/glib.h:1311:25: warning: ISO C does not permit named > varia > dic macros > /usr/include/glib-1.2/glib.h:1314:26: warning: ISO C does not permit named > varia > dic macros > /usr/include/glib-1.2/glib.h:1317:25: warning: ISO C does not permit named > varia > dic macros > main.c: In function `run': > main.c: 133: warning: ISO C forbids braced-groups within expressions > main.c: 133: warning: ISO C forbids braced-groups within expressions > make[3]: *** No rule to make target `parser.tab.o', needed by `iol'. Stop. > make[3]: Leaving directory `/home/packages/cinepaint-0.21-2/plug-ins/iol' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/home/packages/cinepaint-0.21-2/plug-ins/iol' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/packages/cinepaint-0.21-2/plug-ins' > make: *** [all-recursive] Error 1 > > > Being still a fairly newcomer (8 months or so) to GNU/Linux, it is not very > easy for me to interpret those error message and to know what is going > wrong. Therefore I would really appreciate if you could indicate to me how > to interpret this error message or at least give me a hint... > > Best regards > > Damien > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV