[Qgis-developer] Xcode build problems

John C. Tull john.tull at wildnevada.org
Sat Jan 16 18:28:24 EST 2010


William,

Under the pyqwt build step, are you to cd into the configure directory within the pyqwt source? This part is unclear, and I am getting an error trying that with your configure statement.

python configure.py --extra-cflags="-arch i386" --extra-cxxflags="-arch i386" --extra-lflags="-arch i386" --extra-include-dirs=/usr/local/qwt-5.2.1-svn/include --extra-lib-dirs=/usr/local/qwt-5.2.1-svn/lib --extra-libs=qwt
Command line options:
{'debug': False,
 'disable_numarray': False,
 'disable_numeric': False,
 'disable_numpy': False,
 'excluded_features': [],
 'extra_cflags': ['-arch i386'],
 'extra_cxxflags': ['-arch i386'],
 'extra_defines': [],
 'extra_include_dirs': ['/usr/local/qwt-5.2.1-svn/include'],
 'extra_lflags': ['-arch i386'],
 'extra_lib_dirs': ['/usr/local/qwt-5.2.1-svn/lib'],
 'extra_libs': ['qwt'],
 'jobs': '',
 'module_install_path': '',
 'modules': [],
 'qt': 4,
 'qwt_sources': '',
 'sip_include_dirs': [],
 'subdirs': [],
 'timelines': [],
 'trace': ''}

Found SIP-4.10.
Found 'posix' operating system:
2.6.1 (r261:67515, Jul  7 2009, 23:51:51) 
[GCC 4.2.1 (Apple Inc. build 5646)]
Do not get upset by error messages in the next 3 compiler checks:
Check if 'size_t' and 'unsigned int' are the same type:
size_t_check.cpp:3: error: prototype for ‘void a::f(unsigned int)’ does not match any in class ‘a’
size_t_check.cpp:2: error: candidate is: void a::f(size_t)
NO
Check if 'size_t' and 'unsigned long' are the same type:
YES
Check if 'size_t' and 'unsigned long long' are the same type:
size_t_check.cpp:3: error: prototype for ‘void a::f(long long unsigned int)’ does not match any in class ‘a’
size_t_check.cpp:2: error: candidate is: void a::f(size_t)
NO
Failed to import numarray: PyQwt will be build without support for numarray.

Failed to find Numeric2: PyQwt will be build without support for Numeric.

Found NumPy-1.3.0.

sh: /bin/qmake: No such file or directory
make: qwt_version_info.mak: No such file or directory
make: *** No rule to make target `qwt_version_info.mak'.  Stop.
sh: qwt_version_info.app/Contents/MacOS/qwt_version_info: No such file or directory
Failed to import qwt_version_info.


On Jan 16, 2010, at 3:07 PM, William Kyngesburye wrote:

> Just checking - are you following the Qgis INSTALL instructions?  They were recently updated with Qwt build intructions and today the install guide on the wiki was updated to what's in svn.  And of course it has the SIP/PyQt instructions, with some custom options for using the system Python in Leopard and Snow.
> 
> On Jan 16, 2010, at 4:46 PM, Gary Sherman wrote:
> 
>> On Sat, Jan 16, 2010 at 12:11 PM, William Kyngesburye
>> <woklist at kyngchaos.com> wrote:
>>> ... should be fixed in r12786.  Odd that I didn't get that error, though I don't normally do debug builds.
>> 
>> Thanks for the quick turnaround. The only (I think) problem I have now
>> is with pyqwt. I'm unable to build it due to an error in a sip
>> generated file. I'm running sip 4.9.3:
>> 
>> In file included from ../sip/qwt5qt4/qwt_plot_rescaler.sip:36:
>> ./qwt_plot_rescaler.h:120: error: incomplete type ‘QwtPlot’ used in
>> nested name specifier
>> ./qwt_plot_rescaler.h:73: error: incomplete type ‘QwtPlot’ used in
>> nested name specifier
>> 
>>> 
>>> On Jan 16, 2010, at 2:36 PM, Gary Sherman wrote:
>>> 
>>>> In file included from
>>>> /Users/gsherman/development/qgis_trunk_git/mac/xcode/build/snow/Qgis.build/Debug/python
>>>> analysis.build/DerivedSources/sipanalysispart0.cpp:7:
>>>> /Users/gsherman/development/qgis_trunk_git/mac/xcode/build/snow/Qgis.build/Debug/python
>>>> analysis.build/DerivedSources/sipAPIanalysis.h:11:17: error: sip.h: No
>>>> such file or directory
>>>> In file included from
>>>> /Users/gsherman/development/qgis_trunk_git/mac/xcode/build/snow/Qgis.build/Debug/python
>>>> analysis.build/DerivedSources/sipanalysispart0.cpp:7:
>>>> /Users/gsherman/development/qgis_trunk_git/mac/xcode/build/snow/Qgis.build/Debug/python
>>>> analysis.build/DerivedSources/sipAPIanalysis.h:189: error:
>>>> 'pyqt4ClassTypeDef' does not name a type
>>>> 
>>>> -gary
>>>> 
>>> -----
>>> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
>>> http://www.kyngchaos.com/
>>> 
>>> "I ache, therefore I am.  Or in my case - I am, therefore I ache."
>>> 
>>> - Marvin
>>> 
>>> 
>>> 
>> 
>> 
>> 
>> -- 
>> -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
>> Gary Sherman
>> Chair, QGIS Project Steering Committee
>> -Desktop GIS Book:
>> *http://desktopgisbook.com
>> -Spatial Hosting:
>> *http://mrcc.com/hosting
>> "We work virtually everywhere"
>> -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
>> _______________________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
> 
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
> 
> All generalizations are dangerous, even this one.
> 
> 
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer



More information about the Qgis-developer mailing list