[GRASS-dev] compiling in OS X 10.6 - possible lib/form problems

Michael Barton michael.barton at asu.edu
Wed Dec 23 23:29:43 EST 2009


Hi,

I just updated from the svn and almost successfully compiled 6.5. But I get errors in lib/form and related modules.

I don't know if this is connected with the issues in ticket https://trac.osgeo.org/grass/ticket/843 or if it is something new. I've still got the same TclTk from ActiveStates that I installed before upgrading to 10.6

If I compile as before with --with-macosx-archs="i386,x86_64"
I get the following error...

==============================
Errors in:
/Users/cmbarton/grass_dev/grass65_dev/lib/form
/Users/cmbarton/grass_dev/grass65_dev/vector/v.digit
/Users/cmbarton/grass_dev/grass65_dev/visualization/nviz
--
In case of errors please change into the directory with error and run 'make'.
If you get multiple errors, you need to deal with them in the order they
appear in the error log. If you get an error building a library, you will
also get errors from anything which uses the library.
--
Finished compilation: Wed Dec 23 21:01:44 MST 2009
make: *** [default] Error 1
cmb-MBP-2:grass65_dev cmbarton$ cd /Users/cmbarton/grass_dev/grass65_dev/lib/form
cmb-MBP-2:form cmbarton$ make
gcc -L/Users/cmbarton/grass_dev/grass65_dev/dist.i386-apple-darwin10.2.0/lib      -o /Users/cmbarton/grass_dev/grass65_dev/dist.i386-apple-darwin10.2.0/etc/form/form OBJ.i386-apple-darwin10.2.0/form.o -lgrass_dbmiclient -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz      -lgrass_gis -lgrass_datetime -lz      -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz       -lgrass_gis -lgrass_datetime -lz     -lgrass_datetime \
				 -framework Tcl -framework Tk  -lz 
ld: warning: in /Library/Frameworks//Tcl.framework/Tcl, missing required architecture x86_64 in file
ld: warning: in /Library/Frameworks//Tk.framework/Tk, missing required architecture x86_64 in file
Undefined symbols:
  "_Tcl_CreateInterp", referenced from:
      _main in form.o
  "_Tcl_SetVar", referenced from:
      _Tcl_AppInit in form.o
  "_Tcl_UtfToExternal", referenced from:
      _submit in form.o
  "_Tk_MainEx", referenced from:
      _main in form.o
  "_Tcl_Init", referenced from:
      _Tcl_AppInit in form.o
  "_Tcl_GetStringResult", referenced from:
      _submit in form.o
  "_Tcl_Eval", referenced from:
      _submit in form.o
      _submit in form.o
      _submit in form.o
      _submit in form.o
      _submit in form.o
  "_Tcl_CreateCommand", referenced from:
      _Tcl_AppInit in form.o
      _Tcl_AppInit in form.o
      _Tcl_AppInit in form.o
  "_Tk_SafeInit", referenced from:
      _Tcl_AppInit in form.o
  "_Tcl_StaticPackage", referenced from:
      _Tcl_AppInit in form.o
  "_Tcl_VarEval", referenced from:
      _submit in form.o
  "_Tk_Init", referenced from:
      _Tcl_AppInit in form.o
      _Tcl_AppInit in form.o
  "_Tcl_SetSystemEncoding", referenced from:
      _submit in form.o
  "_Tcl_GetEncoding", referenced from:
      _submit in form.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [/Users/cmbarton/grass_dev/grass65_dev/dist.i386-apple-darwin10.2.0/etc/form/form] Error 1
cmb-MBP-2:form cmbarton$ 
==============================


But if I compile without --with-macosx-archs="i386,x86_64",  I get errors in nviz togl without lib/form

==============================
Errors in:
/Users/cmbarton/grass_dev/grass65_dev/visualization/nviz
--
In case of errors please change into the directory with error and run 'make'.
If you get multiple errors, you need to deal with them in the order they
appear in the error log. If you get an error building a library, you will
also get errors from anything which uses the library.
--
Finished compilation: Wed Dec 23 21:20:39 MST 2009
make: *** [default] Error 1
cmb-MBP-2:grass65_dev cmbarton$ cd /Users/cmbarton/grass_dev/grass65_dev/visualization/nviz
cmb-MBP-2:nviz cmbarton$ make
make -C src
gcc -L/Users/cmbarton/grass_dev/grass65_dev/dist.i386-apple-darwin10.2.0/lib     -o nvwish OBJ.i386-apple-darwin10.2.0/nvizAppInit.o OBJ.i386-apple-darwin10.2.0/change_view.o OBJ.i386-apple-darwin10.2.0/draw.o OBJ.i386-apple-darwin10.2.0/exag.o OBJ.i386-apple-darwin10.2.0/glwrappers.o OBJ.i386-apple-darwin10.2.0/init_commands.o OBJ.i386-apple-darwin10.2.0/lights.o OBJ.i386-apple-darwin10.2.0/map_obj.o OBJ.i386-apple-darwin10.2.0/misc.o OBJ.i386-apple-darwin10.2.0/nviz_init.o OBJ.i386-apple-darwin10.2.0/position.o OBJ.i386-apple-darwin10.2.0/quick_draw.o OBJ.i386-apple-darwin10.2.0/anim_support.o OBJ.i386-apple-darwin10.2.0/cutplane_obj.o OBJ.i386-apple-darwin10.2.0/script_support.o OBJ.i386-apple-darwin10.2.0/do_zoom.o OBJ.i386-apple-darwin10.2.0/label.o OBJ.i386-apple-darwin10.2.0/nvizMain.o OBJ.i386-apple-darwin10.2.0/togl.o OBJ.i386-apple-darwin10.2.0/togl_cb.o OBJ.i386-apple-darwin10.2.0/query_vect.o OBJ.i386-apple-darwin10.2.0/volume.o OBJ.i386-apple-darwin10.2.0/togl_flythrough.o OBJ.i386-apple-darwin10.2.0/pick_vect_commands.o OBJ.i386-apple-darwin10.2.0/site_attr_commands.o OBJ.i386-apple-darwin10.2.0/site_highlight_commands.o   -lgrass_ogsf -lgrass_bitmap -lgrass_linkm  -lgrass_g3d -lgrass_gis -lgrass_datetime -lz      -lgrass_gis -lgrass_datetime -lz     -lgrass_sites -lgrass_datetime -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz      -lgrass_dbmiclient -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz      -lgrass_gis -lgrass_datetime -lz      -lgrass_gis -lgrass_datetime -lz     -lgrass_vect -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz      -lgrass_dbmiclient -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz      -lgrass_gis -lgrass_datetime -lz      -lgrass_dgl -lgrass_dig2 -lgrass_gis -lgrass_datetime -lz     -lgrass_rtree  -lgrass_gis -lgrass_datetime -lz     -lgrass_linkm -lgrass_rtree   -lgrass_vect -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz      -lgrass_dbmiclient -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz      -lgrass_gis -lgrass_datetime -lz      -lgrass_dgl -lgrass_dig2 -lgrass_gis -lgrass_datetime -lz     -lgrass_rtree  -lgrass_gis -lgrass_datetime -lz     -lgrass_linkm -lgrass_rtree    -ltk   -ltcl   -framework OpenGL -framework AGL -framework ApplicationServices  \
		-lgrass_bitmap -lgrass_linkm  -lgrass_linkm -lgrass_vect -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz      -lgrass_dbmiclient -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz      -lgrass_gis -lgrass_datetime -lz      -lgrass_dgl -lgrass_dig2 -lgrass_gis -lgrass_datetime -lz     -lgrass_rtree  -lgrass_gis -lgrass_datetime -lz     -lgrass_linkm -lgrass_rtree  -lgrass_dig2 -lgrass_gis -lgrass_datetime -lz     -lgrass_rtree  -lgrass_dgl -lgrass_rtree -lgrass_linkm -lgrass_dbmiclient -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz      -lgrass_gis -lgrass_datetime -lz      -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz       -L/Library/Frameworks/GDAL.framework/Versions/1.6/unix/lib -lgdal  -lgrass_sites -lgrass_datetime -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz      -lgrass_dbmiclient -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz      -lgrass_gis -lgrass_datetime -lz      -lgrass_gis -lgrass_datetime -lz     -lgrass_vect -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz      -lgrass_dbmiclient -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz      -lgrass_gis -lgrass_datetime -lz      -lgrass_dgl -lgrass_dig2 -lgrass_gis -lgrass_datetime -lz     -lgrass_rtree  -lgrass_gis -lgrass_datetime -lz     -lgrass_linkm -lgrass_rtree   -lgrass_form -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz      -lgrass_dbmiclient -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz      -lgrass_gis -lgrass_datetime -lz      -lgrass_gis -lgrass_datetime -lz      -lgrass_dbmiclient -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz      -lgrass_gis -lgrass_datetime -lz      -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz       \
		-lgrass_g3d -lgrass_gis -lgrass_datetime -lz      -lgrass_gis -lgrass_datetime -lz     -lz  \
		-lgrass_datetime -L/Library/Frameworks/UnixImageIO.framework/unix/lib -ltiff  \
		
Undefined symbols:
  "_GetPortBounds", referenced from:
      _SetMacBufRect in togl.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [nvwish] Error 1
make: *** [default] Error 2
cmb-MBP-2:nviz cmbarton$ 
==============================



Michael



____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity 
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University

Phone: 480-965-6262
Fax: 480-965-7671
www: www.public.asu.edu/~cmbarton, http://csdc.asu.edu







-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20091223/89170bee/attachment-0001.html


More information about the grass-dev mailing list