[Fwd: Re: portupgrade error [librsvg2]]

Adriel Cardenas G. aztlanet at gmx.net
Sat May 17 16:33:29 PDT 2003


El sáb, 17 de 05 de 2003 a las 14:51, Joe Marcus Clarke escribió:
> On Sat, 2003-05-17 at 15:57, Adriel Cardenas G. wrote:
> > El sáb, 17 de 05 de 2003 a las 14:28, Joe Marcus Clarke escribió:
> > > 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 error
> > > > > > > with librsvg2.
> > > > > > > 
> > > > > > > Here's the script with the error and the config.log
> > > > > > > 
> > > > > > > Any help would deeply be appreciated.
> > > > > > 
> > > > > > What's the output from the build?  librsvg2 updated just fine for me.
> > > > > > 
> > > > > > Joe
> > > > > 
> > > > > Here's the output (short) of the error.
> > > > > 
> > > > > 
> > > > > `/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  
> > > > > -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':
> > > > 
> > > > I don't know much about C but i believe that it is declare as "runmode" in line 46
> > > > and then at line 104 it is used as "run_mode"
> > > > 
> > > > 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
> > > 
> > 
> > I'd remove /usr/X11R6/include/libgimp, but know I get this error
> > complaining that a file doesn't exists : )  reinstalling GIMO would
> > help?
> 
> You need to reinstall gimp-devel.
> 
> Joe

Hi I'd deinstall and reinstall everything gimp-devel (& gimp) related
with no problem, but when i tried to upgrade librsvg2 i got the same
error about the runmode.

I notice that i have 2 librsvg port installed


acgx at unxstar ~$ pkg_info |grep librsvg
librsvg-1.0.3_1     Library for parsing and rendering SVG vector-graphic
files
librsvg2-2.2.5      Library for parsing and rendering SVG vector-graphic
files

are these 2 necesary or probably the 1.0.3_1 not ?

Would it do any help if I deinstall librsvg2 and install from scratch
(instead of portupgade it)?

Thanks for your comments in advance.

Adriel








More information about the freebsd-gnome mailing list