[Slackbuilds-users] Error while installing package fontforge (20141014)

enigma enigma77 at gmx.net
Mon Dec 8 09:15:35 UTC 2014


> Looks the same as this issue: https://github.com/fontforge/fontforge/issues/352
> 
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/
>



I make following changes:


$ tar -xvzf fontforge-20141014.tar.gz
$ vim fontforge-20141014/libfontforge.pc

			[...]
			Version: 2.0.20140101			Requires:			Requires.private: python-2.7 cairo pango zlib
Libs: -L${exec_prefix}/lib -lfontforge 												### ---------> changed to: 	Libs: -L${exec_prefix}/lib -lfontforge -lgunicode
Libs.private: -lgioftp -lgutils -lgunicode -lgif -ljpeg -lpng -ltiff -lspiro -luninameslist -lreadline -lSM -lICE -lltdl -lX11 -lm -lltdl -ldl			Cflags: -I${includedir}/fontforge


$ vim fontforge-20141014/m4/fontforge_create_pkg_config_files.m4

			[...]
			__pkg_deps="${__pkg_deps} zlib"

			__private_deps=""
			__private_deps="${__private_deps} -lgioftp"
			__private_deps="${__private_deps} -lgutils"
			__private_deps="${__private_deps} -lgunicode"										### This line was removed 
			test x"${i_do_have_giflib}" = xyes && test x"${with_giflib}" != xno && __private_deps="${__private_deps} ${GIFLIB_LIBS}"
			[...]
			AC_SUBST([LIBFONTFORGEEXE_PKGCONFIG_VERSION],["${__cleaned_version}"])
			AC_SUBST([LIBFONTFORGEEXE_PKGCONFIG_REQUIRES],[])
			AC_SUBST([LIBFONTFORGEEXE_PKGCONFIG_REQUIRES_PRIVATE],["libfontforge ${__pkg_deps}"])
			AC_SUBST([LIBFONTFORGEEXE_PKGCONFIG_LIBS],["-L${libdir} -lfontforgeexe"])				### changed to:	AC_SUBST([LIBFONTFORGEEXE_PKGCONFIG_LIBS],["-L${libdir} -lfontforgeexe -lgunicode"])
			AC_SUBST([LIBFONTFORGEEXE_PKGCONFIG_LIBS_PRIVATE],["-L${libdir} ${__private_exe_deps} ${__private_deps}"])

			AC_CONFIG_FILES([libfontforge.pc])
			AC_CONFIG_FILES([libfontforgeexe.pc])
			])


$ tar -cvzf fontforge-20141014.tar.gz fontforge20141014

And then try to Build and install with this package, but i still get errors:

			make[2]: Leaving directory `/tmp/SBo/fontforge-20141014/Unicode'
			Making install in gutils
			make[2]: Entering directory `/tmp/SBo/fontforge-20141014/gutils'
			make[3]: Entering directory `/tmp/SBo/fontforge-20141014/gutils'
			 /bin/mkdir -p '/tmp/SBo/package-fontforge/usr/lib64'
			 /bin/sh ../libtool   --mode=install /bin/ginstall -c   libgutils.la libgioftp.la '/tmp/SBo/package-fontforge/usr/lib64'
			libtool: install: warning: relinking `libgutils.la'
			libtool: install: (cd /tmp/SBo/fontforge-20141014/gutils; /bin/sh /tmp/SBo/fontforge-20141014/libtool  --silent --tag CC --mode=relink gcc -std=gnu99 -std=gnu99 -O2 -fPIC -Wl,--no-undefined -I/tmp/SBo/freetype-2.4.10/src/truetype -I/tmp/SBo/freetype-2.4.10/include -I/tmp/SBo/freetype-2.4.10/include/freetype -						pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -pthread -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -					I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/libdrm -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/python2.7 -pthread -version-info 2:0:0 -no-undefined -o libgutils.la -rpath /usr/lib64 libgutils_la-divisors.lo libgutils_la-dlist.lo libgutils_la-fsys.lo libgutils_la-g_giomime.lo libgutils_la-gcol.lo 					libgutils_la-gimage.lo libgutils_la-gimageread.lo libgutils_la-gimagereadbmp.lo libgutils_la-gimagereadgif.lo libgutils_la-gimagereadjpeg.lo libgutils_la-gimagereadpng.lo libgutils_la-gimagereadras.lo libgutils_la-gimagereadrgb.lo libgutils_la-gimagereadtiff.lo libgutils_la-gimagereadxbm.lo libgutils_la-							gimagereadxpm.lo libgutils_la-gimagewritebmp.lo libgutils_la-gimagewritegimage.lo libgutils_la-gimagewritejpeg.lo libgutils_la-gimagewritepng.lo libgutils_la-gimagewritexbm.lo libgutils_la-gimagewritexpm.lo libgutils_la-gio.lo libgutils_la-giofile.lo libgutils_la-giohosts.lo libgutils_la-giothread.lo libgutils_la-giotrans.lo 				libgutils_la-gnetwork.lo libgutils_la-gutils.lo libgutils_la-gwwintl.lo libgutils_la-prefs.lo libgutils_la-unicodelibinfo.lo -lpython2.7 -lgif -ljpeg -lpng -ltiff -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0 -lpangoxft-1.0 -lpangoft2-1.0 -lXft -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -lSM -lICE -lreadline -					ltermcap -lpython2.7 -lfreetype -lz -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lxml2 ../Unicode/libgunicode.la ../lib/libgnu.la -lX11 -lm -lltdl -ldl -inst-prefix-dir /tmp/SBo/package-fontforge)
			.libs/libgutils_la-gimage.o: In function `GImageCreate':
			gimage.c:(.text+0x131): undefined reference to `NoMoreMemMessage'
			.libs/libgutils_la-gimage.o: In function `_GImage_Create':
			gimage.c:(.text+0x251): undefined reference to `NoMoreMemMessage'
			.libs/libgutils_la-gimage.o: In function `GImageCreateAnimation':
			gimage.c:(.text+0x41c): undefined reference to `NoMoreMemMessage'
			.libs/libgutils_la-gimage.o: In function `GImageAddImageBefore':
			gimage.c:(.text+0x6a6): undefined reference to `NoMoreMemMessage'
			.libs/libgutils_la-gimagereadbmp.o: In function `GImageRead_Bmp':
			gimagereadbmp.c:(.text+0x915): undefined reference to `NoMoreMemMessage'
			.libs/libgutils_la-gimagereadbmp.o:gimagereadbmp.c:(.text+0x1553): more undefined references to `NoMoreMemMessage' follow
			collect2: error: ld returned 1 exit status
			libtool: install: error: relink `libgutils.la' with the above command before installing it
			make[3]: *** [install-libLTLIBRARIES] Fehler 1
			make[3]: Leaving directory `/tmp/SBo/fontforge-20141014/gutils'
			make[2]: *** [install-am] Fehler 2
			make[2]: Leaving directory `/tmp/SBo/fontforge-20141014/gutils'
			make[1]: *** [install-recursive] Fehler 1
			make[1]: Leaving directory `/tmp/SBo/fontforge-20141014'
			make: *** [install] Fehler 2


I hope the presentation in other email clients will not be distorted by the line-breaks.
Does anyone have a solution?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20141208/267a891c/attachment-0001.html>


More information about the SlackBuilds-users mailing list