graphics/librsvg2 Build Error

Jeremy Messenger mezz7 at cox.net
Wed Dec 14 12:26:47 PST 2005


On Wed, 14 Dec 2005 14:14:02 -0600, Jeremy Messenger <mezz7 at cox.net> wrote:

> On Wed, 14 Dec 2005 13:49:40 -0600, Kevin Boyd <a9909 at asl.bc.ca> wrote:
>
>> I get the following error when I try to build librsvg2 on my  
>> FreeBSD4.11 system (it's a work machine and I'm very busy at the moment  
>> so I cannot currently upgrade the OS version, at least not for a few  
>> more weeks).
>>
>> ===>  Building for librsvg2-2.12.7_2
>> gmake  all-recursive
>> gmake[1]: Entering directory  
>> `/usr/ports/graphics/librsvg2/work/librsvg-2.12.7'
>> Making all in .
>> gmake[2]: Entering directory  
>> `/usr/ports/graphics/librsvg2/work/librsvg-2.12.7'
>> if /bin/sh /usr/ports/graphics/librsvg2/work/gnome-libtool  
>> --mode=compile gcc34 -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/libxml2 -I/usr/local/include  
>> -I/usr/X11R6/include/libgsf-1   -DHAVE_SVGZ=1  
>> -I/usr/local/include/libcroco-0.6 -I/usr/local/include/glib-2.0  
>> -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2  
>> -I/usr/local/include   -DHAVE_LIBCROCO=1 -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   -DXTHREADS -D_THREAD_SAFE  
>> -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI -I/usr/local/include/atk-1.0  
>> -I/usr/local/include/cairo -I/usr/local/include/glib-2.0  
>> -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/gtk-2.0  
>> -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/pango-1.0  
>> -I/usr/X11R6/include -I/usr/local/include/freetype2  
>> -I/usr/local/include   -DXTHREADS -D_THREAD_SAFE -DXUSE_MTSAFE_API  
>> -DXNO_MTSAFE_PWDAPI -I/usr/local/include/glib-2.0  
>> -I/usr/local/lib/glib-2.0/include -I/usr/local/include/cairo  
>> -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include  
>> -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include  
>> -I/usr/local/include/freetype2 -I/usr/local/include  
>> -I/usr/X11R6/include -DG_LOG_DOMAIN=\"librsvg\"  
>> -DLIBRSVG_DATADIR="\"/usr/X11R6/share/gnome\""  -I/usr/local/include   
>> -O -pipe   -MT rsvg-affine.lo -MD -MP -MF ".deps/rsvg-affine.Tpo" \
>>    -c -o rsvg-affine.lo `test -f 'rsvg-affine.c' || echo  
>> './'`rsvg-affine.c; \
>> then mv -f ".deps/rsvg-affine.Tpo" ".deps/rsvg-affine.Plo"; \
>> else rm -f ".deps/rsvg-affine.Tpo"; exit 1; \
>> fi
>> gnome-libtool: compile: unable to infer tagged configuration
>> gnome-libtool: compile: specify a tag with `--tag'
>> gmake[2]: *** [rsvg-affine.lo] Error 1
>> gmake[2]: Leaving directory  
>> `/usr/ports/graphics/librsvg2/work/librsvg-2.12.7'
>> gmake[1]: *** [all-recursive] Error 1
>> gmake[1]: Leaving directory  
>> `/usr/ports/graphics/librsvg2/work/librsvg-2.12.7'
>> gmake: *** [all] Error 2
>> *** Error code 2
>>
>> Stop in /usr/ports/graphics/librsvg2.
>>
>> Any idea how I can get it to work? It's preventing me from getting a  
>> successful portupgrade done :)
>
> Are you using ccache? The thumb of rule, if you compiled libtool with  
> ccache then the rest apps that depend on libtool must compile with  
> ccache. If libtool without ccache, then those apps that depend on  
> libtool must compile without ccache. Can't be opposite.

I am not sure if my English is clear, so just want to clear more.... I  
don't mean for rumtime, just build time. If libtool built/installed with  
ccache, then if you want to build any apps that depend on libtool must  
build with ccache. No need to rebuild all apps.

> Cheers,
> Mezz


-- 
mezz7 at cox.net  -  mezz at FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  gnome at FreeBSD.org


More information about the freebsd-gnome mailing list