Subject: problem building libwpd
To: None <netbsd-help@netbsd.org>
From: Huub <huubvanniekerk@gmail.com>
List: netbsd-help
Date: 06/24/2007 11:29:41
Hi,
After cvs I try to install OpenOffice 2.2.1, and have to build libwpd
first. Starting out ok, the last dependency build to complete
successfully is libgsf. Next, it stops with this error:
checking whether the f77 linker
(/usr/pkgsrc/converters/libwpd/work/.wrapper/bin/ld) supports shared
libraries... ERROR: To use this compiler, you have to add fortran to
ERROR: USE_LANGUAGES in the package Makefile.
yes
checking dynamic linker characteristics... ERROR: To use this compiler,
you have to add fortran to
ERROR: USE_LANGUAGES in the package Makefile.
ERROR: To use this compiler, you have to add fortran to
ERROR: USE_LANGUAGES in the package Makefile.
NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking for pkg-config...
/usr/pkgsrc/converters/libwpd/work/.tools/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBWPD... gnome-config: not found
configure: error: Package requirements (
glib-2.0 >= 2.0.0
libgsf-1 >= 1.6.0
) were not met:
No package 'libgsf-1' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables LIBWPD_CFLAGS
and LIBWPD_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/converters/libwpd
WARNING: *** Please consider adding fortran to USE_LANGUAGES in the
package Makefile.
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/converters/libwpd
bash-3.2#
Check for glib:
bash-3.2# pkg_info | grep glib
glib2-2.12.9 Some useful routines for C programming (glib2)
dbus-glib-0.72nb1 GLib bindings for the D-BUS message bus system
py24-gobject-2.12.2 Python bindings for glib2 gobject
poppler-glib-0.5.4nb1 PDF rendering library (GLib wrapper)
glib-1.2.10nb10 Some useful routines for C programming (glib1)
glibmm-2.12.7 C++ bindings for glib
Check for libgsf:
bash-3.2# pkg_info | grep libgsf
libgsf-1.14.3nb1 GNOME2 structured file library
So this seems to be right. What's going wrong then? Should I file a PR?
Thanks,
Huub