Subject: Re: problem building magicpoint-1.10a on MacOSX 10.3.3
To: Dan Winship <danw@NetBSD.org>
From: Ronald van der Pol <Ronald.vanderPol@rvdp.org>
List: tech-pkg
Date: 05/25/2004 12:41:20
On Mon, May 24, 2004 at 21:33:04 -0400, Dan Winship wrote:

> On May 24, 2004, at 4:17 PM, Ronald van der Pol wrote:
> >Building magicpoint-1.10a on MacOSX 10.3.3 fails with:
> >
> >.... /usr/pkg/bin/bmake ctlwords.h
> >/usr/bin/cc -o ./ctlwords ./ctlwords.c
> >./ctlwords < ./globals.c > ctlwords.h
> >*** Error code 138
> 
> Fixed. cvs up and try again...

Yes, thanks. Magicpoint compiles fine now.

But I do get this error:

spock$ mgp /usr/pkg/share/examples/mgp/sample.mgp 
/Users/rvdp/.mgprc:1: warning: directive "tfdir" not supported in this configuration
/usr/pkg/share/examples/mgp/sample.mgp:15: warning: directive "tfont" not supported in this configuration
/usr/pkg/share/examples/mgp/sample.mgp:15: warning: directive "tmfont" not supported in this configuration
/usr/pkg/share/examples/mgp/sample.mgp:16: warning: directive "tfont" not supported in this configuration
/usr/pkg/share/examples/mgp/sample.mgp:16: warning: directive "tmfont" not supported in this configuration
/usr/pkg/share/examples/mgp/sample.mgp:17: warning: directive "tfont" not supported in this configuration
/usr/pkg/share/examples/mgp/sample.mgp:17: warning: directive "tmfont" not supported in this configuration
event type=14
spock$

I notice this in the configure output:
checking if freetype1 is used... yes
checking for freetype1 library/header... no - not using freetype

I have:
freetype2-2.1.8     Font rendering engine and library API

Installing freetype-1.3.1nb1 does not help.

I don't really understand. It looks like configure is checking these:

spock$ dir=/usr/pkg
spock$ if test -d $dir/lib -a -f $dir/lib/libttf.a; then echo yes; fi
yes
spock$

spock$ ls -l /usr/pkg/lib/libttf.a /usr/pkg/include/freetype/freetype.h 
-r--r--r--  1 root  wheel   44044 25 May 12:20 /usr/pkg/include/freetype/freetype.h
-rw-r--r--  1 root  wheel  222508 25 May 12:20 /usr/pkg/lib/libttf.a
spock$

	rvdp