<HTML>
<HEAD>
<TITLE>Shapelib and dbf not compiling for Mac</TITLE>
</HEAD>
<BODY>
<FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>I guess I&#8217;ll try again to see if someone has some advice on this. The current SVN trunk won&#8217;t compile on Mac OSX 10.4 (or at least it won&#8217;t compile for me with OSX 10.4).<BR>
<BR>
I updated again last night, did make distclean, configure, and compile. Configure ran fine. My configure string follows the error output below.<BR>
<BR>
I have errors in ./lib/external/shapelib and in ./db/drivers/dbf.<BR>
<BR>
Wiliam Kyngesburey thinks they may be related but isn&#8217;t sure what is causing them. The full error output is &nbsp;below. Any suggestions are helpful. <BR>
<BR>
Thanks.<BR>
Michael<BR>
<BR>
<BR>
</SPAN></FONT></FONT><FONT FACE="Helvetica, Verdana, Arial"><SPAN STYLE='font-size:9pt'>Following modules are missing the 'description.html' file in src code:<BR>
d.paint.labels<BR>
p.out.vrml<BR>
r.cats<BR>
----------------------------------------------------------------------<BR>
GRASS GIS compilation log<BR>
-------------------------<BR>
Started compilation: Wed Apr &nbsp;2 19:44:52 MST 2008<BR>
--<BR>
Errors in:<BR>
/Users/cmbarton/grass_dev/grass_src/lib/external/shapelib<BR>
/Users/cmbarton/grass_dev/grass_src/db/drivers/dbf<BR>
/Users/cmbarton/grass_dev/grass_src/gui/wxpython/vdigit<BR>
--<BR>
In case of errors please change into the directory with error and run 'make'.<BR>
If you get multiple errors, you need to deal with them in the order they<BR>
appear in the error log. If you get an error building a library, you will<BR>
also get errors from anything which uses the library.<BR>
--<BR>
Finished compilation: Wed Apr &nbsp;2 19:57:28 MST 2008<BR>
make: *** [default] Error 1<BR>
cmb-MBP-2:~/grass_dev/grass_src cmbarton$ cd ./lib/external/shapelib<BR>
cmb-MBP-2:~/grass_dev/grass_src/lib/external/shapelib cmbarton$ make<BR>
make lib<BR>
cc -dynamiclib -compatibility_version 6.3 -current_version 6.3 -install_name /Applications/Grass/GRASS-6.3.app/Contents/MacOS/lib/libgrass_shape.dylib -o /Users/cmbarton/grass_dev/grass_src/dist.i686-apple-darwin8.11.1/lib/libgrass_shape.6.3.svn.dylib -L/Users/cmbarton/grass_dev/grass_src/dist.i686-apple-darwin8.11.1/lib &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;OBJ.i686-apple-darwin8.11.1/shpopen.o OBJ.i686-apple-darwin8.11.1/dbfopen.o &nbsp;&amp;&amp; \<BR>
(cd /Users/cmbarton/grass_dev/grass_src/dist.i686-apple-darwin8.11.1/lib; ln -f -s libgrass_shape.6.3.svn.dylib /Users/cmbarton/grass_dev/grass_src/dist.i686-apple-darwin8.11.1/lib/libgrass_shape.dylib)<BR>
ld: Undefined symbols:<BR>
_SASetupDefaultHooks<BR>
/usr/bin/libtool: internal link edit command failed<BR>
make[1]: *** [/Users/cmbarton/grass_dev/grass_src/dist.i686-apple-darwin8.11.1/lib/libgrass_shape.6.3.svn.dylib] Error 1<BR>
make: *** [default] Error 2<BR>
cmb-MBP-2:~/grass_dev/grass_src/lib/external/shapelib cmbarton$ cd ~/grass_dev/grass_src<BR>
cmb-MBP-2:~/grass_dev/grass_src cmbarton$ cd ./db/drivers/dbf<BR>
cmb-MBP-2:~/grass_dev/grass_src/db/drivers/dbf cmbarton$ make<BR>
gcc -L/Users/cmbarton/grass_dev/grass_src/dist.i686-apple-darwin8.11.1/lib &nbsp;&nbsp;&nbsp;&nbsp;-o /Users/cmbarton/grass_dev/grass_src/dist.i686-apple-darwin8.11.1/driver/db/dbf OBJ.i686-apple-darwin8.11.1/column.o OBJ.i686-apple-darwin8.11.1/cursor.o OBJ.i686-apple-darwin8.11.1/db.o OBJ.i686-apple-darwin8.11.1/dbfexe.o OBJ.i686-apple-darwin8.11.1/describe.o OBJ.i686-apple-darwin8.11.1/driver.o OBJ.i686-apple-darwin8.11.1/error.o OBJ.i686-apple-darwin8.11.1/execute.o OBJ.i686-apple-darwin8.11.1/fetch.o OBJ.i686-apple-darwin8.11.1/listtab.o OBJ.i686-apple-darwin8.11.1/main.o OBJ.i686-apple-darwin8.11.1/select.o OBJ.i686-apple-darwin8.11.1/str.o OBJ.i686-apple-darwin8.11.1/table.o OBJ.i686-apple-darwin8.11.1/create_table.o &nbsp;-lgrass_dbmidriver -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-lgrass_dbstubs -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-lgrass_gis -lgrass_datetime -lz &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-lgrass_gis -lgrass_datetime -lz &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-lgrass_sqlp -lgrass_shape -lgrass_dbstubs -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-lgrass_gis -lgrass_datetime -lz &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-lgrass_gis -lgrass_datetime -lz &nbsp;&nbsp;&nbsp;&nbsp;-lgrass_datetime -L/Library/Frameworks/GDAL.framework/Versions/1.5/unix/lib -lgdal &nbsp;-lz <BR>
/usr/bin/ld: can't locate file for: -lgrass_shape<BR>
collect2: ld returned 1 exit status<BR>
make: *** [/Users/cmbarton/grass_dev/grass_src/dist.i686-apple-darwin8.11.1/driver/db/dbf] Error 1<BR>
<BR>
============ configure string ==============<BR>
<BR>
./configure --with-freetype --with-freetype-includes=&quot;/Library/Frameworks/FreeType.framework/unix/include/freetype2 /Library/Frameworks/FreeType.framework/unix/include&quot; --with-freetype-libs=/Library/Frameworks/FreeType.framework/unix/lib --with-gdal=/Library/Frameworks/GDAL.framework/Programs/gdal-config --with-proj --with-proj-includes=/Library/Frameworks/PROJ.framework/unix/include --with-proj-libs=/Library/Frameworks/PROJ.framework/unix/lib --with-proj-share=/Library/Frameworks/PROJ.framework/Resources/proj --with-jpeg-includes=/Library/Frameworks/UnixImageIO.framework/unix/include --with-jpeg-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib --with-png-includes=/Library/Frameworks/UnixImageIO.framework/unix/include --with-png-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib --with-tiff-includes=/Library/Frameworks/UnixImageIO.framework/unix/include --with-tiff-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib --without-postgres --without-mysql --with-odbc --with-sqlite --with-sqlite-libs=/Library/Frameworks/SQLite3.framework/unix/lib --with-sqlite-includes=/Library/Frameworks/SQLite3.framework/unix/include --with-fftw-includes=/Library/Frameworks/FFTW3.framework/unix/include --with-fftw-libs=/Library/Frameworks/FFTW3.framework/unix/lib --with-cxx --with-tcltk-includes=/usr/local/tcltk/include --with-tcltk-libs=/usr/local/tcltk/lib --with-x --without-motif --without-glw --with-opengl=x11 --with-opengl-libs=/usr/X11R6/lib --without-readline --prefix=/Applications/Grass --enable-macosx-app --with-python --with-wxwidgets=/usr/local/lib/wxPython-unicode-2.8.7.1/bin/wx-config<BR>
<BR>
<BR>
</SPAN></FONT><FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
__________________________________________<BR>
Michael Barton, Professor of Anthropology<BR>
Director of Graduate Studies<BR>
School of Human Evolution &amp; Social Change &nbsp;&nbsp;&nbsp;<BR>
Center for Social Dynamics &amp; Complexity<BR>
Arizona State University<BR>
<BR>
phone: 480-965-6213<BR>
fax: 480-965-7671<BR>
www: <a href="http://www.public.asu.edu/~cmbarton">http://www.public.asu.edu/~cmbarton</a> <BR>
<BR>
</SPAN></FONT></FONT>
</BODY>
</HTML>