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

next in thread | previous in thread | raw e-mail | index | archive | help
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?

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:33: libgimp/gimp.h: No such file or directory
svg.c:42: syntax error before `GimpParam'
svg.c:46: syntax error before `GimpRunMode'
svg.c:49: syntax error before `PLUG_IN_INFO'
svg.c:51: warning: excess elements in scalar initializer
svg.c:51: warning: (near initialization for `PLUG_IN_INFO')
svg.c:52: warning: excess elements in scalar initializer
svg.c:52: warning: (near initialization for `PLUG_IN_INFO')
svg.c:53: warning: excess elements in scalar initializer
svg.c:53: warning: (near initialization for `PLUG_IN_INFO')
svg.c:54: warning: data definition has no type or storage class
svg.c: In function `MAIN':
svg.c:63: syntax error before `{'
svg.c:70: syntax error before `load_return_vals'
svg.c:108: syntax error before `run_mode'
svg.c:149: syntax error before `GimpDrawable'
svg.c:156: syntax error before `pixbuf'
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




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