Skip site navigation (1)Skip section navigation (2)
Date:      17 May 2003 15:28:10 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        "Adriel Cardenas G." <aztlanet@gmx.net>
Cc:        GNOME FreeBSD <freebsd-gnome@freebsd.org>
Subject:   Re: [Fwd: Re: portupgrade error [librsvg2]]
Message-ID:  <1053199689.85573.11.camel@shumai.marcuscom.com>
In-Reply-To: <1053197009.16804.48.camel@unxstar.aztlanet>
References:  <1053197009.16804.48.camel@unxstar.aztlanet>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-2feYwg3AsTQkfY78z6tU
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sat, 2003-05-17 at 14:43, Adriel Cardenas G. wrote:
> > > > I've been trying to portupgrade my system, but I keep getting an er=
ror
> > > > with librsvg2.
> > > >=20
> > > > Here's the script with the error and the config.log
> > > >=20
> > > > Any help would deeply be appreciated.
> > >=20
> > > What's the output from the build?  librsvg2 updated just fine for me.
> > >=20
> > > Joe
> >=20
> > Here's the output (short) of the error.
> >=20
> >=20
> > `/usr/ports/graphics/librsvg2/work/librsvg-2.2.5/gimp-plugin'
> > cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/glib-2.0
> > -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libart-2.0
> > -I/usr/local/include/libxml2 -I/usr/local/include
> > -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/include/pango-1.0
> > -I/usr/X11R6/include -I/usr/local/include/freetype2 =20
> > -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
> > -I/usr/X11R6/include/gimp-1.3   -I..  -I/usr/local/include  -O -pipe  -=
c
> > svg.c
> > svg.c:46: syntax error before `GimpRunMode'
> > svg.c: In function `run':
>=20
> I don't know much about C but i believe that it is declare as "runmode" i=
n line 46
> and then at line 104 it is used as "run_mode"
>=20
> Could this be it?

Looks like you have an old libgimp directory in /usr/X11R6/include or
/usr/local/include.  Remove it, and you should be set.

Joe

>=20
> Adriel
>=20
>=20
> > svg.c:104: syntax error before `run_mode'
> > svg.c:108: `run_mode' undeclared (first use in this function)
> > svg.c:108: (Each undeclared identifier is reported only once
> > svg.c:108: for each function it appears in.)
> > svg.c: At top level:
> > svg.c:144: syntax error before `GimpRunMode'
> > svg.c: In function `load_image':
> > svg.c:156: `filename' undeclared (first use in this function)
> > svg.c:164: `runmode' undeclared (first use in this function)
> > gmake[2]: *** [svg.o] Error 1
> > gmake[2]: Leaving directory
> > `/usr/ports/graphics/librsvg2/work/librsvg-2.2.5/gimp-plugin'
> > gmake[1]: *** [all-recursive] Error 1
> > gmake[1]: Leaving directory
> > `/usr/ports/graphics/librsvg2/work/librsvg-2.2.5'
> > gmake: *** [all-recursive-am] Error 2
> > *** Error code 2
> > =20
>=20
>=20
> _______________________________________________
> freebsd-gnome@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"
--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-2feYwg3AsTQkfY78z6tU
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQA+xo1Jb2iPiv4Uz4cRAjlzAJsErfEpU7KL4EGCH5EjIvb6SnHEGQCdHCK5
i6N1FogAmXylFzqVyCu6UeA=
=hPg3
-----END PGP SIGNATURE-----

--=-2feYwg3AsTQkfY78z6tU--



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