graphics/librsvg2 Build Error
Jeremy Messenger
mezz7 at cox.net
Wed Dec 14 12:36:08 PST 2005
On Wed, 14 Dec 2005 14:24:44 -0600, Michael Johnson <buhnux at gmail.com>
wrote:
>
> On Dec 14, 2005, at 3:14 PM, Jeremy Messenger 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.
>
> This will never be fixed, you should either disable the mozilla plugin
> (which uses bsd.gecko.mk and it calls for gcc3.4) or upgrade to 5.x or
> 6.x
Why not add a check if it's below than 5.x, then always disable it? Also
add comment about only work with 5.x and above?
Cheers,
Mezz
>> 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