<HTML>
<HEAD>
<TITLE>problems with mkftcap</TITLE>
</HEAD>
<BODY>
<FONT FACE="Helvetica, Verdana, Arial"><SPAN STYLE='font-size:12.0px'>I just updated, did a make distclean, and recompiled GRASS 6.3.<BR>
<BR>
mkftcap is not working on my Mac Intel MacBook Pro (OS X 4.9)<BR>
<BR>
When I compiled, there was an error in compiling mkftcap. I changed to the mkftcap directory and ran make and it compiled without apparent error. But when I try to run it, I get an error. I list all below. My freetypecap file is empty.<BR>
<BR>
Michael<BR>
<BR>
***************************ORIGINAL ERROR WITH MAKE<BR>
<BR>
mkftcap<BR>
if [ ! -d /Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/scripts ]; then mkdir /Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/scripts; fi<BR>
/usr/bin/install -c mkftcap /Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/scripts/mkftcap<BR>
GISRC=/Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/demolocation/.grassrc63 GISBASE=/Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1 PATH="/Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/bin:$PATH" DYLD_LIBRARY_PATH="/Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/bin:/Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/lib:" LC_ALL=C /Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/scripts/mkftcap --html-description | grep -v '</body>\|</html>' > mkftcap.tmp.html ; true<BR>
find: -printf: unknown expression primary<BR>
find: -printf: unknown expression primary<BR>
find: -printf: unknown expression primary<BR>
find: -printf: unknown expression primary<BR>
mkdir -p /Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/docs/html<BR>
mv -f mkftcap.tmp.html /Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/docs/html/mkftcap.html<BR>
for file in *.png *.jpg ; do \<BR>
head -n 1 $file | grep '^#!' > /dev/null ; \<BR>
if [ $? -ne 0 ] ; then \<BR>
/usr/bin/install -c -m 644 $file /Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/docs/html ; \<BR>
fi \<BR>
done 2> /dev/null ; true<BR>
GISRC=/Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/demolocation/.grassrc63 GISBASE=/Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1 PATH=/Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/bin:$PATH DYLD_LIBRARY_PATH="/Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/lib:" g.parser -t mkftcap | sed s/\"/\\\\\"/g | sed 's/.*/_("&")/' > ../../locale/scriptstrings/mkftcap_to_translate.c ; true<BR>
/Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/scripts/mkftcap > /Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/etc/freetypecap<BR>
You must be in GRASS GIS to run this program<BR>
make[2]: *** [/Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/etc/freetypecap] Error 1<BR>
<BR>
***************************RESULTS AFTER RUNING MAKE IN THE MKFTCAP DIRECTORY<BR>
<BR>
cmb-MBP:~/grass_dev/grass6 cmbarton$ cd ./tools/mkftcap<BR>
cmb-MBP:~/grass_dev/grass6/tools/mkftcap cmbarton$ make<BR>
GISRC=/Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/demolocation/.grassrc63 GISBASE=/Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1 PATH="/Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/bin:$PATH" DYLD_LIBRARY_PATH="/Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/bin:/Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/lib:" LC_ALL=C /Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/scripts/mkftcap --html-description | grep -v '</body>\|</html>' > mkftcap.tmp.html ; true<BR>
find: -printf: unknown expression primary<BR>
find: -printf: unknown expression primary<BR>
find: -printf: unknown expression primary<BR>
find: -printf: unknown expression primary<BR>
mkdir -p /Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/docs/html<BR>
mv -f mkftcap.tmp.html /Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/docs/html/mkftcap.html<BR>
for file in *.png *.jpg ; do \<BR>
head -n 1 $file | grep '^#!' > /dev/null ; \<BR>
if [ $? -ne 0 ] ; then \<BR>
/usr/bin/install -c -m 644 $file /Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/docs/html ; \<BR>
fi \<BR>
done 2> /dev/null ; true<BR>
GISRC=/Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/demolocation/.grassrc63 GISBASE=/Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1 PATH=/Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/bin:$PATH DYLD_LIBRARY_PATH="/Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/lib:" g.parser -t mkftcap | sed s/\"/\\\\\"/g | sed 's/.*/_("&")/' > ../../locale/scriptstrings/mkftcap_to_translate.c ; true<BR>
<BR>
<BR>
***************************ERROR ON RUNING MKFTCAP <BR>
<BR>
GRASS 6.3.cvs (spearfish60_test):~ > mkftcap<BR>
find: -printf: unknown expression primary<BR>
find: -printf: unknown expression primary<BR>
find: -printf: unknown expression primary<BR>
find: -printf: unknown expression primary<BR>
</SPAN></FONT><SPAN STYLE='font-size:12.0px'><FONT FACE="Verdana, Helvetica, Arial"><BR>
__________________________________________<BR>
Michael Barton, Professor of Anthropology<BR>
School of Human Evolution & Social Change <BR>
Center for Social Dynamics & Complexity<BR>
Arizona State University<BR>
<BR>
phone: 480-965-6213<BR>
fax: 480-965-7671<BR>
www: <a href="http://www.public.asu.edu/~cmbarton">http://www.public.asu.edu/~cmbarton</a> <BR>
<BR>
</FONT></SPAN>
</BODY>
</HTML>