Subject: pkg/20695: Error in building for freetype2-2.1.3
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jdf@rse.com>
List: netbsd-bugs
Date: 03/13/2003 13:40:24
>Number: 20695
>Category: pkg
>Synopsis: Error in building for freetype2-2.1.3
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Mar 13 13:41:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: John Fisher
>Release: NetBSD 1.6_STABLE
>Organization:
ML Riecher Systems Engineering
>Environment:
NetBSD mjdf.rse.com 1.6_STABLE NetBSD 1.6_STABLE (GENERIC) #0: Thu Nov 7 13:01:28 EST 2002 root@dhcp-364-2:/usr/local/src/NetBSD/NetBSD-1.6/source-20021102/src/sys/arch/i386/compile/GENERIC i386
>Description:
I went to pkgsrc/graphics/freetype2 and typed nohup make package and received the error messages below. This is of course just the relevant part of the output. The "Need an operator" message repeats for a total of 1977 lines.
chmod 644 /usr/pkg/lib/libfreetype.a
----------------------------------------------------------------------
Libraries have been installed in:
/usr/pkg/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
for P in /usr/local/src/pkgsrcstuff/pkgsrc/graphics/freetype2/work/freetype-2.1.3/include/freetype/freetype.h /usr/local/src/p
kgsrcstuff/pkgsrc/graphics/freetype2/work/freetype-2.1.3/include/freetype/ftbbox.h /usr/local/src/pkgsrcstuff/pkgsrc/graphics/
freetype2/work/freetype-2.1.3/include/freetype/ftbdf.h /usr/local/src/pkgsrcstuff/pkgsrc/graphics/freetype2/work/freetype-2.1.
3/include/freetype/ftcache.h /usr/local/src/pkgsrcstuff/pkgsrc/graphics/freetype2/work/freetype-2.1.3/include/freetype/ftchapt
ers.h /usr/local/src/pkgsrcstuff/pkgsrc/graphics/freetype2/work/freetype-2.1.3/include/freetype/fterrdef.h /usr/local/src/pkgs
rcstuff/pkgsrc/graphics/freetype2/work/freetype-2.1.3/include/freetype/fterrors.h /usr/local/src/pkgsrcstuff/pkgsrc/graphics/f
reetype2/work/freetype-2.1.3/include/freetype/ftglyph.h /usr/local/src/pkgsrcstuff/pkgsrc/graphics/freetype2/work/freetype-2.1
.3/include/freetype/ftgzip.h /usr/local/src/pkgsrcstuff/pkgsrc/graphics/freetype2/work/freetype-2.1.3/include/freetype/ftimage
.h /usr/local/src/pkgsrcstuff/pkgsrc/graphics/freetype2/work/freetype-2.1.3/include/freetype/ftincrem.h /usr/local/src/pkgsrcs
tuff/pkgsrc/graphics/freetype2/work/freetype-2.1.3/include/freetype/ftlist.h /usr/local/src/pkgsrcstuff/pkgsrc/graphics/freety
pe2/work/freetype-2.1.3/include/freetype/ftmac.h /usr/local/src/pkgsrcstuff/pkgsrc/graphics/freetype2/work/freetype-2.1.3/incl
ude/freetype/ftmm.h /usr/local/src/pkgsrcstuff/pkgsrc/graphics/freetype2/work/freetype-2.1.3/include/freetype/ftmoderr.h /usr/
local/src/pkgsrcstuff/pkgsrc/graphics/freetype2/work/freetype-2.1.3/include/freetype/ftmodule.h /usr/local/src/pkgsrcstuff/pkg
src/graphics/freetype2/work/freetype-2.1.3/include/freetype/ftoutln.h /usr/local/src/pkgsrcstuff/pkgsrc/graphics/freetype2/wor
k/freetype-2.1.3/include/freetype/ftpfr.h /usr/local/src/pkgsrcstuff/pkgsrc/graphics/freetype2/work/freetype-2.1.3/include/fre
etype/ftrender.h /usr/local/src/pkgsrcstuff/pkgsrc/graphics/freetype2/work/freetype-2.1.3/include/freetype/ftsizes.h /usr/loca
l/src/pkgsrcstuff/pkgsrc/graphics/freetype2/work/freetype-2.1.3/include/freetype/ftsnames.h /usr/local/src/pkgsrcstuff/pkgsrc/
graphics/freetype2/work/freetype-2.1.3/include/freetype/ftstroker.h /usr/local/src/pkgsrcstuff/pkgsrc/graphics/freetype2/work/
freetype-2.1.3/include/freetype/ftsynth.h /usr/local/src/pkgsrcstuff/pkgsrc/graphics/freetype2/work/freetype-2.1.3/include/fre
etype/ftsysio.h /usr/local/src/pkgsrcstuff/pkgsrc/graphics/freetype2/work/freetype-2.1.3/include/freetype/ftsysmem.h /usr/loca
l/src/pkgsrcstuff/pkgsrc/graphics/freetype2/work/freetype-2.1.3/include/freetype/ftsystem.h /usr/local/src/pkgsrcstuff/pkgsrc/
graphics/freetype2/work/freetype-2.1.3/include/freetype/fttrigon.h /usr/local/src/pkgsrcstuff/pkgsrc/graphics/freetype2/work/f
reetype-2.1.3/include/freetype/fttypes.h /usr/local/src/pkgsrcstuff/pkgsrc/graphics/freetype2/work/freetype-2.1.3/include/free
type/ftxf86.h /usr/local/src/pkgsrcstuff/pkgsrc/graphics/freetype2/work/freetype-2.1.3/include/freetype/t1tables.h /usr/local/
src/pkgsrcstuff/pkgsrc/graphics/freetype2/work/freetype-2.1.3/include/freetype/ttnameid.h /usr/local/src/pkgsrcstuff/pkgsrc/gr
aphics/freetype2/work/freetype-2.1.3/include/freetype/tttables.h /usr/local/src/pkgsrcstuff/pkgsrc/graphics/freetype2/work/fre
etype-2.1.3/include/freetype/tttags.h ; do \
install -c -o root -g wheel -m 444 \
$P /usr/pkg/include/freetype2/freetype ; \
done
make: "/usr/local/src/pkgsrcstuff/pkgsrc/graphics/freetype2/work/freetype-2.1.3/Makefile" line 26: Need an operator
make: "/usr/local/src/pkgsrcstuff/pkgsrc/graphics/freetype2/work/freetype-2.1.3/Makefile" line 28: Need an operator
make: "/usr/local/src/pkgsrcstuff/pkgsrc/graphics/freetype2/work/freetype-2.1.3/./builds/toplevel.mk" line 46: Need an operato
r
make: "/usr/local/src/pkgsrcstuff/pkgsrc/graphics/freetype2/work/freetype-2.1.3/./builds/toplevel.mk" line 48: Need an operato
r
make: "/usr/local/src/pkgsrcstuff/pkgsrc/graphics/freetype2/work/freetype-2.1.3/./builds/toplevel.mk" line 59: Missing depende
ncy operator
>How-To-Repeat:
Type make in pkgsrc/graphics/freetype2.
>Fix:
Not sure how to fix this. It seems to use the gmake style Makefile, but using the BSD make program to compile. So when the BSD style program reads the pkgsrc/graphics/freetype2/work/freetype-2.1.3/Makefile it doesn't like the fact that there isn't a '.' or a '#' in front of the 'ifndef' statement. And of course the others too like 'endif' or 'include'.
>Release-Note:
>Audit-Trail:
>Unformatted: