GNOME Bugzilla – Bug 305660
evolution 2.2.2 fails to compile with pilot-link enabled
Last modified: 2013-09-13 12:24:52 UTC
Please describe the problem: When the pilot conduits are enable with configure the compile fails with this error. checking for gnome-pilot-2.0... yes checking GNOME_PILOT_CFLAGS... -DORBIT2=1 -pthread -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/libgnome-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/freetype2/config -I/usr/include/libxml2 checking GNOME_PILOT_LIBS... -Wl,--export-dynamic -pthread -lgpilotd -lgpilotdcm -lgpilotdconduit -lpisock -lpisync checking if pilot-link handles UTF-8 conversions... no configure: error: evolution requires pilot-link to have working UTF-8 conversion routines Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information: This is the summary from the configure of pilot-link 0.11.8 Options detected/selected -------------------------. pilot-link version...... : 0.11.8 libpisock version....... : 8.0.5 libpisync version....... : 0.0.1 Build for host.......... : i686-pc-linux-gnu Extra Warnings.......... : no Direct USB support...... : yes, Linux ElectricFence checks.... : no CFLAGS.................. : -O -march=k8 -mmmx -mfpmath=sse -msse -msse2 -m3dnow -m32 -pipe -DPIC -fPIC -O3 CXXFLAGS................ : -O -march=k8 -mmmx -mfpmath=sse -msse -msse2 -m3dnow -m32 -pipe -DPIC -fPIC -O3 -Wno-deprecated Internal Language Support -------------------------. C++ support............. : yes Iconv support........... : yes PNG support............. : yes Readline support........ : full External Language Support -------------------------. TCL support............. : yes 8.4 Java support............ : yes 1.5.0_03 Python support.......... : yes 2.4.1 Perl support............ : yes 5.008006 I can attach the complete compile log with included config.log for both pilot-link and evolution 2.2.2 failed compile.
Created attachment 46950 [details] compile log of failed compile compressed with bzip2
Created attachment 46951 [details] compiile log of pilot-link 0.11.8 compressed with bzip2
Varadhan / Chen: can you please update this bug ?
I just did a fresh cvs checkout of evo 2.2.2 and compiled successfully with pilot-conduits enabled. A sneak through on your evolution config.log says that your gnome-pilot libraries have some unresolved symbols. Anyway, let us try to fix the issue... Which distribution are you using? What is the version of gnome-pilot that you have? Did you build gnome-pilot manually? My gnome-pilot version is: varadhan@vvaradhan-test:~/cvs/evo/2.2.2/evolution> pkg-config --modversion gnome-pilot-2.0 2.0.13 (pilot-link version 0.11.8)
I am the gnome section maintainer for the Sourcemage distribution. It is a source based distribution and everything is compiled from the sourcecode. gcc 4.0.0 glibc 2.3.5 pkg-config 0.17.2 pilot-link - 0.11.8 gnome-pilot - 2.0.13 gnome-pilot-conduits - 2.0.13 evolution - 2.2.3 does the same thing. checking for GNOME_PILOT_CFLAGS... -DORBIT2=1 -pthread -I/usr/include/libgnome-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/libxml2 checking for GNOME_PILOT_LIBS... -Wl,--export-dynamic -pthread -lgpilotd -lgpilotdcm -lgpilotdconduit -lpisock -lpisync checking if pilot-link handles UTF-8 conversions... no configure: error: evolution requires pilot-link to have working UTF-8 conversion routines
Created attachment 47541 [details] gnome pilot compile log with config.log compress with bzip2
Can you try compiling it in using gcc 3.3.x or < 4.0?
Did you install pilot-link from source? If so, adjust your PKG_CONFIG_PATH and other env variables to point to the prefix where you have installed pilot-link, for example, export PKG_CONFIG_PATH=<prefix>/lib/pkgconfig:$PKG_CONFIG_PATH export LD_LIBRARY_PATH=<prefix>/lib:$LD_LIBRARY_PATH export ACLOCAL_FLAGS="-I <prefix>/include "$ACLOCAL_FLAGS
Looks like a dupe of bug 319504 to me. Veerapuram, note the -Wl,--export-dynamic part in the original report. Please install pilot-link-devel or see bug 319504 for a hack that worked for me. Still need to dig into this deeper. *** This bug has been marked as a duplicate of 319504 ***