Page 1 of 2

qgis 2.3.0 module

Posted: 09 Jun 2014, 22:53
by gisonusb
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

Re: qgis 2.3.0 module

Posted: 09 Jun 2014, 23:20
by Slaxmax
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.

Re: qgis 2.3.0 module

Posted: 10 Jun 2014, 22:04
by gisonusb
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

Re: qgis 2.3.0 module

Posted: 11 Jun 2014, 21:58
by Slaxmax
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.

Re: qgis 2.3.0 module

Posted: 12 Jun 2014, 12:50
by wread
@gisonusb

Open a console and tip qgis to start it!

Re: qgis 2.3.0 module

Posted: 15 Jun 2014, 16:36
by gisonusb
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

Re: qgis 2.3.0 module

Posted: 15 Jun 2014, 17:00
by wread
Try this module...

Good luck!

Re: qgis 2.3.0 module

Posted: 15 Jun 2014, 23:15
by gisonusb
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...

Re: qgis 2.3.0 module

Posted: 16 Jun 2014, 01:08
by wread
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..

Re: qgis 2.3.0 module

Posted: 16 Jun 2014, 04:10
by brokenman
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.

Re: qgis 2.3.0 module

Posted: 17 Jun 2014, 00:54
by Slaxmax
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.

Re: qgis 2.3.0 module

Posted: 17 Jun 2014, 01:27
by wread
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!

Re: qgis 2.3.0 module

Posted: 17 Jun 2014, 11:58
by gisonusb
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.

Re: qgis 2.3.0 module

Posted: 18 Jun 2014, 11:29
by brokenman
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/

Re: qgis 2.3.0 module

Posted: 19 Jun 2014, 02:13
by wread
@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...