Re: [Qgis-user] QGIS installation problem with Mac OSX 10.8.4 and some Qt4 Modules

2013-07-06 Thread Marcel Stadelmann
Hello,

I removed everything from homebrew which could cause problems for a QGIS 
installation. I just left bison and expat in homebrew, for sqlite I was not 
sure if I can leave it (see below the brew list). Then I installed the required 
components according the install instruction, Qt 4.8.5, your frameworks (gdal 
complete) and postgres+postgis extension, spatialindex 1.8.1and sip 4.14.7. I 
got stacked installing PyQt 4.10.2. This program looks for sip 4.14.6 which is 
the old (previous) installation (see below). My interpretation is that the sip 
4.14.7 installation was not good, although there was no error message. Any idea?

Thank you
Marcel

Marcels-iMac:PyQt-mac-gpl-4.10.2 Marcello$ python2.7 configure.py -d 
/Library/Python/2.7/site-packages -b /usr/local/bin -n /usr/local/Qt4.8/qsci -v 
/usr/local/share/sip/PyQt4
Determining the layout of your Qt installation...
This is the GPL version of PyQt 4.10.2 (licensed under the GNU General Public
License) for Python 2.7.2 on darwin.

Type '2' to view the GPL v2 license.
Type '3' to view the GPL v3 license.
Type 'yes' to accept the terms of the license.
Type 'no' to decline the terms of the license.

Do you accept the terms of the license? yes
Found the license file pyqt-gpl.sip.
Checking to see if the QtGui module should be built...
Checking to see if the QtHelp module should be built...
Checking to see if the QtMultimedia module should be built...
Checking to see if the QtNetwork module should be built...
Checking to see if the QtDBus module should be built...
Checking to see if the QtDeclarative module should be built...
Checking to see if the QtOpenGL module should be built...
Checking to see if the QtScript module should be built...
Checking to see if the QtScriptTools module should be built...
Checking to see if the QtSql module should be built...
Checking to see if the QtSvg module should be built...
Checking to see if the QtTest module should be built...
Checking to see if the QtWebKit module should be built...
Checking to see if the QtXml module should be built...
Checking to see if the QtXmlPatterns module should be built...
Checking to see if the phonon module should be built...
Checking to see if the QtAssistant module should be built...
Checking to see if the QtDesigner module should be built...
Checking to see if the QAxContainer module should be built...
Checking to see if the dbus support module should be built...
DBus v1 does not seem to be installed.
Qt v4.8.5 free edition is being used.
Qt is built as a framework.
SIP 4.14.6 is being used.
The Qt header files are in /usr/include.
The shared Qt libraries are in /Library/Frameworks.
The Qt binaries are in /Developer/Tools/Qt.
The Qt mkspecs directory is in /usr/local/Qt4.8.
These PyQt modules will be built: QtCore, QtGui, QtHelp, QtMultimedia,
QtNetwork, QtDBus, QtDeclarative, QtOpenGL, QtScript, QtScriptTools, QtSql,
QtSvg, QtTest, QtWebKit, QtXml, QtXmlPatterns, phonon, QtDesigner.
The PyQt Python package will be installed in /Library/Python/2.7/site-packages.
PyQt is being built with generated docstrings.
PyQt is being built with 'protected' redefined as 'public'.
The Designer plugin will be installed in
/Developer/Applications/Qt/plugins/designer.
The QScintilla API file will be installed in /usr/local/Qt4.8/qsci/api/python.
The PyQt .sip files will be installed in /usr/local/share/sip/PyQt4.
pyuic4, pyrcc4 and pylupdate4 will be installed in /usr/local/bin.
Embedding sip flags...
Generating the C++ source for the QtCore module...
sh: /usr/local/Cellar/sip/4.14.6/bin/sip: No such file or directory
Error: Unable to create the C++ code.
Marcels-iMac:PyQt-mac-gpl-4.10.2 Marcello$ sip -V
4.14.7
Marcels-iMac:PyQt-mac-gpl-4.10.2 Marcello$ which sip
/usr/local/bin/sip
Marcels-iMac:PyQt-mac-gpl-4.10.2 Marcello$ brew list
atk cairo   expat   gdbmghostscript 
gsl imagemagick latex2rtf   libpng  little-cms2 
pixman  sqlite
autoconfcheck   fontconfig  gdk-pixbuf  giflib  
gtk+intltoollibcrocolibrsvg lzlib   
pkg-config  xz
automakecmake   freetypegeosglib
harfbuzzjbig2declibffi  libtiff ossp-uuid   
proj
bison   doxygen freexl  gettext graphicsmagick  
icu4c   jpeglibgeotiff  libtool pango   
readline

Am 05.07.2013 um 19:22 schrieb William Kyngesburye wokl...@kyngchaos.com:

 On Jul 5, 2013, at 12:01 PM, Marcel Stadelmann wrote:
 
 Thank you for answering. In the meantime i got a step forward. I can 
 successfully cmake qgis (see below), but when i do make -j 8 it gives 
 quite a lot of errors. The errors look i. e. like this:
 
 [ 56%] Generating moc_qgsabout.cxx
 In file included from 
 

Re: [Qgis-user] Crash: merge shapefiles

2013-07-06 Thread Filipe Dias
Merge shapes from SAGA GIS (which can be used via Sextante) is quite fast,
even with large shapefiles.

On Fri, Jul 5, 2013 at 10:25 PM, Giovanni Manghi 
giovanni.man...@faunalia.pt wrote:

 Hi,


  As I've got loads of shapefiles, to define the .prj for each is not
  realistic (VectorDataManagement ToolsDefine Current Projection).  I've
  looked for a bulk process to create these but without luck
 
  Do I need prj files  if so, how can I create a load of them?


 in QGIS master you can use SEXTANTE to batch process files, so you can
 use the reproject layer tool, and get a copy of your shapes with a
 proper .prj

 Then to merge the shapes you can use QGIS, but I agree that is very
 (very) slow for large shapes or large number of shapes.

 The faster tool/code I tested is

 http://gistncase.blogspot.pt/2012/05/python-shapefile-merger-utility.html

 and it would be very nice to use it to replace the actual python code
 of the merge shapefiles qgis tool, see

 http://hub.qgis.org/issues/7208


 cheers

 -- Giovanni --
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] [Qgis-developer] SEXTANTE adaptation to new SAGA version

2013-07-06 Thread samuelm...@gmail.com
Thanks Victor for the great work with SEXTANTE. In Arch Linux distribution is
available the SAGA GIS v2.1.0 update to be installed from AUR repositories.

https://aur.archlinux.org/packages/saga-gis/

Thanks,

Samuel Mesa.


2013/7/4 Victor Olaya vola...@gmail.com

 Hi all

 SAGA 2.1.0 has just been released. The current version of SEXTANTE in
 master has been now adapted to work with SAGA 2.1.0, and raster
 algorithms will not work with any other version. Please, update your
 SAGA executables if using the latest master version, since now 2.1.0
 is the target version.

 The only algorithm adapted so far is the raster export one, which, for
 SEXTANTE, was the most important one that had been modified, since it
 blocks all other raster algorithms. Other algorithms might have
 changed, but they are not adapted yet. If you find something that was
 working before and now it doesn't, please report. Also, if there are
 new algorithms, feel free to suggest them to be added to SEXTANTE as
 well, describing their syntax, if possible, to help us do it.

 Windows users, please notice that the Osgeo4W installer still ships
 with SAGA 2.0.8, so you will need to install SAGA 2.1.0 manually and
 change the SAGA path in SEXTANTE. This will be updated soon, so it's
 just a temporary issue

 Thanks for your help
 Victor
 ___
 Qgis-developer mailing list
 qgis-develo...@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer




-- 
---
.~.
   / v \
  //\\
 /(  )\
   ^`~'^
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] [Qgis-developer] SEXTANTE adaptation to new SAGA version

2013-07-06 Thread Filipe Dias
Does anyone know if there's a ppa for Linux Ubuntu 12.04 available with
SAGA GIS 2.10?

On Sat, Jul 6, 2013 at 3:22 PM, samuelm...@gmail.com
samuelm...@gmail.comwrote:

 Thanks Victor for the great work with SEXTANTE. In Arch Linux distribution is
 available the SAGA GIS v2.1.0 update to be installed from AUR repositories
 .

 https://aur.archlinux.org/packages/saga-gis/

 Thanks,

 Samuel Mesa.


 2013/7/4 Victor Olaya vola...@gmail.com

 Hi all

 SAGA 2.1.0 has just been released. The current version of SEXTANTE in
 master has been now adapted to work with SAGA 2.1.0, and raster
 algorithms will not work with any other version. Please, update your
 SAGA executables if using the latest master version, since now 2.1.0
 is the target version.

 The only algorithm adapted so far is the raster export one, which, for
 SEXTANTE, was the most important one that had been modified, since it
 blocks all other raster algorithms. Other algorithms might have
 changed, but they are not adapted yet. If you find something that was
 working before and now it doesn't, please report. Also, if there are
 new algorithms, feel free to suggest them to be added to SEXTANTE as
 well, describing their syntax, if possible, to help us do it.

 Windows users, please notice that the Osgeo4W installer still ships
 with SAGA 2.0.8, so you will need to install SAGA 2.1.0 manually and
 change the SAGA path in SEXTANTE. This will be updated soon, so it's
 just a temporary issue

 Thanks for your help
 Victor
 ___
 Qgis-developer mailing list
 qgis-develo...@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer




 --
 ---
 .~.
/ v \
   //\\
  /(  )\
^`~'^

 ___
 Qgis-developer mailing list
 qgis-develo...@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] No data in attribute table using GPS module on PC tablet

2013-07-06 Thread Christophe TUFFERY
 
I'm using QGIS GPS module on PC tablet (MOTION COMPUTING F5t) under Windows
7.
It works fine !
But I don't get any attribute data in attribute table.
I didn't find any ticket on that point in QGIS wiki.
Thanks by advance for any answer or idea.

Christophe TUFFERY
Ingénieur de recherche
Chargé de l'acquisition des données archéologiques descriptives
Direction Scientifique et Technique
Service Méthodes et Qualité
Inrap - 7 rue de Madrid - CS 50008 - 75008 PARIS
Til.: 01-40-08-81-03
www.inrap.fr http://www.inrap.fr/

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QGIS installation problem with Mac OSX 10.8.4 and some Qt4 Modules

2013-07-06 Thread Marcel Stadelmann
yeah, there was an old sipconfig.pyc in /usr/local/lib/python2.7/site-packages/ 
(the results of your instructions see below). After deleting sipconfig.pyc,  
the python configuration passed, but then i got stacked while make -j 8. The 
following failures appeared:

g++ -c -pipe -fPIC -O2 -Wall -W -DNDEBUG -DSIP_PROTECTED_IS_PUBLIC 
-Dprotected=public -DQT_NO_DEBUG -DQT_CORE_LIB -I. 
-I/Users/Marcello/Downloads/PyQt-mac-gpl-4.10.2/qpy/QtCore -I/usr/local/include 
-I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 
-I/mkspecs/macx-g++ -I/Library/Frameworks/QtCore.framework/Headers 
-I/usr/include -F/Users/Marcello/Downloads/PyQt-mac-gpl-4.10.2/qpy/QtCore 
-F/Library/Frameworks -o sipQtCoreQXmlStreamNamespaceDeclaration.o 
sipQtCoreQXmlStreamNamespaceDeclaration.cpp
/Users/Marcello/Downloads/PyQt-mac-gpl-4.10.2/QtCore/sipQtCoreQPyNullVariant_5.cpp:301:
 error: too many initializers for ‘sipClassTypeDef’
make[1]: *** [sipQtCoreQPyNullVariant_5.o] Error 1
make[1]: *** Waiting for unfinished jobs
/Users/Marcello/Downloads/PyQt-mac-gpl-4.10.2/QtCore/sipQtCoreQXmlStreamReader.cpp:1856:
 error: too many initializers for ‘sipClassTypeDef’
/Users/Marcello/Downloads/PyQt-mac-gpl-4.10.2/QtCore/sipQtCoreQXmlStreamWriter.cpp:1198:
 error: too many initializers for ‘sipClassTypeDef’
/Users/Marcello/Downloads/PyQt-mac-gpl-4.10.2/QtCore/sipQtCoreQXmlStreamEntityResolver.cpp:282:
 error: too many initializers for ‘sipClassTypeDef’
make[1]: *** [sipQtCoreQXmlStreamReader.o] Error 1
make[1]: *** [sipQtCoreQXmlStreamWriter.o] Error 1
make[1]: *** [sipQtCoreQXmlStreamEntityResolver.o] Error 1
/Users/Marcello/Downloads/PyQt-mac-gpl-4.10.2/QtCore/sipQtCoreQXmlStreamEntityDeclaration.cpp:409:
 error: too many initializers for ‘sipClassTypeDef’
/Users/Marcello/Downloads/PyQt-mac-gpl-4.10.2/QtCore/sipQtCoreQXmlStreamNotationDeclaration.cpp:349:
 error: too many initializers for ‘sipClassTypeDef’
make[1]: *** [sipQtCoreQXmlStreamEntityDeclaration.o] Error 1
/Users/Marcello/Downloads/PyQt-mac-gpl-4.10.2/QtCore/sipQtCoreQXmlStreamNamespaceDeclaration.cpp:341:
 error: too many initializers for ‘sipClassTypeDef’
make[1]: *** [sipQtCoreQXmlStreamNotationDeclaration.o] Error 1
make[1]: *** [sipQtCoreQXmlStreamNamespaceDeclaration.o] Error 1
make: *** [all] Error 2


Am 06.07.2013 um 17:16 schrieb William Kyngesburye wokl...@kyngchaos.com:

 yeah, something for the old sip was not deleted...  try this:
 
 start python2.7, then:
 
  import sipconfig
  sipconfig.__file__
Marcels-iMac:PyQt-mac-gpl-4.10.2 Marcello$ python
Python 2.7.2 (default, Oct 11 2012, 20:14:37) 
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin
Type help, copyright, credits or license for more information.
 import sipconfig
 sipconfig.__file__
'/usr/local/lib/python2.7/site-packages/sipconfig.pyc'

 
 This should tell you where pyqt configure is finding sip.  You can also get 
 the details of that sipconfig:
 
  from sipconfig import _pkg_config
  _pkg_config
 from sipconfig import _pkg_config
 _pkg_config
{'default_mod_dir': '/Library/Python/2.7/site-packages', 'default_bin_dir': 
'/System/Library/Frameworks/Python.framework/Versions/2.7/bin', 'platform': 
'macx-g++', 'sip_version_str': '4.14.6', 'universal': '', 'sip_version': 
265734, 'sip_config_args': 
'--destdir=/usr/local/Cellar/sip/4.14.6/lib/python2.7/site-packages 
--bindir=/usr/local/Cellar/sip/4.14.6/bin 
--incdir=/usr/local/Cellar/sip/4.14.6/include --sipdir=/usr/local/share/sip', 
'default_sip_dir': '/usr/local/share/sip', 'sip_mod_dir': 
'/usr/local/Cellar/sip/4.14.6/lib/python2.7/site-packages', 'sip_bin': 
'/usr/local/Cellar/sip/4.14.6/bin/sip', 'sip_inc_dir': 
'/usr/local/Cellar/sip/4.14.6/include', 'py_conf_inc_dir': 
'/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7', 
'deployment_target': '', 'py_lib_dir': 
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config',
 'arch': '', 'py_version': 132866, 'py_inc_dir': 
'/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7'}

 
 On Jul 6, 2013, at 3:16 AM, Marcel Stadelmann wrote:
 
 Hello,
 
 I removed everything from homebrew which could cause problems for a QGIS 
 installation. I just left bison and expat in homebrew, for sqlite I was not 
 sure if I can leave it (see below the brew list). Then I installed the 
 required components according the install instruction, Qt 4.8.5, your 
 frameworks (gdal complete) and postgres+postgis extension, spatialindex 
 1.8.1and sip 4.14.7. I got stacked installing PyQt 4.10.2. This program 
 looks for sip 4.14.6 which is the old (previous) installation (see below). 
 My interpretation is that the sip 4.14.7 installation was not good, although 
 there was no error message. Any idea?
 
 Thank you
 Marcel
 
 Marcels-iMac:PyQt-mac-gpl-4.10.2 Marcello$ python2.7 configure.py -d 
 /Library/Python/2.7/site-packages -b /usr/local/bin -n /usr/local/Qt4.8/qsci 
 -v /usr/local/share/sip/PyQt4
 

Re: [Qgis-user] QGIS installation problem with Mac OSX 10.8.4 and some Qt4 Modules

2013-07-06 Thread William Kyngesburye
make sure to delete the corresponding 
/usr/local/lib/python2.7/site-packages/sipconfig.py file, just to make sure.  
And any other sip and pyqt files and folders left there.

Also, try compiling without the -j 8 flag (it will take a lot longer to 
compile), sometimes too much parallel compilation can confuse make.  Or use a 
smaller number for -j.

If you still get the pyqt compile error, it's beyond me, might want to try the 
pyqt mailing list.

On Jul 6, 2013, at 11:07 AM, Marcel Stadelmann wrote:

 yeah, there was an old sipconfig.pyc in 
 /usr/local/lib/python2.7/site-packages/ (the results of your instructions see 
 below). After deleting sipconfig.pyc,  the python configuration passed, but 
 then i got stacked while make -j 8. The following failures appeared:
 
 g++ -c -pipe -fPIC -O2 -Wall -W -DNDEBUG -DSIP_PROTECTED_IS_PUBLIC 
 -Dprotected=public -DQT_NO_DEBUG -DQT_CORE_LIB -I. 
 -I/Users/Marcello/Downloads/PyQt-mac-gpl-4.10.2/qpy/QtCore 
 -I/usr/local/include 
 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 
 -I/mkspecs/macx-g++ -I/Library/Frameworks/QtCore.framework/Headers 
 -I/usr/include -F/Users/Marcello/Downloads/PyQt-mac-gpl-4.10.2/qpy/QtCore 
 -F/Library/Frameworks -o sipQtCoreQXmlStreamNamespaceDeclaration.o 
 sipQtCoreQXmlStreamNamespaceDeclaration.cpp
 /Users/Marcello/Downloads/PyQt-mac-gpl-4.10.2/QtCore/sipQtCoreQPyNullVariant_5.cpp:301:
  error: too many initializers for ‘sipClassTypeDef’
 make[1]: *** [sipQtCoreQPyNullVariant_5.o] Error 1
 make[1]: *** Waiting for unfinished jobs
 /Users/Marcello/Downloads/PyQt-mac-gpl-4.10.2/QtCore/sipQtCoreQXmlStreamReader.cpp:1856:
  error: too many initializers for ‘sipClassTypeDef’
 /Users/Marcello/Downloads/PyQt-mac-gpl-4.10.2/QtCore/sipQtCoreQXmlStreamWriter.cpp:1198:
  error: too many initializers for ‘sipClassTypeDef’
 /Users/Marcello/Downloads/PyQt-mac-gpl-4.10.2/QtCore/sipQtCoreQXmlStreamEntityResolver.cpp:282:
  error: too many initializers for ‘sipClassTypeDef’
 make[1]: *** [sipQtCoreQXmlStreamReader.o] Error 1
 make[1]: *** [sipQtCoreQXmlStreamWriter.o] Error 1
 make[1]: *** [sipQtCoreQXmlStreamEntityResolver.o] Error 1
 /Users/Marcello/Downloads/PyQt-mac-gpl-4.10.2/QtCore/sipQtCoreQXmlStreamEntityDeclaration.cpp:409:
  error: too many initializers for ‘sipClassTypeDef’
 /Users/Marcello/Downloads/PyQt-mac-gpl-4.10.2/QtCore/sipQtCoreQXmlStreamNotationDeclaration.cpp:349:
  error: too many initializers for ‘sipClassTypeDef’
 make[1]: *** [sipQtCoreQXmlStreamEntityDeclaration.o] Error 1
 /Users/Marcello/Downloads/PyQt-mac-gpl-4.10.2/QtCore/sipQtCoreQXmlStreamNamespaceDeclaration.cpp:341:
  error: too many initializers for ‘sipClassTypeDef’
 make[1]: *** [sipQtCoreQXmlStreamNotationDeclaration.o] Error 1
 make[1]: *** [sipQtCoreQXmlStreamNamespaceDeclaration.o] Error 1
 make: *** [all] Error 2
 
 
 Am 06.07.2013 um 17:16 schrieb William Kyngesburye wokl...@kyngchaos.com:
 
 yeah, something for the old sip was not deleted...  try this:
 
 start python2.7, then:
 
 import sipconfig
 sipconfig.__file__
 Marcels-iMac:PyQt-mac-gpl-4.10.2 Marcello$ python
 Python 2.7.2 (default, Oct 11 2012, 20:14:37) 
 [GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin
 Type help, copyright, credits or license for more information.
 import sipconfig
 sipconfig.__file__
 '/usr/local/lib/python2.7/site-packages/sipconfig.pyc'
 
 
 This should tell you where pyqt configure is finding sip.  You can also get 
 the details of that sipconfig:
 
 from sipconfig import _pkg_config
 _pkg_config
 from sipconfig import _pkg_config
 _pkg_config
 {'default_mod_dir': '/Library/Python/2.7/site-packages', 'default_bin_dir': 
 '/System/Library/Frameworks/Python.framework/Versions/2.7/bin', 'platform': 
 'macx-g++', 'sip_version_str': '4.14.6', 'universal': '', 'sip_version': 
 265734, 'sip_config_args': 
 '--destdir=/usr/local/Cellar/sip/4.14.6/lib/python2.7/site-packages 
 --bindir=/usr/local/Cellar/sip/4.14.6/bin 
 --incdir=/usr/local/Cellar/sip/4.14.6/include --sipdir=/usr/local/share/sip', 
 'default_sip_dir': '/usr/local/share/sip', 'sip_mod_dir': 
 '/usr/local/Cellar/sip/4.14.6/lib/python2.7/site-packages', 'sip_bin': 
 '/usr/local/Cellar/sip/4.14.6/bin/sip', 'sip_inc_dir': 
 '/usr/local/Cellar/sip/4.14.6/include', 'py_conf_inc_dir': 
 '/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7', 
 'deployment_target': '', 'py_lib_dir': 
 '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config',
  'arch': '', 'py_version': 132866, 'py_inc_dir': 
 '/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7'}

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

History is an illusion caused by the passage of time, and time is an illusion 
caused by the passage of history.

- Hitchhiker's Guide to the Galaxy


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org

Re: [Qgis-user] QGIS installation problem with Mac OSX 10.8.4 and some Qt4 Modules

2013-07-06 Thread Marcel Stadelmann
I use Xcode 4.6.3

Cmake QGIS didn't work. First GDAL was not found. After including -D 
GDAL_CONFIG=/Library/Frameworks/GDAL.framework/Versions/1.10/unix/bin/gdal-config
 it was found, but other errors occurred (see below). What could it be?

Marcels-iMac:build Marcello$ cmake -D CMAKE_INSTALL_PREFIX=~/Applications \
   -D CMAKE_BUILD_TYPE=MINSIZEREL -D ENABLE_TESTS=FALSE \
   -D WITH_INTERNAL_SPATIALITE=FALSE -D WITH_PYSPATIALITE=FALSE \
   -D SPATIALINDEX_LIBRARY=/usr/local/lib/libspatialindex.dylib \
   -D SPATIALINDEX_INCLUDE_DIR=/usr/local/include/spatialindex \
   -D QWT_LIBRARY=/usr/local/qwt-6.0.2/lib/libqwt.dylib \
   -D QWT_INCLUDE_DIR=/usr/local/qwt-6.0.2/include \
   -D BISON_EXECUTABLE=/usr/local/bin/bison \
   -D 
 GDAL_CONFIG=/Library/Frameworks/GDAL.framework/Versions/1.10/unix/bin/gdal-config
  \
 ..
-- QGIS version: 1.9.0 Master (10900)
-- Found GRASS: /Applications/GRASS-6.4.app/Contents/MacOS (6.4.2)
-- Found Proj: /usr/local/lib/libproj.dylib
-- Found GEOS: /usr/local/Cellar/geos/3.3.8/lib/libgeos_c.dylib
-- Found GDAL: 
/Library/Frameworks/GDAL.framework/Versions/1.10/unix/lib/libgdal.dylib (1.10.0)
-- Found Expat: /usr/local/lib/libexpat.dylib
-- Found Spatialindex: /usr/local/lib/libspatialindex.dylib
-- Found Qwt: /usr/local/qwt-6.0.2/lib/libqwt.dylib (6.0.2)
-- Found Sqlite3: /usr/lib/libsqlite3.dylib
-- Found PostgreSQL: /usr/local/pgsql-9.2/lib/libpq.dylib
-- Touch support disabled
-- Found QScintilla2: /usr/local/lib/libqscintilla2.dylib (2.7.2)
-- Pedantic compiler settings enabled
-- Found Python executable: /usr/bin/python
-- Found Python version: 2.7.2
-- Found Python library: -framework Python
-- Found SIP version: 4.14.6
-- Found PyQt4 version: 4.10.2
-- Found QScintilla2 PyQt4 module: 2.7.2
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
-- Found GSL: -L/usr/local/Cellar/gsl/1.15/lib -lgsl -lgslcblas
-- txt2tags not found - disabled
CMake Error: The following variables are used in this project, but they are set 
to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake 
files:
SPATIALITE_LIBRARY
linked by target qgis_core in directory 
/Users/Marcello/Downloads/Quantum-GIS-master/src/core
linked by target offlineeditingplugin in directory 
/Users/Marcello/Downloads/Quantum-GIS-master/src/plugins/offline_editing

-- Configuring incomplete, errors occurred!

Am 06.07.2013 um 18:54 schrieb William Kyngesburye wokl...@kyngchaos.com:

 Could be a small problem with SIP 4.14.7 and Mt Lion (sorry, I'm on Lion, but 
 it's annoying that a minor update is sensitive to system version).  If 4.14.6 
 works, that's OK, but good to know for updating the INSTALL doc.
 
 What version of Xcode do you have?
Marcels-iMac:build Marcello$ xcodebuild -version
Xcode 4.6.3
Build version 4H1503

 
 On Jul 6, 2013, at 11:46 AM, Marcel Stadelmann wrote:
 
 there was a PyQt4 folder, which I deleted, but it didn' help. Also compiling 
 without -j 8 did not help.
 
 I tried now with sip-4.14.6 and it worked. I could successfully install PyQt 
 4.10.2. I will later continue the QGIS installation. Thank you very much for 
 your help.
 
 Marcel
 
 Am 06.07.2013 um 18:15 schrieb William Kyngesburye wokl...@kyngchaos.com:
 
 make sure to delete the corresponding 
 /usr/local/lib/python2.7/site-packages/sipconfig.py file, just to make 
 sure.  And any other sip and pyqt files and folders left there.
 
 Also, try compiling without the -j 8 flag (it will take a lot longer to 
 compile), sometimes too much parallel compilation can confuse make.  Or use 
 a smaller number for -j.
 
 If you still get the pyqt compile error, it's beyond me, might want to try 
 the pyqt mailing list.
 
 On Jul 6, 2013, at 11:07 AM, Marcel Stadelmann wrote:
 
 yeah, there was an old sipconfig.pyc in 
 /usr/local/lib/python2.7/site-packages/ (the results of your instructions 
 see below). After deleting sipconfig.pyc,  the python configuration 
 passed, but then i got stacked while make -j 8. The following failures 
 appeared:
 
 g++ -c -pipe -fPIC -O2 -Wall -W -DNDEBUG -DSIP_PROTECTED_IS_PUBLIC 
 -Dprotected=public -DQT_NO_DEBUG -DQT_CORE_LIB -I. 
 -I/Users/Marcello/Downloads/PyQt-mac-gpl-4.10.2/qpy/QtCore 
 -I/usr/local/include 
 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
  -I/mkspecs/macx-g++ -I/Library/Frameworks/QtCore.framework/Headers 
 -I/usr/include -F/Users/Marcello/Downloads/PyQt-mac-gpl-4.10.2/qpy/QtCore 
 -F/Library/Frameworks -o sipQtCoreQXmlStreamNamespaceDeclaration.o 
 sipQtCoreQXmlStreamNamespaceDeclaration.cpp
 /Users/Marcello/Downloads/PyQt-mac-gpl-4.10.2/QtCore/sipQtCoreQPyNullVariant_5.cpp:301:
  error: too many initializers for ‘sipClassTypeDef’
 make[1]: *** [sipQtCoreQPyNullVariant_5.o] Error 1
 make[1]: *** Waiting for unfinished jobs
 /Users/Marcello/Downloads/PyQt-mac-gpl-4.10.2/QtCore/sipQtCoreQXmlStreamReader.cpp:1856:
  error: too many 

Re: [Qgis-user] QGIS installation problem with Mac OSX 10.8.4 and some Qt4 Modules

2013-07-06 Thread William Kyngesburye
This is very strange, cmake should be finding all the frameworks (GEOS, PROJ, 
SQLite/Spatialite) and not other libraries.  You have to explicitly set a cmake 
variable so it doesn't prefer frameworks over libraries.

Maybe cmake is misbehaving - what is your cmake version?

On Jul 6, 2013, at 5:33 PM, Marcel Stadelmann wrote:

 I use Xcode 4.6.3
 
 Cmake QGIS didn't work. First GDAL was not found. After including -D 
 GDAL_CONFIG=/Library/Frameworks/GDAL.framework/Versions/1.10/unix/bin/gdal-config
  it was found, but other errors occurred (see below). What could it be?
 
 Marcels-iMac:build Marcello$ cmake -D CMAKE_INSTALL_PREFIX=~/Applications \
  -D CMAKE_BUILD_TYPE=MINSIZEREL -D ENABLE_TESTS=FALSE \
  -D WITH_INTERNAL_SPATIALITE=FALSE -D WITH_PYSPATIALITE=FALSE \
  -D SPATIALINDEX_LIBRARY=/usr/local/lib/libspatialindex.dylib \
  -D SPATIALINDEX_INCLUDE_DIR=/usr/local/include/spatialindex \
  -D QWT_LIBRARY=/usr/local/qwt-6.0.2/lib/libqwt.dylib \
  -D QWT_INCLUDE_DIR=/usr/local/qwt-6.0.2/include \
  -D BISON_EXECUTABLE=/usr/local/bin/bison \
  -D 
 GDAL_CONFIG=/Library/Frameworks/GDAL.framework/Versions/1.10/unix/bin/gdal-config
  \
 ..
 -- QGIS version: 1.9.0 Master (10900)
 -- Found GRASS: /Applications/GRASS-6.4.app/Contents/MacOS (6.4.2)
 -- Found Proj: /usr/local/lib/libproj.dylib
 -- Found GEOS: /usr/local/Cellar/geos/3.3.8/lib/libgeos_c.dylib
 -- Found GDAL: 
 /Library/Frameworks/GDAL.framework/Versions/1.10/unix/lib/libgdal.dylib 
 (1.10.0)
 -- Found Expat: /usr/local/lib/libexpat.dylib
 -- Found Spatialindex: /usr/local/lib/libspatialindex.dylib
 -- Found Qwt: /usr/local/qwt-6.0.2/lib/libqwt.dylib (6.0.2)
 -- Found Sqlite3: /usr/lib/libsqlite3.dylib
 -- Found PostgreSQL: /usr/local/pgsql-9.2/lib/libpq.dylib
 -- Touch support disabled
 -- Found QScintilla2: /usr/local/lib/libqscintilla2.dylib (2.7.2)
 -- Pedantic compiler settings enabled
 -- Found Python executable: /usr/bin/python
 -- Found Python version: 2.7.2
 -- Found Python library: -framework Python
 -- Found SIP version: 4.14.6
 -- Found PyQt4 version: 4.10.2
 -- Found QScintilla2 PyQt4 module: 2.7.2
 fatal: Not a git repository (or any of the parent directories): .git
 fatal: Not a git repository (or any of the parent directories): .git
 -- Found GSL: -L/usr/local/Cellar/gsl/1.15/lib -lgsl -lgslcblas
 -- txt2tags not found - disabled
 CMake Error: The following variables are used in this project, but they are 
 set to NOTFOUND.
 Please set them or make sure they are set and tested correctly in the CMake 
 files:
 SPATIALITE_LIBRARY
linked by target qgis_core in directory 
 /Users/Marcello/Downloads/Quantum-GIS-master/src/core
linked by target offlineeditingplugin in directory 
 /Users/Marcello/Downloads/Quantum-GIS-master/src/plugins/offline_editing
 
 -- Configuring incomplete, errors occurred!
 

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

The equator is so long, it could encircle the earth completely once.

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QGIS installation problem with Mac OSX 10.8.4 and some Qt4 Modules

2013-07-06 Thread William Kyngesburye
Current stable was 2.8.11 (what I have) until a few days ago.  2.8.11.2 was 
released Jul 3.  I don't see any changes in the latest release or in master 
that might cause this behavior.  2.8.11.2 still works for me, but I don't have 
anything in /usr/local that would confuse it.

On Jul 6, 2013, at 6:00 PM, Marcel Stadelmann wrote:

 
 Am 07.07.2013 um 00:53 schrieb William Kyngesburye wokl...@kyngchaos.com:
 
 This is very strange, cmake should be finding all the frameworks (GEOS, 
 PROJ, SQLite/Spatialite) and not other libraries.  You have to explicitly 
 set a cmake variable so it doesn't prefer frameworks over libraries.
 
 Maybe cmake is misbehaving - what is your cmake version?
 where can I check the cmake version? I downloaded the master branch just a 
 few hours ago.
 
 On Jul 6, 2013, at 5:33 PM, Marcel Stadelmann wrote:
 
 I use Xcode 4.6.3
 
 Cmake QGIS didn't work. First GDAL was not found. After including -D 
 GDAL_CONFIG=/Library/Frameworks/GDAL.framework/Versions/1.10/unix/bin/gdal-config
  it was found, but other errors occurred (see below). What could it be?
 
 Marcels-iMac:build Marcello$ cmake -D CMAKE_INSTALL_PREFIX=~/Applications \
 -D CMAKE_BUILD_TYPE=MINSIZEREL -D ENABLE_TESTS=FALSE \
 -D WITH_INTERNAL_SPATIALITE=FALSE -D WITH_PYSPATIALITE=FALSE \
 -D SPATIALINDEX_LIBRARY=/usr/local/lib/libspatialindex.dylib \
 -D SPATIALINDEX_INCLUDE_DIR=/usr/local/include/spatialindex \
 -D QWT_LIBRARY=/usr/local/qwt-6.0.2/lib/libqwt.dylib \
 -D QWT_INCLUDE_DIR=/usr/local/qwt-6.0.2/include \
 -D BISON_EXECUTABLE=/usr/local/bin/bison \
 -D 
 GDAL_CONFIG=/Library/Frameworks/GDAL.framework/Versions/1.10/unix/bin/gdal-config
  \
 ..
 -- QGIS version: 1.9.0 Master (10900)
 -- Found GRASS: /Applications/GRASS-6.4.app/Contents/MacOS (6.4.2)
 -- Found Proj: /usr/local/lib/libproj.dylib
 -- Found GEOS: /usr/local/Cellar/geos/3.3.8/lib/libgeos_c.dylib
 -- Found GDAL: 
 /Library/Frameworks/GDAL.framework/Versions/1.10/unix/lib/libgdal.dylib 
 (1.10.0)
 -- Found Expat: /usr/local/lib/libexpat.dylib
 -- Found Spatialindex: /usr/local/lib/libspatialindex.dylib
 -- Found Qwt: /usr/local/qwt-6.0.2/lib/libqwt.dylib (6.0.2)
 -- Found Sqlite3: /usr/lib/libsqlite3.dylib
 -- Found PostgreSQL: /usr/local/pgsql-9.2/lib/libpq.dylib
 -- Touch support disabled
 -- Found QScintilla2: /usr/local/lib/libqscintilla2.dylib (2.7.2)
 -- Pedantic compiler settings enabled
 -- Found Python executable: /usr/bin/python
 -- Found Python version: 2.7.2
 -- Found Python library: -framework Python
 -- Found SIP version: 4.14.6
 -- Found PyQt4 version: 4.10.2
 -- Found QScintilla2 PyQt4 module: 2.7.2
 fatal: Not a git repository (or any of the parent directories): .git
 fatal: Not a git repository (or any of the parent directories): .git
 -- Found GSL: -L/usr/local/Cellar/gsl/1.15/lib -lgsl -lgslcblas
 -- txt2tags not found - disabled
 CMake Error: The following variables are used in this project, but they are 
 set to NOTFOUND.
 Please set them or make sure they are set and tested correctly in the CMake 
 files:
 SPATIALITE_LIBRARY
  linked by target qgis_core in directory 
 /Users/Marcello/Downloads/Quantum-GIS-master/src/core
  linked by target offlineeditingplugin in directory 
 /Users/Marcello/Downloads/Quantum-GIS-master/src/plugins/offline_editing
 
 -- Configuring incomplete, errors occurred!
 

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

Earth: Mostly harmless

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


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user