[Qgis-developer] Building QGIS in Mac OS X (Mountain Lion i.e. 10.8) with QtSQL support

Noli Sicad nsicad at gmail.com
Sat Aug 4 17:27:24 PDT 2012


Hi John,

Try installing SIP.

brew install sip

Post result.

Thanks.


Noli

On Sunday, August 5, 2012, John C. Tull wrote:

> I think you must have something else going wrong on your system. Perhaps
> your mixing too many different build systems. I use homebrew and it is fine
> for me on Mountain Lion. I don't have any more specific information for
> you, but you might see what 'brew doctor' tells you and take it to the
> homebrew mailing lists/forum.
>
> Regards,
> John
>
> On Aug 3, 2012, at 10:05 PM, Noli Sicad <nsicad at gmail.com> wrote:
>
> > SIP in not building Mountain Lion.
> >
> > I use homebrew as well, same problem.
> >
> > ########
> >
> > Nolis-MacBook-Pro:bin nsicad$ brew install sip
> > ==> Downloading
> http://www.riverbankcomputing.co.uk/hg/sip/archive/4.13.3.tar.gz
> > ########################################################################
> 100.0%
> > ==> Patching
> > patching file build.py
> > Hunk #1 succeeded at 185 (offset 6 lines).
> > Hunk #2 succeeded at 198 (offset 6 lines).
> > patching file siputils.py
> > Hunk #1 succeeded at 1485 (offset 51 lines).
> > ==> python build.py prepare
> > ==> python configure.py
> --destdir=/usr/local/Cellar/sip/4.13.3/lib/python2.7/sit
> > ==> make install
> > cc -c -Os -w -pipe -march=native -Qunused-arguments
> > -mmacosx-version-min=10.8 -Os -w -DNDEBUG -I. -o main.o main.c
> > cc -c -Os -w -pipe -march=native -Qunused-arguments
> > -mmacosx-version-min=10.8 -Os -w -DNDEBUG -I. -o transform.o
> > transform.c
> > cc -c -Os -w -pipe -march=native -Qunused-arguments
> > -mmacosx-version-min=10.8 -Os -w -DNDEBUG -I. -o gencode.o gencode.c
> > cc -c -Os -w -pipe -march=native -Qunused-arguments
> > -mmacosx-version-min=10.8 -Os -w -DNDEBUG -I. -o extracts.o extracts.c
> > cc -c -Os -w -pipe -march=native -Qunused-arguments
> > -mmacosx-version-min=10.8 -Os -w -DNDEBUG -I. -o export.o export.c
> > cc -c -Os -w -pipe -march=native -Qunused-arguments
> > -mmacosx-version-min=10.8 -Os -w -DNDEBUG -I. -o heap.o heap.c
> > cc -c -Os -w -pipe -march=native -Qunused-arguments
> > -mmacosx-version-min=10.8 -Os -w -DNDEBUG -I. -o parser.o parser.c
> > cc -c -Os -w -pipe -march=native -Qunused-arguments
> > -mmacosx-version-min=10.8 -Os -w -DNDEBUG -I. -o lexer.o lexer.c
> > c++ -L/usr/local/lib -o sip main.o transform.o gencode.o extracts.o
> > export.o heap.o parser.o lexer.o
> > make[1]: c++: No such file or directory
> > make[1]: *** [sip] Error 1
> > make: *** [install] Error 2
> > ==> Build Environment
> > CPU: 8-core 64-bit dunno
> > OS X: 10.8-x86_64
> > Xcode: 4.5 => /Applications/Xcode45-DP2.app/Contents/Developer
> > X11: 2.7.2 @ /opt/X11
> > CC: /usr/bin/clang
> > CXX:
> /Applications/Xcode45-DP2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
> > =>
> /Applications/Xcode45-DP2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
> > LD: /usr/bin/clang
> > CFLAGS: -Os -w -pipe -march=native -Qunused-arguments
> -mmacosx-version-min=10.8
> > CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments
> > -mmacosx-version-min=10.8
> > CPPFLAGS: -isystem /usr/local/include
> > LDFLAGS: -L/usr/local/lib
> > MACOSX_DEPLOYMENT_TARGET: 10.8
> > MAKEFLAGS: -j8
> > Error: Failed executing: make install (sip.rb:41)
> > These existing issues may help you:
> >    https://github.com/mxcl/homebrew/issues/12388
> >    https://github.com/mxcl/homebrew/issues/12491
> > Otherwise, this may help you fix or report the issue:
> >    https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist
> >
> >
> > On 8/4/12, Noli Sicad <nsicad at gmail.com> wrote:
> >> Any suggestion of the better SIP and PyQt version that works with QGIS?
> >>
> >> Which SIP and PyQt version that works with QGIS?
> >>
> >> Noli
> >>
> >> On 8/4/12, William Kyngesburye <woklist at kyngchaos.com> wrote:
> >>> That's a problem to ask on the PyQt list.
> >>>
> >>> On Aug 3, 2012, at 10:45 PM, Noli Sicad wrote:
> >>>
> >>>> Cmake no problem now.
> >>>>
> >>>> Nolis-MacBook-Pro:~ nsicad$ which cmake
> >>>> /usr/local/bin/cmake
> >>>>
> >>>> #############
> >>>>
> >>>> Now, I got problem compiling SIP.
> >>>>
> > _______________________________________________
> > Qgis-developer mailing list
> > Qgis-developer at lists.osgeo.org <javascript:;>
> > http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20120805/fe376b4b/attachment.html>


More information about the Qgis-developer mailing list