inkscape-0.46.3 fails to compile

Kevin Oberman oberman at es.net
Sat Jul 5 06:46:10 UTC 2008


> Date: Fri, 04 Jul 2008 17:57:19 -0500
> From: "Jeremy Messenger" <mezz7 at cox.net>
> 
> On Fri, 04 Jul 2008 17:30:11 -0500, Kevin Oberman <oberman at es.net> wrote:
> 
> >> 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:
> <snip>
> > 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.
> 
> marcus has committed another fix, so give it a shot. I have asked marcus  
> in different email:

Yep. That fixed it for me. #if != #ifdef. It's often the littlest things
that are so hard to see. I'm still not quite sure why it worked like
that for anyone.

Thanks Mezz and Joe.
-- 
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/20080705/bf598bb9/attachment.pgp


More information about the freebsd-gnome mailing list