[GRASS-dev] problems with mkftcap
Michael Barton
michael.barton at asu.edu
Wed May 2 01:50:59 EDT 2007
I just updated, did a make distclean, and recompiled GRASS 6.3.
mkftcap is not working on my Mac Intel MacBook Pro (OS X 4.9)
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.
Michael
***************************ORIGINAL ERROR WITH MAKE
mkftcap
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
/usr/bin/install -c mkftcap
/Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/scripts/mkftcap
GISRC=/Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/demolocat
ion/.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
find: -printf: unknown expression primary
find: -printf: unknown expression primary
find: -printf: unknown expression primary
find: -printf: unknown expression primary
mkdir -p
/Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/docs/html
mv -f mkftcap.tmp.html
/Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/docs/html/mkftc
ap.html
for file in *.png *.jpg ; do \
head -n 1 $file | grep '^#!' > /dev/null ; \
if [ $? -ne 0 ] ; then \
/usr/bin/install -c -m 644 $file
/Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/docs/html ; \
fi \
done 2> /dev/null ; true
GISRC=/Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/demolocat
ion/.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
/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
You must be in GRASS GIS to run this program
make[2]: ***
[/Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/etc/freetypeca
p] Error 1
***************************RESULTS AFTER RUNING MAKE IN THE MKFTCAP
DIRECTORY
cmb-MBP:~/grass_dev/grass6 cmbarton$ cd ./tools/mkftcap
cmb-MBP:~/grass_dev/grass6/tools/mkftcap cmbarton$ make
GISRC=/Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/demolocat
ion/.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
find: -printf: unknown expression primary
find: -printf: unknown expression primary
find: -printf: unknown expression primary
find: -printf: unknown expression primary
mkdir -p
/Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/docs/html
mv -f mkftcap.tmp.html
/Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/docs/html/mkftc
ap.html
for file in *.png *.jpg ; do \
head -n 1 $file | grep '^#!' > /dev/null ; \
if [ $? -ne 0 ] ; then \
/usr/bin/install -c -m 644 $file
/Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/docs/html ; \
fi \
done 2> /dev/null ; true
GISRC=/Users/cmbarton/grass_dev/grass6/dist.i686-apple-darwin8.9.1/demolocat
ion/.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
***************************ERROR ON RUNING MKFTCAP
GRASS 6.3.cvs (spearfish60_test):~ > mkftcap
find: -printf: unknown expression primary
find: -printf: unknown expression primary
find: -printf: unknown expression primary
find: -printf: unknown expression primary
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20070501/8b9361a0/attachment.html
More information about the grass-dev
mailing list