qgis 2.3.0 module

If you are looking for a specific 32-bit package and you can't find it in any of the 32-bit repos, please post a request for it here.
gisonusb
White ninja
White ninja
Posts: 6
Joined: 09 Jun 2014, 22:37
Distribution: xcfe v3
Location: the moon

qgis 2.3.0 module

Post#1 by gisonusb » 09 Jun 2014, 22:53

Hello,

Can anybody give a bit more guidance on how to build a qgis 2.3.0 module?

I found this: http://qgis.gotslack.org/

but all the inter-dependencies got me confused.

Is it possible to find a single prebuilt module? failing that an idiots walk through?

I tried a few times but linux is a whole new world for me.


thanks for any help you can offer

User avatar
Slaxmax
Contributor
Contributor
Posts: 403
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: qgis 2.3.0 module

Post#2 by Slaxmax » 09 Jun 2014, 23:20

welcome

1 - download qgis slackware package
http://qgis.gotslack.org/qgis-2.3.0-i486-1_jah.txz

2 - install the package qgis or convert to module.
see
http://www.porteus.org/component/conten ... udies.html

3 - update usm in terminal ( type "su" and password "toor" to enter in root)

Code: Select all

root@porteus:/home/guest# usm -u all
4 - check deps

Code: Select all

root@porteus:/home/guest# usm -d /var/log/packages/qgis*
download deps and install all packages downloaded.
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

gisonusb
White ninja
White ninja
Posts: 6
Joined: 09 Jun 2014, 22:37
Distribution: xcfe v3
Location: the moon

Re: qgis 2.3.0 module

Post#3 by gisonusb » 10 Jun 2014, 22:04

Thanks Slaxmax,

Followed the instructions.

Downloaded all dependencies (I think) and I tried to install them through USM which told me I was successful....however I have no idea where they went?

Practically I can still not find QGIS on my system and have no idea what to do next....

Any further suggestions to make progress?


Thanks

User avatar
Slaxmax
Contributor
Contributor
Posts: 403
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: qgis 2.3.0 module

Post#4 by Slaxmax » 11 Jun 2014, 21:58

Sorry I don't know how to help you.
I tried to install qgis here, but there are a lot of dependencies and python modules that I don't know how to fix.
This software is very specific and probably appear errors that I can't fix.
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

User avatar
wread
Module Guard
Module Guard
Posts: 1097
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v3.2.5-kde5-64 bits
Location: Santo Domingo
Contact:

Re: qgis 2.3.0 module

Post#5 by wread » 12 Jun 2014, 12:50

@gisonusb

Open a console and tip qgis to start it!
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

gisonusb
White ninja
White ninja
Posts: 6
Joined: 09 Jun 2014, 22:37
Distribution: xcfe v3
Location: the moon

Re: qgis 2.3.0 module

Post#6 by gisonusb » 15 Jun 2014, 16:36

Seems I dont have the right dependencies:

qgis: error while loading shared libraries: libqwt.so.6: cannot open shared object file: No such file or directory


Is there anyway to load other databases into USM?

thanks

User avatar
wread
Module Guard
Module Guard
Posts: 1097
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v3.2.5-kde5-64 bits
Location: Santo Domingo
Contact:

Re: qgis 2.3.0 module

Post#7 by wread » 15 Jun 2014, 17:00

Try this module...

Good luck!
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

gisonusb
White ninja
White ninja
Posts: 6
Joined: 09 Jun 2014, 22:37
Distribution: xcfe v3
Location: the moon

Re: qgis 2.3.0 module

Post#8 by gisonusb » 15 Jun 2014, 23:15

Thanks for trying but I am now missing this file:

libQtSql.so.4

I understood that USM would just be able to download all the dependencies and I would be ready to go....

Can I go about this in a simpler way or do I have to trawl the net for individual files every time?


grateful for pointers...

User avatar
wread
Module Guard
Module Guard
Posts: 1097
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v3.2.5-kde5-64 bits
Location: Santo Domingo
Contact:

Re: qgis 2.3.0 module

Post#9 by wread » 16 Jun 2014, 01:08

You must install qt4; try to get it from the package manager.
I am compilig grass-6.4.3, a related application, maybe you will be interested..
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

User avatar
brokenman
Site Admin
Site Admin
Posts: 5575
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: qgis 2.3.0 module

Post#10 by brokenman » 16 Jun 2014, 04:10

I understood that USM would just be able to download all the dependencies and I would be ready to go....
This is the case when a package exists within the slackware repositories. You can still do it though. First download the qgis packge and install it.

Code: Select all

wget http://qgis.gotslack.org/qgis-2.3.0-i486-1_jah.txz -P /tmp && installpkg /tmp/qgis-2.3.0-i486-1_jah.txz
Then use usm to resolve the dependencies. It will pull Qt4 and perhaps google-earth since one of the libraries exists nowhere else.

Code: Select all

usm -d /var/log/packages/qgis-2.3.0-i486-1_jah
Wread, when posting one of your nice modules (all the work is appreciated by many) please specify that your modules will require Qt as half the Porteus desktops don't ship with it. It may save some headaches for new comers unfamiliar with the desktops.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
Slaxmax
Contributor
Contributor
Posts: 403
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: qgis 2.3.0 module

Post#11 by Slaxmax » 17 Jun 2014, 00:54

The worst is to resolve dependency python, are many and with a great chance of problems.
These python modules are widely used in ubuntu, slackware repositories hardly possess these dependencies.
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

User avatar
wread
Module Guard
Module Guard
Posts: 1097
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v3.2.5-kde5-64 bits
Location: Santo Domingo
Contact:

Re: qgis 2.3.0 module

Post#12 by wread » 17 Jun 2014, 01:27

Python dependencies are indeed hard to get working. The basic modules are contained in 07-printing :Yahoo!:

For building GRASS Gis I got some from slackbuilds.org, and these large compilations often end in "device full" in Porteus; to overcome this, I have had to modify the Slackbuild script, changing the value of TMP from /tmp to /mnt/sdx. It works... :)

Gis applications are very much appreciated by investigators and geomatics students, so I am adding a good one to the aKDEmia Edition.., despite of pythons!
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

gisonusb
White ninja
White ninja
Posts: 6
Joined: 09 Jun 2014, 22:37
Distribution: xcfe v3
Location: the moon

Re: qgis 2.3.0 module

Post#13 by gisonusb » 17 Jun 2014, 11:58

thanks all for the input and help so far!

Unfortunately still no luck...
To clarify this is where I am at so far:

When I run the following:

Code: Select all

root@porteus:/home/guest# usm -d /var/log/packages/qgis*
I get

Code: Select all

Missing dependencies:  18

libQtCore.so.4
libQtGui.so.4
libQtNetwork.so.4
libQtScript.so.4
libQtSql.so.4
libQtSvg.so.4
libQtWebKit.so.4
libQtXml.so.4
libgdal.so.1
libgeos_c.so.1
libgsl.so.0
libgslcblas.so.0
libpq.so.5
libproj.so.0
libpython2.7.so.1.0
libqwt.so.6
libspatialindex.so.2
libspatialite.so.5
When trying to pull dependencies I get a whole load of options and sub options (which is a bit confusing).. I think i have selected them all and from the confirmation below I think I have qt + googleearth + python already in place:

Code: Select all

googleearth-7.1.2.2041-i386-2sl.txz already exists.
qt-4.8.5-i486-2.txz already exists.
gsl-1.16-i486-1ponce.txz already exists.
python-2.7.5-i486-1.txz already exists.

on trying to load qgis I still get

Code: Select all

root@porteus:~# qgis
qgis: error while loading shared libraries: libqwt.so.6: cannot open shared object file: No such file or directory
Does this mean something is in the wrong location? (related to wreads last post
changing the value of TMP from /tmp to /mnt/sdx.
)? I am sorry but I don't understand what this means.

Is it potentially something to to with XCFE? Maybe I would have more luck with another desktop environment?

thanks for any more pointers/suggestions.

Agree that GIS software on porteus is likely to be useful for many. Would be interested to see GRASS too.

User avatar
brokenman
Site Admin
Site Admin
Posts: 5575
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: qgis 2.3.0 module

Post#14 by brokenman » 18 Jun 2014, 11:29

You can download the package containing libqwt.so.6 here.

Or better, compile the slackware 14.1 source from here:http://slackware.org.uk/slackbuilds.org/14.1/libraries/
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
wread
Module Guard
Module Guard
Posts: 1097
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v3.2.5-kde5-64 bits
Location: Santo Domingo
Contact:

Re: qgis 2.3.0 module

Post#15 by wread » 19 Jun 2014, 02:13

@gisonusb
Meanwhile I compiled this complete stack for gis-2.3; it works for me on kde4. For sure you will need qt4 additionally.

I hope you will enjoy it, let me know...
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

Post Reply