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

2012-08-06 Thread John C. Tull
On Aug 5, 2012, at 11:43 AM, Larry Shaffer lar...@dakotacarto.com wrote: Hi John, On Sun, Aug 5, 2012 at 10:03 AM, John C. Tull jct...@gmail.com wrote: On Aug 4, 2012, at 8:11 PM, Larry Shaffer lar...@dakotacarto.com wrote: Note: Xcode.app now contains all dev directory structure, and you

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

2012-08-05 Thread Noli Sicad
This is better instruction for Installing FastCGI on Mountain Lion. http://mail.webdna.us/list/talk@webdna.u?cmd=user_listview_msgdomainid=-1list=talkmsg_idx=9397rss=true Larry, probably you can incorporate this in Building QGIS in Mac OS X. Thanks. Noli On 8/5/12, Noli Sicad

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

2012-08-05 Thread Noli Sicad
FastCGI makefile seems faulty. Not working. Here's the log. # Last login: Sun Aug 5 18:05:11 on ttys021 Nolis-MacBook-Pro:mod_fastcgi-2.4.6 nsicad$ make /usr/share/apr-1/build-1/libtool --silent --mode=compile

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

2012-08-05 Thread William Kyngesburye
You configured Qt to compile static libraries!? Your PyQt and QGIS binaries are going to be HUGE. There are many separate binary components and much of the static Qt libraries will be redunandantly linked in to each one. Even the Qt plugins will be large. You should really recompile Qt as

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

2012-08-05 Thread John C. Tull
On Aug 4, 2012, at 8:11 PM, Larry Shaffer lar...@dakotacarto.com wrote: Note: Xcode.app now contains all dev directory structure, and you can use xcrun to work with it, but I preferred to install the command line tools. You will probably want to uninstall any previous XCode version first. I

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

2012-08-05 Thread Larry Shaffer
Hi John, On Sun, Aug 5, 2012 at 10:03 AM, John C. Tull jct...@gmail.com wrote: On Aug 4, 2012, at 8:11 PM, Larry Shaffer lar...@dakotacarto.com wrote: Note: Xcode.app now contains all dev directory structure, and you can use xcrun to work with it, but I preferred to install the command line

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

2012-08-04 Thread John Abraham
nsi...@gmail.com To: Larry Shaffer lar...@dakotacarto.com Cc: qgis-developer qgis-developer@lists.osgeo.org,William Kyngesburye kyngch...@kyngchaos.com Subject: Re: [Qgis-developer] Building QGIS in Mac OS X (Mountain Lion i.e. 10.8) with QtSQL support Message-ID

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

2012-08-04 Thread Noli Sicad
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

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

2012-08-04 Thread Noli Sicad
I need to know where c++ is symbolic link. /usr/bin/c++ ( mine is broken) Can somebody tell me the results when you double click c++ in your system, I am assuming that you install Command Line Tools or any dev tools in your Mac OS X. Noli On 8/5/12, Noli Sicad nsi...@gmail.com wrote: Hi

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

2012-08-04 Thread Noli Sicad
Hi Larry, On 8/5/12, Larry Shaffer lar...@dakotacarto.com wrote: Hi, Sorry to top post, but... I have not had any significant problems following INSTALL to build master branch on Mt. Lion today. I have just updated the Mac notes with some optional info on installing ccache, and some cmake

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

2012-08-04 Thread Noli Sicad
Hi Larry, Now, this is the tricky part using my qmake for PyQt and QtSDK. I need help in this part. ### Based on the instruction (1) python2.7 configure.py -d /Library/Python/2.7/site-packages -b /usr/local/bin Nolis-MacBook-Pro:PyQt-mac-gpl-4.9.4 nsicad$ python2.7 configure.py -d

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

2012-08-04 Thread Noli Sicad
OK. Figure it out with -g python2.7 configure.py -d /Library/Python/2.7/site-packages -b /usr/local/bin -g GPL v3 Read the license (scroll down) Accept the license Yes make sudo make install I think this is important to include -g (as showed above). Noli On 8/5/12, Noli Sicad

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

2012-08-04 Thread Noli Sicad
I think this most important part of using QtSDK for Mac OS X is ~/.bash_profile file. Create this file and add your bin and lib. e.g. export PATH=$PATH:/Users/nsicad/QtSDK/Desktop/Qt/474/gcc/bin:$PATH export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/Users/nsicad/QtSDK/Desktop/Qt/474/gcc/lib ###

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

2012-08-03 Thread William Kyngesburye
As it says, when using a system SDK. If you just compile for your current system, with no SDK options, you don't need to do this. I suppose this should be removed, since I was aiming for simple current system builds in the instructions. On Aug 2, 2012, at 11:44 PM, Noli Sicad wrote: My

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

2012-08-03 Thread Noli Sicad
It is stlll not clear to me what to do with QtSDK (i.e. Qt 4.7.4) and XCode 4.x with Command Line Tool for compiling QGIS in Mac OS X. Tim has this wiki - Building QGIS 0.8 with Qt4.x for Ubuntu. https://help.ubuntu.com/community/BuildingQuantumGisPoint8FromSource Can some lighten me how to use

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

2012-08-03 Thread Noli Sicad
How can I incorporate qmake in my system? It seems that I can't use qmake in my terminal right now. See this logs. ## Last login: Sat Aug 4 08:56:51 on ttys004 Nolis-MacBook-Pro:bin nsicad$ qmake --help -bash: qmake: command not found Nolis-MacBook-Pro:bin nsicad$ ls Designer.app

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

2012-08-03 Thread Noli Sicad
Regarding, qmake, etc. in Mac OS X system. Any suggestion how to make this thing working based on this post below? http://osgeo-org.1560.n6.nabble.com/building-qgis-on-centos-td4100055.html Noli On 8/4/12, Noli Sicad nsi...@gmail.com wrote: How can I incorporate qmake in my system? It seems

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

2012-08-03 Thread Larry Shaffer
Noli, On Fri, Aug 3, 2012 at 5:02 PM, Noli Sicad nsi...@gmail.com wrote: How can I incorporate qmake in my system? It seems that I can't use qmake in my terminal right now. This is because the place where qmake is installed with the SDK is not in your PATH environment variable. You will need

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

2012-08-03 Thread Noli Sicad
It seems that compiling in Linux (i.e. Ubuntu) as outlined by Tim (below) is much easier to understand than the instruction in Mac OS X. https://help.ubuntu.com/community/BuildingQuantumGisPoint8FromSource Is the instruction above using qmake instead of cmake? Would it possible we can iron out

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

2012-08-03 Thread Larry Shaffer
Noli, On Fri, Aug 3, 2012 at 6:30 PM, Noli Sicad nsi...@gmail.com wrote: Do we still need cmake for building QGIS Mac OS X when using QtSDK (i.e. qmake)? This instruction below. Yes CMake is necessary. qmake is used to query where Qt components are installed. See results of: qmake -query

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

2012-08-03 Thread Noli Sicad
Hi Larry, Yes CMake is necessary. qmake is used to query where Qt components are installed. See results of: qmake -query I downloaded cmake-2.8.8-Darwin64-universal.dmg from http://www.cmake.org/cmake/resources/software.html and installed it. Command line is installed in /usr/bin

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

2012-08-03 Thread Noli Sicad
Read the instruction about CMake. Corrected the installation It is now in /usr/local/bin Noli On 8/4/12, Noli Sicad nsi...@gmail.com wrote: Hi Larry, Yes CMake is necessary. qmake is used to query where Qt components are installed. See results of: qmake -query I downloaded

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

2012-08-03 Thread Larry Shaffer
Noli, On Fri, Aug 3, 2012 at 7:49 PM, Noli Sicad nsi...@gmail.com wrote: Hi Larry, Yes CMake is necessary. qmake is used to query where Qt components are installed. See results of: qmake -query I downloaded cmake-2.8.8-Darwin64-universal.dmg from

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

2012-08-03 Thread William Kyngesburye
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. ### Last login: Sat Aug 4

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

2012-08-03 Thread Noli Sicad
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 wokl...@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

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

2012-08-02 Thread Noli Sicad
Hi Larry, Thanks for these pointers. What are the changes in this instruction? Unless you're feeling really adventurous and want use a different route, you'll want to first test whether the Qt and kyngchaos.com frameworks for 10.6/10.7 install and work as is. Not sure how much testing

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

2012-08-02 Thread William Kyngesburye
It might be a while before I get to Mountain Lion, for various reasons. For running existing software on Mtn, I expect few problems. Apple usually does a good job of forward compatibility if the software was built for the previous version or 2. Also, this time there shouldn't be a Python

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

2012-08-01 Thread Noli Sicad
Hi, Has anybody managed to build / compile QGIS in Mac OS X (Mountain Lion i.e. 10.8)? Any tips on this? https://github.com/qgis/Quantum-GIS/blob/master/INSTALL What are the changes in this instruction? I want also to include QtSQL support so MSSQL can work as well for Mac OS X. How do you

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

2012-08-01 Thread Larry Shaffer
Hi Noli, On Wed, Aug 1, 2012 at 9:25 PM, Noli Sicad nsi...@gmail.com wrote: Hi, Has anybody managed to build / compile QGIS in Mac OS X (Mountain Lion i.e. 10.8)? Any tips on this? https://github.com/qgis/Quantum-GIS/blob/master/INSTALL What are the changes in this instruction? Unless