Hi all,<div><br></div><div>I&#39;m trying to build GRASS 7 svn on my mac with OSX Lion, but I&#39;m facing some issues.</div><div>I have the frameworks from Kyngschaos installed. </div><div>make runs fine and no errors are detected. Then I run make bindist to create the .pkg.</div>

<div>After intalling the pkg, I run it and get this:</div><div><br></div><div><div>GuanoMac:~ guano$ &#39;/Applications/GRASS-7.0.app/Contents/MacOS/grass.sh&#39;; exit</div><div>Rebuilding Addon HTML manual pages index...</div>

<div>Rebuilding Addon menu...</div><div>Python 2.7.2 found.</div><div>arch: posix_spawnp: /opt/local/bin/pythonw2.7: Bad CPU type in executable</div><div>logout</div><div><br></div><div>[Process completed]</div></div><div>

<br></div><div><br></div><div><br></div><div><br></div><div>This is my configure setup and its output:</div><div><br></div><div><div>export CFLAGS=&quot;-arch i386 -O2&quot; </div><div>export CXXFLAGS=&quot;-arch i386&quot; </div>

<div>export LDFLAGS=&quot;-arch i386&quot;</div><div><br></div><div>./configure \</div><div>--enable-largefile \</div><div>--prefix=/Applications \</div><div>--enable-macosx-app \</div><div>--enable-sysv \</div><div>--without-glw \</div>

<div>--without-motif \</div><div>--without-cairo \</div><div>--without-geos \</div><div>--with-x \</div><div>--with-x-includes=/usr/X11R6/include \</div><div>--with-x-libraries=/usr/X11R6/lib \</div><div>--with-opengl=aqua \</div>

<div>--without-odbc \</div><div>--with-cxx \</div><div>--with-freetype \</div><div>--with-freetype-includes=/Library/Frameworks/FreeType.framework/unix/include \</div><div>--with-freetype-libs=/Library/Frameworks/FreeType.framework/unix/lib \</div>

<div>--with-gdal=/Library/Frameworks/GDAL.framework/Versions/1.8/Programs/gdal-config \</div><div>--with-proj-includes=/Library/Frameworks/PROJ.framework/unix/include \</div><div>--with-proj-libs=/Library/Frameworks/PROJ.framework/unix/lib \</div>

<div>--with-proj-share=/Library/Frameworks/PROJ.framework/Versions/4.6/unix/share \</div><div>--with-jpeg \</div><div>--with-jpeg-includes=/Library/Frameworks/UnixImageIO.framework/unix/include \</div><div>--with-jpeg-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib \</div>

<div>--with-tiff \</div><div>--with-tiff-includes=/Library/Frameworks/UnixImageIO.framework/unix/include \</div><div>--with-tiff-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib \</div><div>--with-png-includes=/Library/Frameworks/UnixImageIO.framework/unix/include \</div>

<div>--with-png-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib \</div><div>--with-sqlite \</div><div>--with-sqlite-libs=/Library/Frameworks/SQLite3.framework/unix/lib \</div><div>--with-sqlite-includes=/Library/Frameworks/SQLite3.framework/unix/include \</div>

<div>--without-fftw \</div><div>--with-postgres-includes=/usr/local/pgsql/include \</div><div>--with-postgres-libs=/usr/local/pgsql/lib \</div><div>--with-freetype \</div><div>--with-freetype-includes=/Library/Frameworks/FreeType.framework/unix/include \</div>

<div>--with-freetype-libs=/Library/Frameworks/FreeType.framework/unix/lib \</div><div>--with-python=/usr/bin/python2.7-config \</div><div>--with-wxwidgets=/usr/local/lib/wxPython-unicode-2.8.12.0/bin/wx-config \</div><div>

--without-readline \</div><div>--with-tcltk-includes=&quot;/Library/Frameworks/Tcl.framework/Headers /Library/Frameworks/Tk.framework/Headers /Library/Frameworks/Tk.framework/PrivateHeaders&quot; \</div><div>--with-tcltk-libs=/usr/local/lib \</div>

<div>--with-blas \</div><div>--with-lapack \</div><div>--with-blas-includes=/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers \</div><div>--with-lapack-includes=/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers \</div>

</div><div><br></div><div><br></div><div><div>checking host system type... i386-apple-darwin11.1.0</div><div>checking for gcc... gcc</div><div>checking whether the C compiler (gcc -arch i386 -O2 -arch i386) works... yes</div>

<div>checking whether the C compiler (gcc -arch i386 -O2 -arch i386) is a cross-compiler... no</div><div>checking whether we are using GNU C... yes</div><div>checking whether gcc accepts -g... yes</div><div>checking for Cygwin environment... no</div>

<div>checking for mingw32 environment... no</div><div>checking for executable suffix... no</div><div>checking for full floating-point support... yes</div><div>checking for pwd... /bin/pwd</div><div>checking for source directory... /Users/guano/Documents/installs/grass/grass_trunk</div>

<div>checking for build directory... /Users/guano/Documents/installs/grass/grass_trunk</div><div>checking for svnversion... /usr/bin/svnversion</div><div>checking for MacOSX App... yes</div><div>checking for MacOSX architectures... no</div>

<div>checking for MacOSX SDK... no</div><div>checking how to build libraries... shared</div><div>checking for additional include dirs... </div><div>checking for additional library dirs... </div><div>checking for a BSD compatible install... /usr/bin/install -c</div>

<div>checking for flex... flex</div><div>checking for yywrap in -lfl... yes</div><div>checking for bison... bison -y</div><div>checking for ranlib... ranlib</div><div>checking for ar... ar</div><div>checking for env... env</div>

<div>checking for perl... /opt/local/bin/perl</div><div>checking how to run the C preprocessor... gcc -E</div><div>checking for ANSI C header files... yes</div><div>checking for limits.h... yes</div><div>checking for termio.h... no</div>

<div>checking for termios.h... yes</div><div>checking for unistd.h... yes</div><div>checking for values.h... no</div><div>checking for f2c.h... no</div><div>checking for g2c.h... no</div><div>checking for sys/ioctl.h... yes</div>

<div>checking for sys/mtio.h... no</div><div>checking for sys/resource.h... yes</div><div>checking for sys/time.h... yes</div><div>checking for sys/timeb.h... yes</div><div>checking for sys/types.h... yes</div><div>checking for sys/utsname.h... yes</div>

<div>checking for libintl.h... no</div><div>checking for iconv.h... yes</div><div>checking for langinfo.h... yes</div><div>checking whether time.h and sys/time.h may both be included... yes</div><div>checking for off_t... yes</div>

<div>checking for uid_t in sys/types.h... yes</div><div>checking return type of signal handlers... void</div><div>checking for Cygwin environment... no</div><div>checking for ftime... yes</div><div>checking for gethostname... yes</div>

<div>checking for gettimeofday... yes</div><div>checking for lseek... yes</div><div>checking for nice... yes</div><div>checking for time... yes</div><div>checking for uname... yes</div><div>checking for seteuid... yes</div>

<div>checking for setpriority... yes</div><div>checking for setreuid... yes</div><div>checking for setruid... yes</div><div><div>checking for drand48... yes</div><div>checking for putenv... yes</div><div>checking for setenv... yes</div>

<div>checking for nanosleep... yes</div><div>checking whether setpgrp takes no argument... yes</div><div>checking for long long int... yes</div><div>checking for W11... no</div><div>checking for X... no</div><div>checking for library containing cuserid... no</div>

<div>checking for xdrmem_create... yes</div><div>checking for asprintf... yes</div><div>checking for atan... yes</div><div>checking for dlsym... yes</div><div>checking for iconv... no</div><div>checking for iconv in -liconv... yes</div>

<div>checking for socket... yes</div><div>checking for location of zlib includes... </div><div>checking for zlib.h... yes</div><div>checking for location of zlib library... </div><div>checking for deflate in -lz... yes</div>

<div>checking for location of External PROJ.4 includes... /Library/Frameworks/PROJ.framework/unix/include</div><div>checking for proj_api.h... yes</div><div>checking External PROJ.4 version... 470</div><div>checking for location of External PROJ.4 library... /Library/Frameworks/PROJ.framework/unix/lib</div>

<div>checking for pj_get_def in -lproj... yes</div><div>checking for location of External PROJ.4 data files... /Library/Frameworks/PROJ.framework/Versions/4.6/unix/share</div><div>checking for /Library/Frameworks/PROJ.framework/Versions/4.6/unix/share/epsg... no</div>

<div>configure: warning: *** Unable to locate PROJ data files.</div><div>checking for nad2bin... /opt/local/bin/nad2bin</div><div>checking whether to use regex... yes</div><div>checking for location of regex includes... </div>

<div>checking for regex.h... yes</div><div>checking for location of regex library... </div><div>checking for regcomp... yes</div><div>checking whether to use Readline... no</div><div>checking whether to use JPEG... yes</div>

<div>checking for location of JPEG includes... /Library/Frameworks/UnixImageIO.framework/unix/include</div><div>checking for jpeglib.h... yes</div><div>checking for location of JPEG library... /Library/Frameworks/UnixImageIO.framework/unix/lib</div>

<div>checking for jpeg_start_compress in -ljpeg... yes</div><div>checking whether to use GDAL... yes</div><div>checking for gdal-config... /Library/Frameworks/GDAL.framework/Versions/1.8/Programs/gdal-config</div><div>checking whether to use libLAS... no</div>

<div>checking whether to use GEOS... no</div><div>checking whether to use TIFF... yes</div><div>checking for location of TIFF includes... /Library/Frameworks/UnixImageIO.framework/unix/include</div><div>checking for tiffio.h... yes</div>

<div>checking for location of TIFF library... /Library/Frameworks/UnixImageIO.framework/unix/lib</div><div>checking for TIFFOpen in -ltiff... yes</div><div>checking whether to use PNG... yes</div><div>checking for location of PNG includes... /Library/Frameworks/UnixImageIO.framework/unix/include</div>

<div>checking for png.h... yes</div><div>checking for location of PNG library... /Library/Frameworks/UnixImageIO.framework/unix/lib</div><div>checking for png_read_image in -lpng... yes</div><div>checking whether to use PostgreSQL... no</div>

<div>checking whether to use MySQL... no</div><div>checking whether to use SQLite... yes</div><div>checking for location of SQLite includes... /Library/Frameworks/SQLite3.framework/unix/include</div><div>checking for sqlite3.h... yes</div>

<div>checking for location of SQLite library... /Library/Frameworks/SQLite3.framework/unix/lib</div><div>checking for sqlite3_open in -lsqlite3... yes</div><div>checking whether to use FFMPEG... no</div><div>checking whether to use OpenGL... aqua</div>

<div>checking for location of OpenGL framework... </div><div>checking for OpenGL/gl.h... yes</div><div>checking for OpenGL/glu.h... yes</div><div>checking for glBegin... yes</div><div>checking for gluBeginCurve... yes</div>

<div>checking whether to use Tcl/Tk... yes</div><div>checking for location of Tcl/Tk includes... /Library/Frameworks/Tcl.framework/Headers /Library/Frameworks/Tk.framework/Headers /Library/Frameworks/Tk.framework/PrivateHeaders</div>

<div>checking for tcl.h... yes</div><div>checking for tk.h... yes</div><div>checking Tcl version... 8.5</div><div>checking Tk version... 8.5</div><div>checking for location of Tcl/Tk library... /usr/local/lib</div><div>checking for Tcl_Init in -ltcl... yes</div>

<div>checking for Tk_MainWindow in -ltk... yes</div><div>checking whether to use ODBC... no</div><div>checking whether to use FFTW... no</div><div>checking whether to use BLAS... yes</div><div>checking for location of BLAS includes... /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers</div>

<div>checking for location of BLAS library... </div><div>checking for cblas.h... yes</div><div>checking for dnrm2_ in -lblas... yes</div><div>checking for ATL_xerbla in -latlas... no</div><div>checking for sgemm in -framework vecLib... no</div>

<div>checking for sgemm_ in -lblas... yes</div><div>checking for dgemm_ in -ldgemm... no</div><div>checking for sgemm_ in -lblas... yes</div><div>checking whether to use LAPACK... yes</div><div>checking for location of LAPACK includes... /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers</div>

<div>checking for location of LAPACK library... </div><div>checking for clapack.h... yes</div><div>checking for dsegv_... no</div><div>checking for desgv_ in -llapack... no</div><div>checking for dgesv_ in -llapack... yes</div>

<div>checking whether to use Cairo... no</div><div>checking whether to use FreeType... yes</div><div>checking for location of FreeType includes... /Library/Frameworks/FreeType.framework/unix/include</div><div>checking for ft2build.h... yes</div>

<div>checking for location of FreeType library... /Library/Frameworks/FreeType.framework/unix/lib</div><div>checking for FT_Init_FreeType in -lfreetype... yes</div><div>checking whether to use NLS... no</div><div>checking whether to use C++... yes</div>

<div>checking for c++... c++</div><div>checking whether the C++ compiler (c++ -arch i386 -arch i386 ) works... yes</div><div>checking whether the C++ compiler (c++ -arch i386 -arch i386 ) is a cross-compiler... no</div><div>

checking whether we are using GNU C++... yes</div><div>checking whether c++ accepts -g... yes</div><div>checking whether to use openDWG... no</div><div>checking whether to use POSIX threads... no</div><div>checking for special C compiler options needed for large files... no</div>

<div>checking for _FILE_OFFSET_BITS value needed for large files... no</div><div>checking for _LARGE_FILES value needed for large files... no</div><div>checking for _LARGEFILE_SOURCE value needed for large files... no</div>

<div>checking for _LARGEFILE_SOURCE value needed for large files... no</div><div>checking for fseeko... yes</div><div>checking if system supports Large Files at all... yes</div><div>checking whether to use wxWidgets... yes</div>

<div>checking for wx-config... /usr/local/lib/wxPython-unicode-2.8.12.0/bin/wx-config</div><div>checking wxWidgets version... 2.8.12</div><div>checking for wx/wxprec.h... yes</div><div>creating ./config.status</div><div>
creating include/Make/Platform.make</div>
<div>creating include/Make/Doxyfile_arch_html</div><div>creating include/Make/Doxyfile_arch_latex</div><div>creating include/version.h</div><div>creating grass.pc</div><div>creating include/config.h</div><div>include/config.h is unchanged</div>

<div>Copying config.status to config.status.i386-apple-darwin11.1.0</div><div><br></div><div>GRASS is now configured for:  i386-apple-darwin11.1.0</div><div><br></div><div>  Source directory:            /Users/guano/Documents/installs/grass/grass_trunk</div>

<div>  Build directory:             /Users/guano/Documents/installs/grass/grass_trunk</div><div>  Installation directory:      ${prefix}/GRASS-7.0.app/Contents/MacOS</div><div>  Startup script in directory: ${exec_prefix}/bin</div>

<div>  C compiler:                  gcc -arch i386 -O2 </div><div>  C++ compiler:                c++ -arch i386</div><div>  Building shared libraries:   yes</div><div>  64bit support:               </div><div>  OpenGL platform:             Aqua</div>

<div><br></div><div>  MacOSX application:         yes</div><div>  MacOSX architectures:       </div><div>  MacOSX SDK:                 </div><div><br></div><div>  Tcl/Tk NVIZ:                yes</div><div><br></div><div>
  BLAS support:               yes</div>
<div>  C++ support:                yes</div><div>  Cairo support:              no</div><div>  DWG support:                no</div><div>  FFMPEG support:             no</div><div>  FFTW support:               no</div><div>

  FreeType support:           yes</div><div>  GDAL support:               yes</div><div>  GEOS support:               no</div><div>  JPEG support:               yes</div><div>  LAPACK support:             yes</div><div>  Large File support (LFS):   yes</div>

<div>  libLAS support:             no</div><div>  MySQL support:              no</div><div>  NLS support:                no</div><div>  ODBC support:               no</div><div>  OGR support:                yes</div><div>

  OpenGL support:             yes</div><div>  PNG support:                yes</div><div>  PostgreSQL support:         no</div><div>  Readline support:           no</div><div>  SQLite support:             yes</div><div>  Tcl/Tk support:             yes</div>

<div>  wxWidgets support:          yes</div><div>  TIFF support:               yes</div><div>  X11 support:                no</div><div>  Regex support:              yes</div><div>  POSIX thread support:       no</div><div>

<br></div><div>GuanoMac:grass_trunk guano$ </div></div><div><br></div><br></div><div><br></div><div><br clear="all"><div>thanks,</div>-- <br>Prof. Carlos Henrique Grohmann - Geologist D.Sc.<br>Institute of Geosciences - Univ. of São Paulo, Brazil<div>

---<br><a href="http://www.igc.usp.br/pessoais/guano" target="_blank">http://www.igc.usp.br/pessoais/guano</a><div><a href="http://carlosgrohmann.wordpress.com/" target="_blank">http://digitalelevation.wordpress.com/</a><br>

<a href="http://lattes.cnpq.br/5846052449613692" target="_blank">http://lattes.cnpq.br/5846052449613692</a> (CV)<div>---</div><div>Twitter: <a href="http://twitter.com/#!/CarlosGrohmann" target="_blank">@CarlosGrohmann</a><br>

<a href="http://carlosgrohmann.tumblr.com/" target="_blank">http://carlosgrohmann.tumblr.com/</a></div><div>Linux User #89721<br></div><div>________________<br>Can’t stop the signal.</div></div></div><br>
</div>