[Qgis-developer] Run stable and master versions of QGIS on Ubuntu

Alex Mandel tech_dev at wildintellect.com
Tue Mar 11 10:54:53 PDT 2014


I run QGIS from ubuntugis repos and build master when the whim strikes
me, like I want to check a new feature.

With handmade GDAL, the answer is a maybe, since you will still get
pre-built geos, proj and QGIS, all of which will work with your custom
rolled GDAL. So that's compiling 1 things instead of 4+
I haven't kept up with how to keep Mrsid and FGDB working but does that
require a whole GDAL recompile? Mrsid used to just require a compile add-on.

The other neat thing is the apt-get build-dep qgis which pulls in all
the -dev libs you need for you.

I think a virtual machine is a good way to keep up on master (and you
can just use the qgis.org built ones) and still have a working stable
build. You can easily share data mounts between.

Thanks,
Alex


On 03/11/2014 10:45 AM, Bernd Vogelgesang wrote:
> Thanx Remi for bringing this up ... I didn't dare to ...
> 
> The problem with compiling the dev version imho is, that you will have
> to recompile it permanently if you are trying to be of any help with bug
> tracking, am I right? (Haven't compiled anything yet, cause I don't get
> rid of the knots in my brain)
> 
> On the other hand, to use QGIS "professionaly", I need GDAL with FGDB
> and MrSID support, so I will have to compile GDAL myself beforehand.
> But wanting to use it for work, I better not use the master version but
> the stable.
> 
> So, as I see it, it would be much better to compile the stable version
> and then get the master version for the candies and the testing from
> debian-nightly.
> But all guidelines propose it the other way round, which I do not really
> understand ...
> 
> Said this, when I want to compile the stable version instead of the
> master, but with a "handmade" GDAL, is there any way to take benefit
> from the ubuntugis-unstable repository (things I can install beforehand
> and then disabling the repository again)?
> 
> As I said, I have knots in my brain on this and never managed to have a
> nice and easy environment on Ubuntu as I have with Windows (which is
> saaaad....)
> Can someone help me with the surgery?
> 
> Cheers
> Bernd
> 
> 
> 
> Am 11.03.2014 17:59, schrieb Alex Mandel:
>> The only non-compile way I can think of on an Ubuntu box would be to run
>> a virtual machine. Otherwise you have to compile to avoid package
>> manager conflicts.
>>
>> So up to you which is more time/hassle to setup.
>>
>> Enjoy,
>> Alex
>>
>> On 03/10/2014 01:26 PM, Etienne Tourigny wrote:
>>> AFAIK, you have to build your own version (preferrably master) with a
>>> different install prefix (e.g. /home/softdev/), and when you want to use
>>> that version you need to add relevant paths to PATH and LD_LIBRARY_PATH.
>>>
>>> I have a shell function that sets this up on demand:
>>>
>>> setup_softdev()
>>> {
>>> export SOFT_PREFIX=/home/softdev
>>> export LD_LIBRARY_PATH="/home/softdev/lib"
>>> export LIBRARY_PATH=/home/softdev/lib
>>> export LD_RUN_PATH=/home/softdev/lib
>>> export PATH=/home/softdev/bin:$PATH
>>> export CPLUS_INCLUDE_PATH=/home/softdev/include
>>> export C_INCLUDE_PATH=/home/softdev/include
>>> export CPPFLAGS=-I/home/softdev/include
>>> export PYTHONPATH=/home/softdev/lib/python2.7/site-packages/
>>> export GDAL_DATA=/home/softdev/share/gdal
>>> }
>>> export -f setup_softdev
>>>
>>>
>>>
>>> On Mon, Mar 10, 2014 at 5:19 PM, Rémi Bovard <remi.bovard at gmail.com>
>>> wrote:
>>>
>>>> Hi list,
>>>>
>>>> I'm wondering if there is there a simple way to run stable and master
>>>> versions of QGIS on Ubuntu? By simple, I mean - if possible - without
>>>> compile QGIS from source.
>>>>
>>>> For now, as described in doc [1], I edit /etc/apt/sources.list to
>>>> define
>>>> which repository to use : http://qgis.org/debian or
>>>> http://qgis.org/debian-nightly. But doing like this, I cannot run
>>>> the two
>>>> versions at the same time.
>>>>
>>>> Thank you in advance for your answers.
>>>>
>>>> Rémi
>>>>
>>>> [1] http://qgis.org/en/site/forusers/alldownloads.html#ubuntu
>>>>
>>>>
>>>> _______________________________________________
>>>> Qgis-developer mailing list
>>>> Qgis-developer at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
> 
> 
> 
> 
> _______________________________________________
> 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