Hello all, on an unrelated topic to my issues with wxgui and wx2.9, I'm also facing some problems with add-ons. Specifically, I need r.stream.order.
So I compile GRASS 7.0svn, and it goes fine. Here's my config options: export CFLAGS="-O2" export CXXFLAGS="" export LDFLAGS="" ./configure \ --enable-largefile \ --prefix=/Applications \ --enable-macosx-app \ --enable-sysv \ --without-glw \ --without-motif \ --without-cairo \ --without-geos \ --with-x \ --with-x-includes=/usr/X11R6/include \ --with-x-libraries=/usr/X11R6/lib \ --with-opengl=aqua \ --without-odbc \ --with-cxx \ --with-freetype \ --with-freetype-includes=/Library/Frameworks/FreeType.framework/unix/include \ --with-freetype-libs=/Library/Frameworks/FreeType.framework/unix/lib \ --with-gdal=/Library/Frameworks/GDAL.framework/Versions/1.8/Programs/gdal-config \ --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/Versions/4.6/unix/share/proj \ --with-jpeg \ --with-jpeg-includes=/Library/Frameworks/UnixImageIO.framework/unix/include \ --with-jpeg-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib \ --with-tiff \ --with-tiff-includes=/Library/Frameworks/UnixImageIO.framework/unix/include \ --with-tiff-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-sqlite \ --with-sqlite-libs=/Library/Frameworks/SQLite3.framework/unix/lib \ --with-sqlite-includes=/Library/Frameworks/SQLite3.framework/unix/include \ --without-fftw \ --with-postgres-includes=/usr/local/pgsql/include \ --with-postgres-libs=/usr/local/pgsql/lib \ --with-freetype \ --with-freetype-includes=/Library/Frameworks/FreeType.framework/unix/include \ --with-freetype-libs=/Library/Frameworks/FreeType.framework/unix/lib \ --with-python=/Library/Frameworks/Python.framework/Versions/2.7/bin/python-config \ --with-wxwidgets=/usr/local/lib/wxPython-2.9.3.1/bin/wx-config \ --without-readline \ --without-tcltk \ --with-blas \ --with-lapack \ --with-blas-includes=/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers \ --with-lapack-includes=/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers \ I run make, make libs, and make install, which creates my GRASS-7.0.app in /Applications Then I get the add-ons from svn as svn checkout http://svn.osgeo.org/grass/grass-addons I cd into r.stream.order and try this: make MODULE_TOPDIR=/Users/guano/Documents/installs/grass/grass_trunk/ and get this: GuanoMac:r.stream.order guano$ make MODULE_TOPDIR=/Users/guano/Documents/installs/grass/grass_trunk/ : && gcc -L/Users/guano/Documents/installs/grass/grass_trunk/dist.x86_64-apple-darwin11.3.0/lib -L/Users/guano/Documents/installs/grass/grass_trunk/dist.x86_64-apple-darwin11.3.0/lib -o /Users/guano/Documents/installs/grass/grass_trunk/dist.x86_64-apple-darwin11.3.0/bin/r.stream.order OBJ.x86_64-apple-darwin11.3.0/io.o OBJ.x86_64-apple-darwin11.3.0/main.o OBJ.x86_64-apple-darwin11.3.0/stream_init.o OBJ.x86_64-apple-darwin11.3.0/stream_order.o OBJ.x86_64-apple-darwin11.3.0/stream_raster_close.o OBJ.x86_64-apple-darwin11.3.0/stream_topology.o OBJ.x86_64-apple-darwin11.3.0/stream_vector.o -lgrass_gis.7.0.svn -lgrass_raster.7.0.svn -lgrass_segment.7.0.svn -lgrass_dbmiclient.7.0.svn -lgrass_dbmibase.7.0.svn Undefined symbols for architecture x86_64: "_Vect_new_line_struct", referenced from: _ram_create_vector in stream_vector.o _seg_create_vector in stream_vector.o "_Vect_new_cats_struct", referenced from: _ram_create_vector in stream_vector.o _seg_create_vector in stream_vector.o "_Vect_open_new", referenced from: _ram_create_vector in stream_vector.o _seg_create_vector in stream_vector.o "_Vect_reset_line", referenced from: _ram_create_vector in stream_vector.o _seg_create_vector in stream_vector.o "_Vect_reset_cats", referenced from: _ram_create_vector in stream_vector.o _seg_create_vector in stream_vector.o "_Vect_cat_set", referenced from: _ram_create_vector in stream_vector.o _seg_create_vector in stream_vector.o "_Vect_append_point", referenced from: _ram_create_vector in stream_vector.o _seg_create_vector in stream_vector.o "_Vect_write_line", referenced from: _ram_create_vector in stream_vector.o _seg_create_vector in stream_vector.o "_Vect_hist_command", referenced from: _ram_create_vector in stream_vector.o _seg_create_vector in stream_vector.o "_Vect_build", referenced from: _ram_create_vector in stream_vector.o _seg_create_vector in stream_vector.o "_Vect_close", referenced from: _ram_create_vector in stream_vector.o _seg_create_vector in stream_vector.o "_Vect_default_field_info", referenced from: _stream_add_table in stream_vector.o "_Vect_subst_var", referenced from: _stream_add_table in stream_vector.o "_Vect_map_add_dblink", referenced from: _stream_add_table in stream_vector.o ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status make: *** [/Users/guano/Documents/installs/grass/grass_trunk/dist.x86_64-apple-darwin11.3.0/bin/r.stream.order] Error 1 So, now I'm having problems with 64bits? thanks Carlos -- Prof. Carlos Henrique Grohmann - Geologist D.Sc. Institute of Geosciences - Univ. of São Paulo, Brazil --- http://www.igc.usp.br/pessoais/guano http://www.igc.usp.br/openstereo<http://www.igc.usp.br/index.php?id=openstereo> http://lattes.cnpq.br/5846052449613692 (CV) --- Twitter: @CarlosGrohmann http://carlosgrohmann.tumblr.com/ ________________ Can’t stop the signal.
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
