Subject: graphics/libwmf build fails - freetype problems ?
To: None <tech-pkg@NetBSD.org>
From: Ian Zagorskih <ianzag@megasignal.com>
List: tech-pkg
Date: 03/12/2004 15:41:54
System: NetBSD-1.6.1/i386 XFree86 4.
pkgsrc: updates from cvs at 10/03/2004
X: XFree86 4.3.0

cd /usr/pkgsrc/graphics/libwmf
make package

---cut---
===> Checking for vulnerabilities in libwmf-0.2.8.2
===> Configuring for libwmf-0.2.8.2
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking whether mk sets ${MAKE}... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... missing
checking build system type... i386-unknown-netbsdelf1.6.1
checking host system type... i386--netbsdelf
checking for gawk... /usr/bin/awk
checking for i386--netbsdelf-gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether ln -s works... yes
checking whether mk sets ${MAKE}... (cached) yes
checking for i386--netbsdelf-ranlib... no
checking for ranlib... ranlib
checking for ld used by 
GCC... /usr/pkgsrc/graphics/libwmf/work/.buildlink/bin/ld
checking if the linker (/usr/pkgsrc/graphics/libwmf/work/.buildlink/bin/ld) is 
GNU ld... yes
checking for /usr/pkgsrc/graphics/libwmf/work/.buildlink/bin/ld option to 
reload object files... -r
checking for BSD-compatible nm... nm
checking for a sed that does not truncate output... /usr/bin/sed
checking how to recognise dependent libraries... 
match_pattern /lib[^/\.]+\.so$
checking command to parse nm output... ok
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i386--netbsdelf-ranlib... ranlib
checking for i386--netbsdelf-strip... no
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker 
(/usr/pkgsrc/graphics/libwmf/work/.buildlink/bin/ld) supports shared 
libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... NetBSD ld.elf_so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... yes
creating libtool
checking for ANSI C header files... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for off_t... yes
checking for size_t... yes
checking for strstr... yes
checking for printf... yes
checking for fprintf... yes
checking for vfprintf... yes
checking for sprintf... yes
checking for vprintf... yes
checking for vsprintf... yes
checking for sscanf... yes
checking for scanf... yes
checking for vscanf... yes
checking for fscanf... yes
checking for vsscanf... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for vfscanf... no
checking for vfscanf in stdio.h... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking expat.h usability... no
checking expat.h presence... no
checking for expat.h... no
checking for xml2-config... /usr/pkg/bin/xml2-config
checking for freetype-config... /usr/X11R6/bin/freetype-config
checking for FT_Init_FreeType in -lfreetype... no
configure: error: * * * freetype(2) is required * * *
*** Error code 1

Stop.
mk: stopped in /usr/pkgsrc/graphics/libwmf
*** Error code 1

Stop.
mk: stopped in /usr/pkgsrc/graphics/libwmf
---cut---

..and I have installed freetype2-2.1.5 package.

Good thing is that I never needed WMF stuff and hope will never do.
The bad thing is this package is required by KOffice..

Any ideas ?

// wbr