[ELGIS] QGIS 2.0 now in Fedora Rawhide

Markus Neteler neteler at osgeo.org
Sat Sep 28 13:23:30 PDT 2013


On Sat, Sep 28, 2013 at 7:08 PM, Volker Fröhlich <volker27 at gmx.at> wrote:
> On 28/09/13 18:51, Markus Neteler wrote:
...
>> For the more courageous F19 users like me, any suggestion how to compile
>> it?
...
> Yes, just rebuild it! I've got it working on F18, so I don't expect any
> issues in F19. Here's a quick guide I put together for those not yet
> experienced:

Since I just learned this "mock" thing (cool), here the few lines to
get QGIS 2.0.1 compiled on F19:

# "mock" is used to recompile SRPMS in a chroot environment
# without cluttering the system
yum install mock

# Download the SRPM (something.src.rpm) from Koji
# QGIS:  http://koji.fedoraproject.org/koji/buildinfo?buildID=467757
# GRASS: http://koji.fedoraproject.org/koji/buildinfo?buildID=464505

# General command:
# mock -r my_fedora_version_config --rebuild my_source_rpm.src.rpm
# So, check for fedora version config
ls /etc/mock/

mock -r fedora-19-x86_64 --rebuild qgis-2.0.1-2.fc20.src.rpm
# compiling takes 40min on my tiny core i3 laptop..

# install it:
cd /var/lib/mock/fedora-19-x86_64/result/
yum localinstall qgis-2.0.1-2.fc19.x86_64.rpm
qgis-grass-2.0.1-2.fc19.x86_64.rpm qgis-python-2.0.1-2.fc19.x86_64.rpm
exit

qgis
echo "w00t!"

Great job, Volker (and QGIS team of course).

Best
Markus

PS: upon startup, it says "std::bad_alloc" but it comes up without problems.


More information about the el mailing list