Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Jul 2008 15:30:11 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        yuri@tsoft.com
Cc:        gnome@freebsd.org
Subject:   Re: inkscape-0.46.3 fails to compile 
Message-ID:  <20080704223011.E1AD545047@ptavv.es.net>
In-Reply-To: Your message of "Fri, 04 Jul 2008 01:49:43 PDT." <486DE427.7040809@tsoft.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
--==_Exmh_1215210611_88240P
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

> Date: Fri, 04 Jul 2008 01:49:43 -0700
> From: Yuri <yuri@tsoft.com>
> Sender: owner-freebsd-gnome@freebsd.org
> 
> Jeremy Messenger wrote:
> > On Thu, 03 Jul 2008 11:58:10 -0500, Yuri <yuri@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@es.net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751

--==_Exmh_1215210611_88240P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Exmh version 2.5 06/03/2002

iD8DBQFIbqRzkn3rs5h7N1ERApKwAJ9LeyQ5kfOrWBEYO6uCi/sD+dDvzQCeIw59
XyurGypJwHpHFOmzijY+FMc=
=mG6z
-----END PGP SIGNATURE-----

--==_Exmh_1215210611_88240P--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080704223011.E1AD545047>