[GRASS5] Darwin Pre2 Config Errors
Glynn Clements
glynn.clements at virgin.net
Fri Sep 21 10:17:22 EDT 2001
Jeshua Lacock wrote:
> The configure script is locating the header files but not their
> respective library located in the correctly specified directory.
>
> Just these following lib checks are failing:
>
> > checking for location of PNG includes... /usr/local/include
> > checking for png.h... yes
> > checking for location of PNG library... /usr/local/lib
> > checking for png_read_png in -lpng... no
> > configure: warning: *** Unable to locate PNG library.
I would need to see the config.log file to determine why this test
fails. I can't do anything without it.
> > checking for location of GD includes... /usr/local/include
> > checking for gd.h... yes
> > checking for location of GD library... /usr/local/lib
> > checking for gdImageCreate in -lgd... no
> > checking for gdImageCreate in -lgd... no
> > checking for gdImageCreate in -lgd... no
> > checking for gdImageCreate in -lgd... no
> > configure: warning: *** Unable to locate GD library.
GD often requires PNG, so this may just be a consequence of the PNG
failure.
> > checking for gdImageGif... no
> > checking for gdImagePng... no
> > checking for location of Tcl/Tk includes... /usr/local/include/
> > checking for tcl.h... yes
> > checking for tk.h... no
> > configure: warning: *** Could not find 'tk.h'.
>
> This one is really weird, it finds 'tcl.h' but not 'tk.h' located in the
> same directory.
Odd. This check (AC_CHECK_HEADERS) involves attempting to pre-process
(via e.g. "cpp", "gcc -E" or similar) the following test program:
#line 5436 "configure"
#include "confdefs.h"
#include <tk.h>
If the check fails, but tk.h is present, this implies that
pre-processing tk.h fails, e.g. because one of the headers which tk.h
includes can't be found.
My suspicion is that the X headers can't be found. I'll look into
adding the appropriate -I switch(es) automatically (via X_CFLAGS). If
I'm correct, you should be able to work around the problem using e.g.
--with-tcltk-includes=/usr/X11R6/include
Note: this option accepts a space-separated list of directories, e.g.
--with-tcltk-includes='/usr/local/include /usr/X11R6/include'
> > configure: warning: *** Tcl/Tk version mismatch.
>
> Hmm, this one is new. I'm stumped.
This is an artifact of the tk.h test failing.
> > checking for location of Tcl/Tk libraries... /usr/local/lib
> > checking for Tcl_Init in -ltcl... yes
> > checking for Tk_MainWindow in -ltk... no
> > checking for Tk_MainWindow in -ltk... no
> > checking for Tk_MainWindow in -ltk... no
> > checking for Tk_MainWindow in -ltk... no
> > configure: warning: *** Unable to locate Tk library.
Possibly related to X libraries, although I would need to see
config.log to be sure.
> BTW: I have decided to skip the BLAS and LAPACK libraries for now
> because they are Fortran. What module(s) use them?
I don't think that anything uses them at present.
--
Glynn Clements <glynn.clements at virgin.net>
More information about the grass-dev
mailing list