#23576: GRASS does not build ---------------------------------------------+------------------------------ Reporter: anand.prabhakar.patil@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: grass ---------------------------------------------+------------------------------ Comment(by thomasgeo@…): Hi macsforever, Answer to your questions: {{{ port installed mesa The following ports are currently installed: mesa @7.6.1_1+hw_render (active) port provides /opt/local/include/GL/gl.h /opt/local/include/GL/gl.h is provided by: mesa }}} So the header file is at the place where you expected it. {{{ sudo port clean grass Password: ---> Cleaning grass sudo port install grass ---> Computing dependencies for grass ---> Fetching grass ---> Verifying checksum(s) for grass ---> Extracting grass ---> Applying patches to grass ---> Configuring grass Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gis_grass/work/grass-6.3.0" && ./configure --prefix=/opt/local --with-fftw-includes=/opt/local/include --with-fftw-libs=/opt/local/lib --with-freetype --with-freetype-includes=/opt/local/include/freetype2 --with-freetype-libs=/opt/local/lib --with-gdal=/opt/local/bin/gdal-config --with-jpeg-includes=/opt/local/include --with-jpeg-libs=/opt/local/lib --with-motif --with-motif-includes=/opt/local/include --with-motif-libs=/opt/local/lib --with-png-includes=/opt/local/include --with-png-libs=/opt/local/lib --with-proj-includes=/opt/local/include --with-proj-libs=/opt/local/lib --with-proj-share=/opt/local/share/proj --with-tcltk-includes=/opt/local/include --with-tcltk-libs=/opt/local/lib --with-cxx --with-x --without-postgres --enable-largefile " returned error 1 Command output: checking for TIFFOpen in -ltiff... no checking for TIFFOpen in -ltiff... yes checking whether to use PNG... yes checking for location of PNG includes... /opt/local/include checking for png.h... yes checking for location of PNG library... /opt/local/lib checking for png_read_image in -lpng... yes checking whether to use Tcl/Tk... yes checking for location of Tcl/Tk includes... /opt/local/include checking for tcl.h... yes checking for tk.h... yes checking Tcl version... 8.5 checking Tk version... 8.5 checking for location of Tcl/Tk library... /opt/local/lib checking for Tcl_Init in -ltcl... yes checking for Tk_MainWindow in -ltk... yes checking whether to use PostgreSQL... no checking whether to use MySQL... no checking whether to use SQLite... no checking whether to use FFMPEG... no checking whether to use OpenGL... yes checking for location of OpenGL includes... checking for GL/gl.h... yes checking for GL/glu.h... yes checking for location of OpenGL library... checking for glBegin in -lGL... no checking for glBegin in -lGL... no checking for glBegin in -lGL... no checking for glBegin in -lGL... no configure: error: *** Unable to locate OpenGL library. Error: Status 1 encountered during processing. }}} ??? Any suggestions? Thanks -- Ticket URL: <http://trac.macports.org/ticket/23576#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS