Subject: pkg/7967: freetype-1.1 doesn't compile
To: None <gnats-bugs@gnats.netbsd.org>
From: None <Thilo.Manske@HEH.Uni-Oldenburg.DE>
List: netbsd-bugs
Date: 07/12/1999 18:07:17
>Number: 7967
>Category: pkg
>Synopsis: freetype-1.1 doesn't compile
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: pkg-manager (NetBSD software packages system bug manager)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jul 12 09:50:01 1999
>Last-Modified:
>Originator: Thilo Manske
>Organization:
>Release: current as of friday (ELF), pkg_* binaries recompiled yesterday
>Environment:
System: NetBSD WintelKiller 1.4F NetBSD 1.4F (WintelKiller) #141: Sun Jul 11 12:25:59 MEST 1999 thilo@Seti.HEH.Uni-Oldenburg.DE:/usr/src/sys/arch/i386/compile/WintelKiller i386
Everything (userland,X11,pkg) is ELFyfied
>Description:
The build process of freetype stops with:
gmake[1]: Entering directory `/usr/src/pkgsrc/graphics/freetype/work/freetype-1.1/test'
../libtool --mode=link cc -I. -I/usr/src/pkgsrc/graphics/freetype/work/freetype-1.1/test/arch/unix/../.. -I.. -I/usr/src/pkgsrc/graphics/freetype/work/freetype-1.1/test/arch/unix/../../../lib -I/usr/src/pkgsrc/graphics/freetype/work/freetype-1.1/test/arch/unix/../../../lib/extend -O2 -I/usr/X11R6/include -DX11 -DLOCALEDIR='"/usr/pkg/share/locale"' -o ftview ftview.o common.o gmain.o display.o gwin_x11.o \
../lib/libttf.la -L/usr/X11R6/lib -lSM -lICE -lm -lintl -lX11
cc -I. -I/usr/src/pkgsrc/graphics/freetype/work/freetype-1.1/test/arch/unix/../.. -I.. -I/usr/src/pkgsrc/graphics/freetype/work/freetype-1.1/test/arch/unix/../../../lib -I/usr/src/pkgsrc/graphics/freetype/work/freetype-1.1/test/arch/unix/../../../lib/extend -O2 -I/usr/X11R6/include -DX11 -DLOCALEDIR=\"/usr/pkg/share/locale\" -o .libs/ftview ftview.o common.o gmain.o display.o gwin_x11.o -Wl,--rpath -Wl,/usr/pkg/lib ../lib/.libs/libttf.so.2.0 -lm -lintl -L/usr/X11R6/lib -lSM -lICE -lm -lintl -lX11
/usr/bin/ld: cannot open -lintl: No such file or directory
collect2: ld returned 1 exit status
gmake[1]: *** [ftview] Error 1
gmake[1]: Leaving directory `/usr/src/pkgsrc/graphics/freetype/work/freetype-1.1/test'
gmake: *** [tttest] Error 2
*** Error code 2
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
>How-To-Repeat:
cd [...]graphics/freetype
>Fix:
add
CFLAGS= -Wl,-L${LOCALBASE}/pkg/lib
to the Makefile to make freetype find libintl.a (library from gettext)
>Audit-Trail:
>Unformatted: