Some days I don't pay attention - I slipped into a time-warp, actually
I'm on 10.5.8.
So I think confusion on the libraries is right. Mind you, I don't
actually use Nviz and can do without, but g.mkfontcap is failing as well.
Here's the config line I've been using, from the Wiki with some edits
(eg locating MySQL).
./configure --enable-sysv --with-x --with-opengl=x11 --with-cxx
--with-freetype \
--with-mysql=yes \
--with-mysql-includes=/usr/local/mysql-5.1.40-osx10.5-x86/include \
--with-mysql-libs=/usr/local/mysql-5.1.40-osx10.5-x86/lib \
--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.6/Programs/gdal-config
\
--with-proj-includes=/Library/Frameworks/PROJ.framework/Versions/4/unix/include
\
--with-proj-libs=/Library/Frameworks/PROJ.framework/Versions/4/unix/lib \
--with-proj-share=/Library/Frameworks/PROJ.framework/Versions/4/unix/share/
\
--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
\
--with-fftw \
--with-fftw-includes=/Library/Frameworks/FFTW3.framework/unix/include \
--with-fftw-libs=/Library/Frameworks/FFTW3.framework/unix/lib \
--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-nviz=no \
--with-python \
--with-tcltk-includes=/usr/local/include \
--with-tcltk-libs=/usr/local/lib \
--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
\
--without-motif \
--with-opengl-libs=/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries
On 19/09/10 12:48 AM, William Kyngesburye wrote:
Ah! That old error. When you said OS X 10.4.1, did you really mean that, or
is it 10.4.11?
This problem should be fixed in the system in 10.4.11, but 10.4.1 I think still
had it.
If you really are at 10.4.1, then you definitely should apply all updates to
10.4.11. Also make sure you are using the last Xcode version possible for
Tiger, 2.5 I think.
Another possible problem here is that make is getting confused between the
system OpenGL and X11 OpenGL libraries. How are you configuring opengl and
tcltk?
On Sep 18, 2010, at 1:37 AM, Richard Chirgwin wrote:
William,
Make exits with an error in Nviz; /lib/nviz won't make. Here's the /lib/nviz
error:
(cd /usr/local/grass-6.4.0/dist./lib; ln -f -s libgrass_nviz.6.4.0.dylib
/usr/local/grass-6.4.0/dist./lib/libgrass_nviz.dylib)
ld: cycle in dylib re-exports with /usr/X11/lib/libGL.dylib
collect2: ld returned 1 exit status
make: *** [/usr/local/grass-6.4.0/dist./lib/libgrass_nviz.6.4.0.dylib] Error 1
Richard
On 17/09/10 11:47 PM, William Kyngesburye wrote:
--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
On Sep 17, 2010, at 3:48 AM, Richard Chirgwin wrote:
William - I'm not getting as far as "make" yet. At configure, it fails:
Unable to locate External PROJ.4 includes.
This, even if I use:
--with-proj=/Library/Frameworks/PROJ.framework/Versions/4/Headers/proj_api.h
(I know that PROJ.4 is installed, I'm using 6.4.0-RC4 with no worries!)
Richard
-----
William Kyngesburye<kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
All generalizations are dangerous, even this one.
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user