[GRASS-dev] compiling issue on Mac - ogsf

OGSF is no longer compiling with an OS X aqua TclTk build. I’m using OS X 10.5.5. This causes nviz compilation to fail in both the tcltk and wxpython versions. Interestingly vdigit is also failing again. For wxPython, I’ve switched to native Python installation (it is now 2.5.2) and installed the newest wxPython (2.8.9.1).

Errors in:
/Users/cmbarton/grass_dev/grass6_src/lib/ogsf
/Users/cmbarton/grass_dev/grass6_src/lib/nviz
/Users/cmbarton/grass_dev/grass6_src/gui/wxpython/vdigit
/Users/cmbarton/grass_dev/grass6_src/gui/wxpython/nviz
/Users/cmbarton/grass_dev/grass6_src/visualization/nviz
/Users/cmbarton/grass_dev/grass6_src/visualization/nviz2/cmd

Here is the OGSF error

cc -dynamiclib -compatibility_version 6.4 -current_version 6.4 -install_name /Applications/GRASS/GRASS-6.4.app/Contents/MacOS/lib/libgrass_ogsf.dylib -o /Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.5.0/lib/libgrass_ogsf.6.4.svn.dylib -L/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.5.0/lib -arch i386 -Os -g -arch i386 -Os -g OBJ.i386-apple-darwin9.5.0/GK2.o OBJ.i386-apple-darwin9.5.0/GP2.o OBJ.i386-apple-darwin9.5.0/GS2.o OBJ.i386-apple-darwin9.5.0/GSX.o OBJ.i386-apple-darwin9.5.0/GS_util.o OBJ.i386-apple-darwin9.5.0/GV2.o OBJ.i386-apple-darwin9.5.0/GVL2.o OBJ.i386-apple-darwin9.5.0/Gp3.o OBJ.i386-apple-darwin9.5.0/Gs3.o OBJ.i386-apple-darwin9.5.0/Gv3.o OBJ.i386-apple-darwin9.5.0/Gvl3.o OBJ.i386-apple-darwin9.5.0/gk.o OBJ.i386-apple-darwin9.5.0/gp.o OBJ.i386-apple-darwin9.5.0/gpd.o OBJ.i386-apple-darwin9.5.0/gs.o OBJ.i386-apple-darwin9.5.0/gs_bm.o OBJ.i386-apple-darwin9.5.0/gs_norms.o OBJ.i386-apple-darwin9.5.0/gs_query.o OBJ.i386-apple-darwin9.5.0/gsd_cplane.o OBJ.i386-apple-darwin9.5.0/gsd_fonts.o OBJ.i386-apple-darwin9.5.0/gsd_fringe.o OBJ.i386-apple-darwin9.5.0/gsd_img_mpeg.o OBJ.i386-apple-darwin9.5.0/gsd_img_ppm.o OBJ.i386-apple-darwin9.5.0/gsd_img_tif.o OBJ.i386-apple-darwin9.5.0/gsd_label.o OBJ.i386-apple-darwin9.5.0/gsd_legend.o OBJ.i386-apple-darwin9.5.0/gsd_objs.o OBJ.i386-apple-darwin9.5.0/gsd_prim.o OBJ.i386-apple-darwin9.5.0/gsd_surf.o OBJ.i386-apple-darwin9.5.0/gsd_views.o OBJ.i386-apple-darwin9.5.0/gsd_wire.o OBJ.i386-apple-darwin9.5.0/gsdiff.o OBJ.i386-apple-darwin9.5.0/gsdrape.o OBJ.i386-apple-darwin9.5.0/gsds.o OBJ.i386-apple-darwin9.5.0/gsget.o OBJ.i386-apple-darwin9.5.0/gv.o OBJ.i386-apple-darwin9.5.0/gv_quick.o OBJ.i386-apple-darwin9.5.0/gvd.o OBJ.i386-apple-darwin9.5.0/gvl.o OBJ.i386-apple-darwin9.5.0/gvl_calc.o OBJ.i386-apple-darwin9.5.0/gvl_calc2.o OBJ.i386-apple-darwin9.5.0/gvl_file.o OBJ.i386-apple-darwin9.5.0/gvld.o OBJ.i386-apple-darwin9.5.0/trans.o -lgrass_gis -lgrass_datetime -lz -lgrass_bitmap -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.5/unix/lib -lgdal -L/usr/X11/lib -framework OpenGL -framework AGL -framework ApplicationServices -L/Library/Frameworks/UnixImageIO.framework/unix/lib -ltiff -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_g3d -lgrass_gis -lgrass_datetime -lz &&
(cd /Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.5.0/lib; ln -f -s libgrass_ogsf.6.4.svn.dylib /Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.5.0/lib/libgrass_ogsf.dylib)
ld: cycle in dylib re-exports with /usr/X11/lib/libGL.dylib
collect2: ld returned 1 exit status
make: *** [/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.5.0/lib/libgrass_ogsf.6.4.svn.dylib] Error 1


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

Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>

On Oct 8, 2008, at 2:22 PM, Michael Barton wrote:

ld: cycle in dylib re-exports with /usr/X11/lib/libGL.dylib

That's the OpenGL linking problem from Xcode 3.0 that should be fixed in Xcode 3.1.

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

Earth: "Mostly harmless"

- revised entry in the HitchHiker's Guide to the Galaxy

Grrr.

Now nviz won't work with x11 or with aqua. What a bite.

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

Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>

On Oct 8, 2008, at 12:57 PM, William Kyngesburye wrote:

I'll give it a try later - it looks like I updated to Xcode 3.1.1 *after* the last time I tried compiling GRASS (middle of Sept).

On Oct 8, 2008, at 2:43 PM, Michael Barton wrote:

I wonder why it is rearing its head again?

Anyway, thanks. I'll download again and hopefully fix this.

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"Time is an illusion - lunchtime doubly so."

- Ford Prefect