I have been working with different configure combinations for a 57
build (see below) and now I am struggling with a nad2bin issue.
The make error is:
OBJ.powerpc-apple-darwin7.0.0/get_proj.o
OBJ.powerpc-apple-darwin7.0.0/do_proj.o
OBJ.powerpc-apple-darwin7.0.0/convert.o
OBJ.powerpc-apple-darwin7.0.0/datum.o
OBJ.powerpc-apple-darwin7.0.0/ellipse.o -lgrass_gis -lgrass_datetime
-lintl -lproj -L/usr/local/lib -lgdal -o
/Users/kirkw/tmp/grass57_exp_2003_12_06/dist.powerpc-apple-darwin7.0.0/
lib/libgrass_gproj.dylib
for i in FL.lla MD.lla TN.lla WI.lla WO.lla alaska.lla conus.lla
hawaii.lla prvi.lla stgeorge.lla stlrnc.lla stpaul.lla ; do nad2bin <
$i
/Users/kirkw/tmp/grass57_exp_2003_12_06/dist.powerpc-apple-darwin7.0.0/
etc/nad/`echo $i | sed 's/.lla//'`; done
/bin/sh: line 1: nad2bin: command not found
/bin/sh: line 1: nad2bin: command not found
/bin/sh: line 1: nad2bin: command not found
/bin/sh: line 1: nad2bin: command not found
/bin/sh: line 1: nad2bin: command not found
/bin/sh: line 1: nad2bin: command not found
/bin/sh: line 1: nad2bin: command not found
/bin/sh: line 1: nad2bin: command not found
/bin/sh: line 1: nad2bin: command not found
/bin/sh: line 1: nad2bin: command not found
/bin/sh: line 1: nad2bin: command not found
/bin/sh: line 1: nad2bin: command not found
make[2]: ***
[/Users/kirkw/tmp/grass57_exp_2003_12_06/dist.powerpc-apple-
darwin7.0.0/etc/nad] Error 127
make[1]: *** [subdirs] Error 1
make: *** [default] Error 1
Make sure you have PROJ installed properly. nad2bin comes with it and
should be installed in a directory somewhere in your path, e.g.
/usr/local/bin
checking whether to use Tcl/Tk... yes
checking for location of Tcl/Tk includes...
checking for tcl.h... yes
checking for tk.h... yes
checking Tcl version... 8.4
checking Tk version... 8.4
checking for location of Tcl/Tk library...
checking for Tcl_Init in -ltcl... yes
checking for Tk_MainWindow in -ltk... yes
How did you install freetype? I am having trouble getting freetype to compile and I am wondering if it the fact that I have both freetype and freetype2 installed (from fink).
gives this:
checking whether to use Tcl/Tk... yes
checking for location of Tcl/Tk includes...
checking for tcl.h... yes
checking for tk.h... yes
checking Tcl version... 8.4
checking Tk version... 8.4
checking for location of Tcl/Tk library...
checking for Tcl_Init in -ltcl... yes
checking for Tk_MainWindow in -ltk... yes
------------------------------------------------------------------------
Kirk R. Wythers tel: 612.625.2261
Dept. of Forest Resources fax: 612.625.5212
University of Minnesota email: kwythers@umn.edu
------------------------------------------------------------------------
checking whether to use Tcl/Tk... yes
checking for location of Tcl/Tk includes...
checking for tcl.h... yes
checking for tk.h... yes
checking Tcl version... 8.4
checking Tk version... 8.4
checking for location of Tcl/Tk library...
checking for Tcl_Init in -ltcl... yes
checking for Tk_MainWindow in -ltk... yes
and it works... so yes, I guess so.
Actually, --with-libs=/sw/lib makes --with-tcltk-libs=/sw/lib
redundant; which is fortunate, as it wasn't given.
No doubt /sw/lib/tcl8.4 is the directory which contains the Tcl files
(init.tcl etc); in which case, there's no point passing it to
configure.
In ./db/drivers/postgres/Makefile
CRYPTLIB = -lcrypt
is hardcoded. Maybe this should go elsewhere into Platform.make
?
AFAICT, this is already done. The configure script should add -lcrypt
or '-lssl -lcrypto' to the definition of PQLIB if they are required
(i.e. if libpq doesn't have correct dependency information):
How did you install freetype? I am having trouble getting freetype to
compile and I am wondering if it the fact that I have both freetype
and freetype2 installed (from fink).
I installed both from Fink and whatever came with Apple's X11 + SDKs.
Note in the above config script I put /usr/X11R6/include [ie Apple's]
before /sw/include [ie Fink's] on both the global --with-includes and
--with-libs. This means that when I add --with-freetype below, it
searches for Apple's Freetype2 libraries first[??]. I still have to
specify the FT2 includes directory though. Most likely you are trying to
mix Fink's libraries with Apple's headers and getting a version
miss-match.
Couple of things to mention:
- You need freetype2, not freetype.
- Someone mentioned Fink's freetype is newer. I'm not sure about this.
Check the header (.h) files for MAJOR and MINOR versions. When I did
Apple's was newer, but this may have changed by now. Either way it
seems to work fine with the version included in Apple OSX 10.3.
- most likely Apple TrueType fonts won't work with the path= option, but
the ones included for Apple's Java install and many other 3rd party ones
will. I've had the same problem with Windows TTF's, don't know enough
about them to get 'em working.
- d.text.freetype still needs some polish (-c flag to set placement as %
of frame, match RGB colour selection to the d.vect.* way, etc).
Hopefully I'll get to this someday before the end of summer.