inkscape-0.46.3 fails to compile

Kevin Oberman oberman at es.net
Fri Jul 4 22:30:12 UTC 2008


> Date: Fri, 04 Jul 2008 01:49:43 -0700
> From: Yuri <yuri at tsoft.com>
> Sender: owner-freebsd-gnome at freebsd.org
> 
> Jeremy Messenger wrote:
> > On Thu, 03 Jul 2008 11:58:10 -0500, Yuri <yuri at tsoft.com> wrote:
> >
> > No, our poppler is at 0.8.4 now. It's one of reason why inkscape was 
> > bump. You have failed to follow our bugging.html for this part:
> >
> > -----------------------------------------
> > After running portupgrade -a or portmaster -a to ensure that all 
> > applications are up-to-date. Do not forget to read in 
> > /usr/ports/UPDATING first before you upgrade those installed ports.
> > ----------------------------------------
> >
> 
> 
> No, I followed instructions in UPDATING and still getting this error in 
> inkscape compile:
> 
> extension/internal/pdfinput/pdf-parser.cpp: In member function 'void 
> PdfParser::doShowText(GooString*)':
> extension/internal/pdfinput/pdf-parser.cpp:2393: error: no matching 
> function for call to 'GfxFont::getNextChar(char*&, int&, CharCode*, 
> Unicode [8], int, int*, double*, double*, double*, double*)'
> /usr/local/include/poppler/GfxFont.h:204: note: candidates are: virtual 
> int GfxFont::getNextChar(char*, int, CharCode*, Unicode**, int*, 
> double*, double*, double*, double*)

I have poppler-0.8.4_1 installed.I followed UPDATING recommendations for
updating poppler.


I am also unable to get inkscape to compile on several systems. All are
i386 and all have all ports (other than inkscape up to date. 

All of the .h files in /usr/local/include/poppler are newly installed.

I get the error:
	c++ -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include/freetype2 -I/usr/local/include  -D_REENTRANT -DORBIT2=1 -I/usr/local/include/gnome-vfs-2.0 -I/usr/local/lib/gnome-vfs-2.0/include -I/usr/local/include/gconf/2 -I/usr/local/include/orbit-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include     -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/freetype2   -I/usr/local/include/poppler   -D_THREAD_SAFE -I/usr/local/include/poppler/glib -I/usr/local/include/poppler -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/pixman-1   -DPOTRACE=\"potrace\" -D_THREAD_SAFE -D_REENTRANT -I/usr/local/include/gdkmm-2.4 -I/usr/local/lib/gdkmm-2.4/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/inc
 lude/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/cairomm-1.0 -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pango-1.0 -I/usr/local/include/cairo -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/gtkmm-2.4 -I/usr/local/lib/gtkmm-2.4/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/libxml2 -I/usr/local/include/gtkspell-2.0   -I../cxxtest  -I/usr/local/include   -Wall -Wformat-security -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -D_FORTIFY_SOURCE=2 -Wno-unused-parameter -O2 -fno-strict-aliasing -pipe -MT extension/internal/pdfinput/pdf-parser.o -MD -MP -MF $depbase.Tpo -c -o extension/internal/pdfinput/pdf-parser.o extension/internal/pdfinput/pdf-parser.cpp &&\
	mv -f $depbase.Tpo $depbase.Po
extension/internal/pdfinput/pdf-parser.cpp:2195:8: error: macro names must be identifiers
In file included from /usr/local/include/poppler/Gfx.h:18,
                 from extension/internal/pdfinput/pdf-parser.cpp:32:
/usr/local/include/poppler/Object.h: In member function 'int Object::arrayGetLength()':
/usr/local/include/poppler/Object.h:244: warning: deprecated conversion from string constant to 'char*'

Other then the several hundred lines of warnings, I also get the error
Yuri is reporting.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman at es.net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 224 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20080704/ec103ee5/attachment.pgp


More information about the freebsd-gnome mailing list