Opened 17 years ago
Closed 17 years ago
#14871 closed defect (fixed)
evince-2.21.1 install fails due to compilation errors
Reported by: | vladimir.bychkovsky@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | ||
Port: |
Description
$ sudo port install evince ---> Fetching evince ---> Verifying checksum(s) for evince ---> Extracting evince ---> Configuring evince ---> Building evince with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_evince/work/evince-2.21.1" && make all " returned error 2 Command output: make[5]: Nothing to be done for `all-am'. make[4]: Nothing to be done for `all-am'. LC_ALL=C ../intltool-merge -d -u -c ../po/.intltool-merge-cache ../po evince.desktop.in evince.desktop Generating and caching the translation database Merging translations into evince.desktop. LC_ALL=C ../intltool-merge -s -u -c ../po/.intltool-merge-cache ../po evince.schemas.in evince.schemas Found cached translation database Merging translations into evince.schemas. Making all in backend Making all in pdf if /bin/sh ../../libtool --tag=CXX --mode=compile /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../libdocument -DXTHREADS -D_REENTRANT -DORBIT2=1 -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include -I/opt/local/include/gnome-vfs-2.0 -I/opt/local/lib/gnome-vfs-2.0/include -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0 -DORBIT2=1 -D_REENTRANT -I/opt/local/include/libgnome-2.0 -I/opt/local/include/orbit-2.0 -I/opt/local/include/gconf/2 -I/opt/local/include/gnome-vfs-2.0 -I/opt/local/lib/gnome-vfs-2.0/include -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/libbonobo-2.0 -I/opt/local/include/bonobo-activation-2.0 -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -DXTHREADS -I/opt/local/include/poppler/glib -I/opt/local/include/poppler -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/cairo -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pango-1.0 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include -O2 -Wall -Wno-unused -I/opt/local/include -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 mkdir .libs
/usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../libdocument -DXTHREADS -D_REENTRANT -DORBIT2=1 -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include -I/opt/local/include/gnome-vfs-2.0 -I/opt/local/lib/gnome-vfs-2.0/include -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0 -DORBIT2=1 -D_REENTRANT -I/opt/local/include/libgnome-2.0 -I/opt/local/include/orbit-2.0 -I/opt/local/include/gconf/2 -I/opt/local/include/gnome-vfs-2.0 -I/opt/local/lib/gnome-vfs-2.0/include -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/libbonobo-2.0 -I/opt/local/include/bonobo-activation-2.0 -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -DXTHREADS -I/opt/local/include/poppler/glib -I/opt/local/include/poppler -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/cairo -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pango-1.0 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include -O2 -Wall -Wno-unused -I/opt/local/include -O2 -MT ev-poppler.lo -MD -MP -MF .deps/ev-poppler.Tpo -c ev-poppler.cc -fno-common -DPIC -o .libs/ev-poppler.o
ev-poppler.cc: In function 'EvLink* ev_link_from_action(PdfDocument*, PopplerAction*)': ev-poppler.cc:938: warning: enumeration value 'POPPLER_ACTION_NONE' not handled in switch ev-poppler.cc: In function 'GList* pdf_document_images_get_images(EvDocumentImages*, gint)': ev-poppler.cc:1176: error: 'struct _PopplerImageMapping' has no member named 'image' ev-poppler.cc: In function 'GdkPixbuf* pdf_document_thumbnails_get_thumbnail(EvDocumentThumbnails*, EvRenderContext*, gboolean)': ev-poppler.cc:1236: error: cannot convert 'cairo_surface_t*' to 'GdkPixbuf*' in assignment ev-poppler.cc: In function 'void pdf_selection_render_selection(EvSelection*, EvRenderContext*, cairo_surface_t, EvRectangle*, EvRectangle*, EvSelectionStyle, GdkColor*, GdkColor*)': ev-poppler.cc:1841: error: cannot convert 'GdkColor*' to 'PopplerColor*' for argument '6' to 'void poppler_page_render_selection(PopplerPage*, cairo_t*, PopplerRectangle*, PopplerRectangle*, PopplerSelectionStyle, PopplerColor*, PopplerColor*)' ev-poppler.cc: In function 'GdkRegion* pdf_selection_get_selection_region(EvSelection*, EvRenderContext*, EvSelectionStyle, EvRectangle*)': ev-poppler.cc:1910: error: cannot convert 'GList*' to 'GdkRegion*' in assignment ev-poppler.cc: In function 'GdkRegion* pdf_selection_get_selection_map(EvSelection*, EvRenderContext*)': ev-poppler.cc:1932: error: cannot convert 'GList*' to 'GdkRegion*' in assignment make[3]: * [ev-poppler.lo] Error 1 make[2]: * [all-recursive] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2
Error: Status 1 encountered during processing.
Change History (3)
comment:1 Changed 17 years ago by vladimir.bychkovsky@…
comment:2 Changed 17 years ago by hans@…
This seems to be a problem with the new poppler release (0.8.0 released on march 26). It appears to change the API quite a bit. I tried evince 2.22.0 with the same result. Maybe it would work with a svn version of evince (I don't know how to do that), or maybe we can hope they'll release a fixed evince Real Soon Now.
comment:3 Changed 17 years ago by reiffert@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Same log without wiki formatting... sorry about that.