Hello, today I cannot compile gwenview from SVN. It looks like it is related to the TQT port (on 3.5.12 it compiled correctly). The exact same error occurs on RHEL5, RHEL6 and Fedora15.
See log below.
========== ibtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I/opt/trinity/include -I/usr/lib64/qt-3.3/include -I. -include tqt.h -I/opt/trinity/include/tqt -DQT_CLEAN_NAMESPACE -DQT_THREAD_SUPPORT -D_REENTRANT -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wformat-security -Wmissing-format-attribute -I/opt/trinity/include/tqt -MT transupp.lo -MD -MP -MF .deps/transupp.Tpo -c transupp.c -fPIC -DPIC -o .libs/transupp.o distcc[20028] ERROR: compile /home/albator/.ccache/tmp/transupp.tmp.aria.vtf.20025.i on localhost failed In file included from /usr/include/jpeglib.h:1097, from transupp.c:22: ./jpegint.h:46: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:57: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:65: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:77: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:84: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:92: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:103: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:114: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:121: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:138: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:147: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:159: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:167: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:178: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:190: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:210: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:220: error: expected declaration specifiers or '...' before 'inverse_DCT_method_ptr' ./jpegint.h:221: error: expected declaration specifiers or '...' before '(' token ./jpegint.h:226: error: expected identifier or '(' before 'void' ./jpegint.h:228: error: expected ';' before 'inverse_DCT_method_ptr' ./jpegint.h:233: error: expected identifier or '(' before 'void' ./jpegint.h:234: error: expected ';' before 'JTQT_METHOD' ./jpegint.h:247: error: expected identifier or '(' before 'void' ./jpegint.h:248: error: expected ';' before 'JTQT_METHOD' ./jpegint.h:255: error: expected identifier or '(' before 'void' ./jpegint.h:256: error: expected ';' before 'JTQT_METHOD' transupp.c: In function 'jtransform_adjust_parameters': transupp.c:732: warning: unused parameter 'srcinfo' transupp.c: In function 'jcopy_markers_execute': transupp.c:887: warning: unused parameter 'option' make[3]: *** [transupp.lo] Error 1 make[3]: Leaving directory `/home/albator/rpmbuild/BUILD/applications/gwenview/src/imageutils' ==========
Thanks for your help (I would really like to release gwenview for TDE 3.5.13). Francois Andriot
On 30 October 2011 13:31, Francois Andriot francois.andriot@free.fr wrote:
Hello, today I cannot compile gwenview from SVN. It looks like it is related to the TQT port (on 3.5.12 it compiled correctly). The exact same error occurs on RHEL5, RHEL6 and Fedora15.
See log below.
========== ibtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I/opt/trinity/include -I/usr/lib64/qt-3.3/include -I. -include tqt.h -I/opt/trinity/include/tqt -DQT_CLEAN_NAMESPACE -DQT_THREAD_SUPPORT -D_REENTRANT -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wformat-security -Wmissing-format-attribute -I/opt/trinity/include/tqt -MT transupp.lo -MD -MP -MF .deps/transupp.Tpo -c transupp.c -fPIC -DPIC -o .libs/transupp.o distcc[20028] ERROR: compile /home/albator/.ccache/tmp/transupp.tmp.aria.vtf.20025.i on localhost failed In file included from /usr/include/jpeglib.h:1097, from transupp.c:22: ./jpegint.h:46: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:57: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:65: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:77: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:84: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:92: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:103: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:114: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:121: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:138: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:147: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:159: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:167: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:178: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:190: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:210: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:220: error: expected declaration specifiers or '...' before 'inverse_DCT_method_ptr' ./jpegint.h:221: error: expected declaration specifiers or '...' before '(' token ./jpegint.h:226: error: expected identifier or '(' before 'void' ./jpegint.h:228: error: expected ';' before 'inverse_DCT_method_ptr' ./jpegint.h:233: error: expected identifier or '(' before 'void' ./jpegint.h:234: error: expected ';' before 'JTQT_METHOD' ./jpegint.h:247: error: expected identifier or '(' before 'void' ./jpegint.h:248: error: expected ';' before 'JTQT_METHOD' ./jpegint.h:255: error: expected identifier or '(' before 'void' ./jpegint.h:256: error: expected ';' before 'JTQT_METHOD' transupp.c: In function 'jtransform_adjust_parameters': transupp.c:732: warning: unused parameter 'srcinfo' transupp.c: In function 'jcopy_markers_execute': transupp.c:887: warning: unused parameter 'option' make[3]: *** [transupp.lo] Error 1 make[3]: Leaving directory `/home/albator/rpmbuild/BUILD/applications/gwenview/src/imageutils' ==========
Thanks for your help (I would really like to release gwenview for TDE 3.5.13). Francois Andriot
Maybe it is related to the version of your jpg library. what version is it?
Calvin
Le 30/10/2011 19:15, Calvin Morrison a écrit :
Maybe it is related to the version of your jpg library. what version is it?
Calvin
Hello, the versions are as follow: RHEL 5: libjpeg-6b-37 RHEL 6: libjpeg-6b-46 Fedora 15: libjpeg-turbo-1.1.1
Hello, today I cannot compile gwenview from SVN. It looks like it is related to the TQT port (on 3.5.12 it compiled correctly). The exact same error occurs on RHEL5, RHEL6 and Fedora15.
See log below.
========== ibtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I/opt/trinity/include -I/usr/lib64/qt-3.3/include -I. -include tqt.h -I/opt/trinity/include/tqt -DQT_CLEAN_NAMESPACE -DQT_THREAD_SUPPORT -D_REENTRANT -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wformat-security -Wmissing-format-attribute -I/opt/trinity/include/tqt -MT transupp.lo -MD -MP -MF .deps/transupp.Tpo -c transupp.c -fPIC -DPIC -o .libs/transupp.o distcc[20028] ERROR: compile /home/albator/.ccache/tmp/transupp.tmp.aria.vtf.20025.i on localhost failed In file included from /usr/include/jpeglib.h:1097, from transupp.c:22: ./jpegint.h:46: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:57: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:65: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:77: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:84: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:92: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:103: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:114: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:121: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:138: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:147: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:159: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:167: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:178: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:190: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:210: error: expected specifier-qualifier-list before 'JTQT_METHOD' ./jpegint.h:220: error: expected declaration specifiers or '...' before 'inverse_DCT_method_ptr' ./jpegint.h:221: error: expected declaration specifiers or '...' before '(' token ./jpegint.h:226: error: expected identifier or '(' before 'void' ./jpegint.h:228: error: expected ';' before 'inverse_DCT_method_ptr' ./jpegint.h:233: error: expected identifier or '(' before 'void' ./jpegint.h:234: error: expected ';' before 'JTQT_METHOD' ./jpegint.h:247: error: expected identifier or '(' before 'void' ./jpegint.h:248: error: expected ';' before 'JTQT_METHOD' ./jpegint.h:255: error: expected identifier or '(' before 'void' ./jpegint.h:256: error: expected ';' before 'JTQT_METHOD' transupp.c: In function 'jtransform_adjust_parameters': transupp.c:732: warning: unused parameter 'srcinfo' transupp.c: In function 'jcopy_markers_execute': transupp.c:887: warning: unused parameter 'option' make[3]: *** [transupp.lo] Error 1 make[3]: Leaving directory `/home/albator/rpmbuild/BUILD/applications/gwenview/src/imageutils' ==========
Thanks for your help (I would really like to release gwenview for TDE 3.5.13). Francois Andriot
Ooh, nasty. Looks like that one snuck in without my knowledge somehow.
Replace all instances of JTQT_METHOD with JMETHOD.
Tim
Le 31/10/2011 18:14, Timothy Pearson a écrit :
Ooh, nasty. Looks like that one snuck in without my knowledge somehow.
Replace all instances of JTQT_METHOD with JMETHOD.
Tim
Thanks for your help, that did solve the problem, and now Gwenview will be available for RHEL/Fedora users :-) (FYI the patch is attached, if another packager wants to get it directy ...)
Francois Andriot