[sugar] Failure building evince-olpc
Asheesh Laroia
asheesh
Mon Sep 24 16:42:13 EDT 2007
I'm trying to sugar-jhbuild in an Ubuntu Gutsy environment. Since last
Friday (when I first tried to sugar-jhbuild), I've had these problems
building evince-olpc. There seems to be an argument type mismatch; below
I'm including the end of the sugar-jhbuild make.
Since it failed on Friday, I renamed the 'source' directory out of the way
so that sugar-jhbuild would try to get the source fresh in case of any
updates. I got the same error.
Here's what make tells me:
make[2]: Entering directory `/home/paulproteus/sugar/sugar-jhbuild/source/evince-olpc-0.3/pdf'
if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../backend -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -Wall -Wno-unused -g -O2 -MT ev-poppler.lo -MD -MP -MF ".deps/ev-poppler.Tpo" -c -o ev-poppler.lo ev-poppler.cc; \
then mv -f ".deps/ev-poppler.Tpo" ".deps/ev-poppler.Plo"; else rm -f ".deps/ev-poppler.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../backend -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -Wall -Wno-unused -g -O2 -MT ev-poppler.lo -MD -MP -MF .deps/ev-poppler.Tpo -c ev-poppler.cc -fPIC -DPIC -o .libs/ev-poppler.o
ev-poppler.cc: In function 'char* pdf_document_get_text(EvDocument*, int, EvRectangle*)':
ev-poppler.cc:616: error: cannot convert 'PopplerRectangle*' to 'PopplerSelectionStyle' for argument '2' to 'char* poppler_page_get_text(PopplerPage*, PopplerSelectionStyle, PopplerRectangle*)'
ev-poppler.cc: In function 'void pdf_selection_render_selection(EvSelection*, EvRenderContext*, GdkPixbuf**, EvRectangle*, EvRectangle*, GdkColor*, GdkColor*)':
ev-poppler.cc:1450: error: cannot convert 'gdouble' to 'cairo_t*' for argument '2' to 'void poppler_page_render_selection(PopplerPage*, cairo_t*, PopplerRectangle*, PopplerRectangle*, PopplerSelectionStyle, GdkColor*, GdkColor*)'
ev-poppler.cc: In function 'GdkRegion* pdf_selection_get_selection_region(EvSelection*, EvRenderContext*, EvRectangle*)':
ev-poppler.cc:1466: error: cannot convert 'PopplerRectangle*' to 'PopplerSelectionStyle' for argument '3' to 'GdkRegion* poppler_page_get_selection_region(PopplerPage*, gdouble, PopplerSelectionStyle, PopplerRectangle*)'
ev-poppler.cc: In function 'GdkRegion* pdf_selection_get_selection_map(EvSelection*, EvRenderContext*)':
ev-poppler.cc:1487: error: cannot convert 'PopplerRectangle*' to 'PopplerSelectionStyle' for argument '3' to 'GdkRegion* poppler_page_get_selection_region(PopplerPage*, gdouble, PopplerSelectionStyle, PopplerRectangle*)'
make[2]: *** [ev-poppler.lo] Error 1
make[2]: Leaving directory `/home/paulproteus/sugar/sugar-jhbuild/source/evince-olpc-0.3/pdf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/paulproteus/sugar/sugar-jhbuild/source/evince-olpc-0.3'
make: *** [all] Error 2
*** error during stage build of evince-olpc: ########## Error running make *** [23/43]
Hope this helps - let me know if I can be any more use. Thanks!
-- Asheesh.
--
If you think before you speak the other guy gets his joke in first.
More information about the Sugar-devel
mailing list