Hi everybody, For 2 weeks or so now, I've been having some problems compiling e_utils on Fedora Core 3. Suprisingly I do not have this problem on Fedora Core 4.
The error I get is (Note that all the libraries have been updated including imlib2!) : [Complete log is attached in the email] --------------------------------------------------------------------------------------------------------- In file included from e17setroot.c:8: /usr/local/include/Imlib2.h:107: error: syntax error before '*' token /usr/local/include/Imlib2.h:108: error: syntax error before '*' token /usr/local/include/Imlib2.h:109: error: syntax error before "colormap" /usr/local/include/Imlib2.h:110: error: syntax error before "drawable" /usr/local/include/Imlib2.h:111: error: syntax error before "mask" /usr/local/include/Imlib2.h:136: error: syntax error before '*' token /usr/local/include/Imlib2.h:137: error: syntax error before '*' token /usr/local/include/Imlib2.h:138: error: syntax error before "imlib_context_get_c olormap" /usr/local/include/Imlib2.h:139: error: syntax error before "imlib_context_get_d rawable" /usr/local/include/Imlib2.h:140: error: syntax error before "imlib_context_get_m ask" /usr/local/include/Imlib2.h:169: error: syntax error before '*' token /usr/local/include/Imlib2.h:170: error: syntax error before '*' token /usr/local/include/Imlib2.h:170: error: syntax error before '*' token /usr/local/include/Imlib2.h:208: error: syntax error before '*' token /usr/local/include/Imlib2.h:210: error: syntax error before '*' token /usr/local/include/Imlib2.h:213: error: syntax error before "pixmap" /usr/local/include/Imlib2.h:239: error: syntax error before "mask" /usr/local/include/Imlib2.h:242: error: syntax error before '*' token /usr/local/include/Imlib2.h:245: error: syntax error before "mask" /usr/local/include/Imlib2.h:255: error: syntax error before "mask" make[4]: *** [e17setroot.o] Error 1 make[4]: Leaving directory `/home/didier/rpmbuild/BUILD/e_utils-0.0.1/src/bin/e1 7setroot' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/didier/rpmbuild/BUILD/e_utils-0.0.1/src/bin' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/didier/rpmbuild/BUILD/e_utils-0.0.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/didier/rpmbuild/BUILD/e_utils-0.0.1' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.53996 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.53996 (%build) --------------------------------------------------------------------------------------------------------- Thanks for any insights! -- With kind regards, Didier. ------------ Yum/apt repository for DR17/EFL: http://sps.nus.edu.sg/~didierbe Didier F.B Casse PhD candidate, Singapore Synchrotron Light Source (SSLS) National University of Singapore.
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.53996 + umask 022 + cd /home/didier/rpmbuild/BUILD + LANG=C + export LANG + unset DISPLAY + cd /home/didier/rpmbuild/BUILD + rm -rf e_utils-0.0.1 + /usr/bin/gzip -dc /home/didier/rpmbuild/SOURCES/e_utils-0.0.1-20060120.tar.gz + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd e_utils-0.0.1 ++ /usr/bin/id -u + '[' 500 = 0 ']' ++ /usr/bin/id -u + '[' 500 = 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.53996 + umask 022 + cd /home/didier/rpmbuild/BUILD + cd e_utils-0.0.1 + LANG=C + export LANG + unset DISPLAY + rm -rf missing + touch README + aclocal -I m4 /usr/share/aclocal/speex.m4:10: warning: underquoted definition of XIPH_PATH_SPE EX run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal /usr/share/aclocal/nspr.m4:8: warning: underquoted definition of AM_PATH_NSPR /usr/share/aclocal/linc.m4:1: warning: underquoted definition of AM_PATH_LINC /usr/share/aclocal/librsvg.m4:11: warning: underquoted definition of AM_PATH_LIB RSVG /usr/share/aclocal/libole2.m4:18: warning: underquoted definition of AM_PATH_LIB OLE2 /usr/share/aclocal/aalib.m4:12: warning: underquoted definition of AM_PATH_AALIB + autoheader + autoconf + libtoolize --copy --automake + automake --add-missing --copy --gnu configure.in: installing `./install-sh' configure.in: installing `./missing' src/bin/e17setroot/Makefile.am: installing `./depcomp' + CFLAGS='-O2 -g -pipe -m32 -march=i386 -mtune=pentium4' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -m32 -march=i386 -mtune=pentium4' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -m32 -march=i386 -mtune=pentium4' + export FFLAGS ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /bin/rm -f ./config.guess ++ basename ./config.guess + /bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess `/usr/lib/rpm/redhat/config.guess' -> `./config.guess' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /bin/rm -f ./config.sub ++ basename ./config.sub + /bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub `/usr/lib/rpm/redhat/config.sub' -> `./config.sub' + ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --targe t=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bin dir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includ edir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/v ar --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for i686-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... gcc3 checking for library containing strerror... none required checking for i686-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking for i686-redhat-linux-gnu-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking build system type... i686-redhat-linux-gnu checking host system type... i686-redhat-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for i686-redhat-linux-gnu-g++... no checking for i686-redhat-linux-gnu-c++... no checking for i686-redhat-linux-gnu-gpp... no checking for i686-redhat-linux-gnu-aCC... no checking for i686-redhat-linux-gnu-CC... no checking for i686-redhat-linux-gnu-cxx... no checking for i686-redhat-linux-gnu-cc++... no checking for i686-redhat-linux-gnu-cl... no checking for i686-redhat-linux-gnu-FCC... no checking for i686-redhat-linux-gnu-KCC... no checking for i686-redhat-linux-gnu-RCC... no checking for i686-redhat-linux-gnu-xlC_r... no checking for i686-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for i686-redhat-linux-gnu-g77... no checking for i686-redhat-linux-gnu-f77... no checking for i686-redhat-linux-gnu-xlf... no checking for i686-redhat-linux-gnu-frt... no checking for i686-redhat-linux-gnu-pgf77... no checking for i686-redhat-linux-gnu-fort77... no checking for i686-redhat-linux-gnu-fl32... no checking for i686-redhat-linux-gnu-af77... no checking for i686-redhat-linux-gnu-f90... no checking for i686-redhat-linux-gnu-xlf90... no checking for i686-redhat-linux-gnu-pgf90... no checking for i686-redhat-linux-gnu-epcf90... no checking for i686-redhat-linux-gnu-f95... no checking for i686-redhat-linux-gnu-fort... no checking for i686-redhat-linux-gnu-xlf95... no checking for i686-redhat-linux-gnu-ifc... no checking for i686-redhat-linux-gnu-efc... no checking for i686-redhat-linux-gnu-pgf95... no checking for i686-redhat-linux-gnu-lf95... no checking for i686-redhat-linux-gnu-gfortran... no checking for g77... g77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether g77 accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse nm output from gcc object... ok checking for objdir... .libs checking for i686-redhat-linux-gnu-ar... no checking for ar... ar checking for i686-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for i686-redhat-linux-gnu-strip... no checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for g77 option to produce PIC... -fPIC checking if g77 PIC flag -fPIC works... yes checking if g77 supports -c -o file.o... yes checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for __attribute__... yes checking for evas-config... /usr/bin/evas-config checking for evas - version >= 0.9.9... yes checking for ecore-config... /usr/bin/ecore-config checking for ecore - version >= 0.9.9... yes checking for esmart-config... /usr/bin/esmart-config checking for esmart - version >= 0.9.0... yes checking for edje-config... /usr/bin/edje-config checking for edje - version >= 0.5.0... yes checking for eet-config... /usr/bin/eet-config checking for eet - version >= 0.9.10... yes checking for ewl-config... /usr/bin/ewl-config checking for ewl - version >= 0.0.4... yes checking for engrave-config... /usr/bin/engrave-config checking for engrave - version >= 0.1.0... yes checking for imlib2-config... /usr/local/bin/imlib2-config checking for imlib2 - version >= 1.0.0... yes checking for enlightenment-config... /usr/bin/enlightenment-config checking for enlightenment - version >= 0.16.999... yes checking for epsilon-config... /usr/bin/epsilon-config checking for epsilon - version >= 0.3.0... yes configure: creating ./config.status config.status: creating Makefile config.status: creating e_utils.spec config.status: creating data/Makefile config.status: creating data/emblem/Makefile config.status: creating data/emblem/default/Makefile config.status: creating data/emblem/gant/Makefile config.status: creating data/entangle/Makefile config.status: creating data/entangle/default/Makefile config.status: creating data/exige/Makefile config.status: creating data/exige/default/Makefile config.status: creating data/eapp_edit/Makefile config.status: creating data/eapp_edit/default/Makefile config.status: creating src/Makefile config.status: creating src/bin/Makefile config.status: creating src/bin/eapp_edit/Makefile config.status: creating src/bin/e17setroot/Makefile config.status: creating src/bin/emblem/Makefile config.status: creating src/bin/entangle/Makefile config.status: creating src/bin/exige/Makefile config.status: creating src/bin/ethemes/Makefile config.status: creating debian/changelog config.status: creating config.h config.status: executing depfiles commands config.status: executing default commands ------------------------------------------------------------------------ e_utils 0.0.1 ------------------------------------------------------------------------ Configuration Options Summary: Imlib2..........: yes eet.............: yes Evas............: yes Ecore...........: yes Edje............: yes Esmart..........: yes Engrave.........: yes Epsilon.........: yes Ewl.............: yes Enlightenment...: yes Utilities that will be built: Eapp_Edit.......: yes E17 Setroot.....: yes Entangle........: yes Emblem..........: yes Exige...........: yes Ethemes.........: yes Compilation..........: make Installation.........: make install prefix.........: /usr binaries.......: /usr/bin + /usr/bin/make -j3 /usr/bin/make all-recursive make[1]: Entering directory `/home/didier/rpmbuild/BUILD/e_utils-0.0.1' Making all in src make[2]: Entering directory `/home/didier/rpmbuild/BUILD/e_utils-0.0.1/src' Making all in bin make[3]: Entering directory `/home/didier/rpmbuild/BUILD/e_utils-0.0.1/src/bin' Making all in eapp_edit make[4]: Entering directory `/home/didier/rpmbuild/BUILD/e_utils-0.0.1/src/bin/e app_edit' if gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../lib -I/usr/local/include -I../../ ../lib -I/usr/include/ewl -I/usr/include/engrave -O2 -g -pipe -m32 -march=i38 6 -mtune=pentium4 -MT eapp_edit_main.o -MD -MP -MF ".deps/eapp_edit_main.Tpo" -c -o eapp_edit_main.o eapp_edit_main.c; \ then mv -f ".deps/eapp_edit_main.Tpo" ".deps/eapp_edit_main.Po"; else rm -f ".de ps/eapp_edit_main.Tpo"; exit 1; fi /bin/sh ../../../libtool --tag=CC --mode=link gcc -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -o e_util_eapp_edit eapp_edit_main.o -L/usr/lib -lewl -L/usr /lib -lemotion -L/usr/lib -levas -L/usr/lib -lecore -lecore_job -lecore_x -lecor e_evas -lecore_con -lecore_ipc -lecore_txt -lecore_fb -lecore_config -lecore_fil e -lecore_dbus -L/usr/lib -leet -lz -ljpeg -lm -ldl -L/usr/lib -ledje -L/usr/lib -lecore -lecore_job -lecore_x -lecore_evas -lecore_con -lecore_ipc -lecore_txt -lecore_fb -lecore_config -lecore_file -lecore_dbus -L/usr/lib -leet -lz -ljpeg -lm -L/usr/lib -levas -lm -L/usr/lib -leet -lz -ljpeg -L/usr/lib -lecore -lecore _job -lecore_x -lecore_evas -lecore_con -lecore_ipc -lecore_txt -lecore_fb -leco re_config -lecore_file -lecore_dbus -L/usr/lib -leet -lz -ljpeg -lm -L/usr/lib - lengrave -L/usr/lib -lecore -lecore_job -lecore_x -lecore_evas -lecore_con -leco re_ipc -lecore_txt -lecore_fb -lecore_config -lecore_file -lecore_dbus -L/usr/li b -leet -lz -ljpeg -lm -L/usr/lib -levas -lm mkdir .libs gcc -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -o e_util_eapp_edit eapp_edit_ main.o -L/usr/lib /usr/lib/libewl.so -L/usr/kerberos/lib -L/usr/X11R6/lib -L/ho me/didier/rpmbuild/BUILD/ecore-0.9.9.023/src/lib/ecore/.libs -L/home/didier/rpmb uild/BUILD/ecore-0.9.9.023/src/lib/ecore_txt/.libs -L/home/didier/rpmbuild/BUILD /ecore-0.9.9.023/src/lib/ecore_job/.libs -L/home/didier/rpmbuild/BUILD/ecore-0.9 .9.023/src/lib/ecore_x/.libs -L/home/didier/rpmbuild/BUILD/ecore-0.9.9.023/src/l ib/ecore_fb/.libs -L/home/didier/rpmbuild/BUILD/ecore-0.9.9.023/src/lib/ecore_co n/.libs /usr/lib/libemotion.so /usr/lib/libedje.so /usr/lib/libembryo.so /usr/li b/libengrave.so -lfl /usr/lib/libecore_evas.so /usr/lib/libecore_x.so -lXcursor -lXp -lXinerama -lXrandr -lX11 -lXext /usr/lib/libecore_job.so /usr/lib/libecore _txt.so /usr/lib/libecore_fb.so /usr/lib/libecore_config.so /usr/lib/libecore_ip c.so /usr/lib/libecore_file.so /usr/lib/libecore_dbus.so /usr/lib/libecore_con.s o /usr/lib/libecore.so -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv /usr/lib/libevas.so -ldl /usr/lib/libfreetype.so /usr/lib/libeet.so -lz /usr/lib/libjpeg.so -lm make[4]: Leaving directory `/home/didier/rpmbuild/BUILD/e_utils-0.0.1/src/bin/ea pp_edit' Making all in e17setroot make[4]: Entering directory `/home/didier/rpmbuild/BUILD/e_utils-0.0.1/src/bin/e 17setroot' if gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../lib -I/usr/local/include -I../../ ../lib -I/usr/include/ewl -I/usr/include/engrave -I/usr/local/include -I/usr/X11 R6/include -I/usr/include -I/usr/include/enlightenment -DUSE_E_CONFIG_H -O2 - g -pipe -m32 -march=i386 -mtune=pentium4 -MT e17setroot.o -MD -MP -MF ".deps/e17 setroot.Tpo" -c -o e17setroot.o e17setroot.c; \ then mv -f ".deps/e17setroot.Tpo" ".deps/e17setroot.Po"; else rm -f ".deps/e17se troot.Tpo"; exit 1; fi In file included from e17setroot.c:8: /usr/local/include/Imlib2.h:107: error: syntax error before '*' token /usr/local/include/Imlib2.h:108: error: syntax error before '*' token /usr/local/include/Imlib2.h:109: error: syntax error before "colormap" /usr/local/include/Imlib2.h:110: error: syntax error before "drawable" /usr/local/include/Imlib2.h:111: error: syntax error before "mask" /usr/local/include/Imlib2.h:136: error: syntax error before '*' token /usr/local/include/Imlib2.h:137: error: syntax error before '*' token /usr/local/include/Imlib2.h:138: error: syntax error before "imlib_context_get_c olormap" /usr/local/include/Imlib2.h:139: error: syntax error before "imlib_context_get_d rawable" /usr/local/include/Imlib2.h:140: error: syntax error before "imlib_context_get_m ask" /usr/local/include/Imlib2.h:169: error: syntax error before '*' token /usr/local/include/Imlib2.h:170: error: syntax error before '*' token /usr/local/include/Imlib2.h:170: error: syntax error before '*' token /usr/local/include/Imlib2.h:208: error: syntax error before '*' token /usr/local/include/Imlib2.h:210: error: syntax error before '*' token /usr/local/include/Imlib2.h:213: error: syntax error before "pixmap" /usr/local/include/Imlib2.h:239: error: syntax error before "mask" /usr/local/include/Imlib2.h:242: error: syntax error before '*' token /usr/local/include/Imlib2.h:245: error: syntax error before "mask" /usr/local/include/Imlib2.h:255: error: syntax error before "mask" make[4]: *** [e17setroot.o] Error 1 make[4]: Leaving directory `/home/didier/rpmbuild/BUILD/e_utils-0.0.1/src/bin/e1 7setroot' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/didier/rpmbuild/BUILD/e_utils-0.0.1/src/bin' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/didier/rpmbuild/BUILD/e_utils-0.0.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/didier/rpmbuild/BUILD/e_utils-0.0.1' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.53996 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.53996 (%build)