[GRASS-dev] where is GRASS looking for these dependencies?

Michael Barton Michael.Barton at asu.edu
Fri Jul 15 13:34:55 PDT 2016


Thanks. I’m trying to find out if any of these are hardwired to specifically look in /usr/.. for stuff. 

Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity 
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice:  480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu















> On Jul 15, 2016, at 1:31 PM, Markus Neteler <neteler at osgeo.org> wrote:
> 
> On Fri, Jul 15, 2016 at 9:27 PM, Michael Barton <Michael.Barton at asu.edu> wrote:
>> Can someone familiar with the GRASS build system tell me where it is looking
>> for the following items in the configure string when compiling?
>> 
>> --with-x
>> --with-cxx
>> --with-opengl=aqua
>> --with-python
>> --with-opencl
> 
> The --with-x is AFAIK not used in G7.x (not sure if this applies to
> Mac OSX, too).
> 
> For the others, as a start, see:
> 
> grep opengl aclocal.m4 configure.in
> configure.in:LOC_ARG_WITH(opengl, OpenGL)
> configure.in:LOC_ARG_WITH_INC(opengl, OpenGL)
> configure.in:LOC_ARG_WITH_LIB(opengl, OpenGL)
> configure.in:LOC_ARG_WITH_FRAMEWORK(opengl, OpenGL)
> configure.in:AC_MSG_RESULT("$with_opengl")
> configure.in:case "$with_opengl" in
> configure.in:        AC_MSG_ERROR([*** Valid arguments for
> --with-opengl= are yes,no,x11,aqua,windows.])
> configure.in:LOC_CHECK_INC_PATH(opengl,OpenGL,OPENGLINC)
> configure.in:LOC_CHECK_LIB_PATH(opengl,OpenGL,OPENGL_LIB_PATH)
> configure.in:LOC_CHECK_FRAMEWORK_PATH(opengl,OpenGL,OPENGLPATH)
> configure.in:LOC_CHECK_INC_PATH(opengl,OpenGL,OPENGLINC)
> configure.in:LOC_CHECK_LIB_PATH(opengl,OpenGL,OPENGL_LIB_PATH)
> configure.in:LOC_CHECK_LINK(opengl32,[#include
> <GL/gl.h>],[glEnd();],OpenGL,$OPENGL_LIB_PATH,OPENGLLIB)
> 
> grep cxx aclocal.m4 configure.in
> configure.in:LOC_ARG_WITH(cxx, C++)
> configure.in:    PDAL_CPPFLAGS=`"$PDAL_CONFIG" --cxxflags`
> configure.in:LOC_CHECK_USE(cxx,C++,USE_CXX)
> 
> etc..
> 
> Markus



More information about the grass-dev mailing list