Date: Sun, 29 Nov 2009 16:10:01 +0100 From: "barbara" <barbara.xxx1975@libero.it> To: "gnome" <gnome@FreeBSD.org> Subject: graphics/librsvg2: build fail using WITH_MOZILLA_PLUGIN Message-ID: <KTVM4P$0111EC6D84AF1F6C9821E9B5FF6E6609@libero.it>
next in thread | raw e-mail | index | archive | help
Trying to install librsvg2-2.26.0_2, I've got an error using WITH_MOZILLA= _PLUGIN. Without that option it builds as expected. ---------------------------------------------------------------- Making all in moz-plugin gmake[2]: Entering directory `/usr/ports/graphics/librsvg2/work/librsvg-2= .26.0/moz-plugin' /bin/sh /usr/ports/graphics/librsvg2/work/gnome-libtool --tag=3DCC --mo= de=3Dcompile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/libxul/stab= le -I/usr/local/include/nspr -DBINDIR=3D\"/usr/local/bin/\" -D_REENTRAN= T -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -D_TH= READ_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -= I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/c= airo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/u= sr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local= /include -O2 -pipe -fno-strict-aliasing -march=3Dathlon-mp -MT moz-plugi= n.lo -MD -MP -MF .deps/moz-plugin.Tpo -c -o moz-plugin.lo moz-plugin.c gnome-libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include= /libxul/stable -I/usr/local/include/nspr -DBINDIR=3D\"/usr/local/bin/\" -= D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/inclu= de -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/i= nclude -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/i= nclude/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/incl= ude -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/l= ocal/include -O2 -pipe -fno-strict-aliasing -march=3Dathlon-mp -MT moz-pl= ugin.lo -MD -MP -MF .deps/moz-plugin.Tpo -c moz-plugin.c -fPIC -DPIC -o = .libs/moz-plugin.o gnome-libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include= /libxul/stable -I/usr/local/include/nspr -DBINDIR=3D\"/usr/local/bin/\" -= D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/inclu= de -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/i= nclude -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/i= nclude/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/incl= ude -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/l= ocal/include -O2 -pipe -fno-strict-aliasing -march=3Dathlon-mp -MT moz-pl= ugin.lo -MD -MP -MF .deps/moz-plugin.Tpo -c moz-plugin.c -o moz-plugin.o = >/dev/null 2>&1 mv -f .deps/moz-plugin.Tpo .deps/moz-plugin.Plo /bin/sh /usr/ports/graphics/librsvg2/work/gnome-libtool --tag=3DCC --mo= de=3Dlink cc -O2 -pipe -fno-strict-aliasing -march=3Dathlon-mp -module -= avoid-version -L/usr/local/lib -o libmozsvgdec.la -rpath moz-plugin.lo = -pthread -L/usr/local/lib -lgthread-2.0 -lglib-2.0 gmake[2]: Leaving directory `/usr/ports/graphics/librsvg2/work/librsvg-2.= 26.0/moz-plugin' gmake[1]: Leaving directory `/usr/ports/graphics/librsvg2/work/librsvg-2.= 26.0' *** Error code 1 Stop in /usr/ports/graphics/librsvg2. *** Error code 1 Stop in /usr/ports/graphics/librsvg2. ---------------------------------------------------------------- It seems that the path after "-rpath" is missing. Looking at the differences between Makefile.in.bak and Makefile.in in wor= k/librsvg-2.26.0/moz-plugin, I think the the problem is the removal of th= e inclusion of Makefile.webplugins, because ${WEBPLUGINS_DIR} would be ""= in post-patch phase. So this could be the patch: ---------------------------------------------------------------- --- Makefile.orig 2009-11-28 21:05:44.000000000 +0100 +++ Makefile 2009-11-29 15:30:47.000000000 +0100 @@ -49,6 +49,7 @@ USE_GECKO=3D libxul seamonkey USE_WEBPLUGINS=3D gecko19 WEBPLUGINS_FILES=3Dlibmozsvgdec.so +.include "${PORTSDIR}/www/firefox/Makefile.webplugins" CONFIGURE_ENV+=3D MOZILLA_CONFIG=3Dno CONFIGURE_ARGS+=3D--enable-mozilla-plugin=3Dyes ---------------------------------------------------------------- Thanks Barbara
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?KTVM4P$0111EC6D84AF1F6C9821E9B5FF6E6609>