Re: [Qgis-developer] Build failure following qt creator setup instructions

2016-07-03 Thread Andrea Aime
On Sun, Jul 3, 2016 at 7:53 PM, Matthias Kuhn  wrote:

> > Yes, QGis 2.8.6 Wien, as part of the standard packages of Mint.
> > Are you suggesting to remove it?  Was kind of hoping to have two
> > versions side by side, one stable for day to day work, and one built
> fresh
> > to test SLD generation changes.
> >
>
> I am not sure what causes the build failure, it's not the first time I
> hear about it but I've never been able to properly trace it to its roots
> (and it never happened for me).
> In short: I'm trying to find the cause.
>
> If you could remove the qgis-python package from the system and check
> back if the build failure persists that would help to assess the problem.
>

Hey, I still haven't tried this but in the meantime the command line build
worked (after some fight with ccmake), I did not stumble into the
same error. So... well, I guess that gives me a way forward, but
I'll have a another look at the QT Creator build to see if the issue can be
traced, in order to add warnings/more directions into the dev guide.

Cheers
Andrea



-- 
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

---
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Build failure following qt creator setup instructions

2016-07-03 Thread Matthias Kuhn
On 07/03/2016 03:15 PM, Andrea Aime wrote:
> On Sun, Jul 3, 2016 at 2:37 PM, Matthias Kuhn  > wrote:
> 
> Hi Andrea,
> 
> On 07/03/2016 02:18 PM, Andrea Aime wrote:
> >   File "/home/aaime/devel/qgis/scripts/pyuic-wrapper.py", line 26, in
> > 
> > import qgis.PyQt.uic.pyuic
> > ImportError: No module named PyQt.uic.pyuic
> >
> > Any clue as to why the build is failing?
> 
> Do you have (an old version of) QGIS installed via package manager?
> 
> 
> Yes, QGis 2.8.6 Wien, as part of the standard packages of Mint.
> Are you suggesting to remove it?  Was kind of hoping to have two
> versions side by side, one stable for day to day work, and one built fresh
> to test SLD generation changes.
>  

I am not sure what causes the build failure, it's not the first time I
hear about it but I've never been able to properly trace it to its roots
(and it never happened for me).
In short: I'm trying to find the cause.

If you could remove the qgis-python package from the system and check
back if the build failure persists that would help to assess the problem.

Matthias
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Build failure following qt creator setup instructions

2016-07-03 Thread Sandro Santilli
On Sun, Jul 03, 2016 at 03:15:14PM +0200, Andrea Aime wrote:

> as kind of hoping to have two
> versions side by side, one stable for day to day work, and one built fresh
> to test SLD generation changes.

I keep multiple versions side-by-side, running each from its build dir
(output/bin/qgis). It works fine that way.

--strk;
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Build failure following qt creator setup instructions

2016-07-03 Thread Andrea Aime
On Sun, Jul 3, 2016 at 2:37 PM, Matthias Kuhn  wrote:

> Hi Andrea,
>
> On 07/03/2016 02:18 PM, Andrea Aime wrote:
> >   File "/home/aaime/devel/qgis/scripts/pyuic-wrapper.py", line 26, in
> > 
> > import qgis.PyQt.uic.pyuic
> > ImportError: No module named PyQt.uic.pyuic
> >
> > Any clue as to why the build is failing?
>
> Do you have (an old version of) QGIS installed via package manager?
>

Yes, QGis 2.8.6 Wien, as part of the standard packages of Mint.
Are you suggesting to remove it?  Was kind of hoping to have two
versions side by side, one stable for day to day work, and one built fresh
to test SLD generation changes.


>
> > I've also tried following the Ubuntu instructions
> > inj https://github.com/qgis/QGIS/blob/master/INSTALL,
> > in that case ccmake fails to find qwtpolar, which does not seem to be a
> > package included in Mint 18
> > (I've found libqwt5-qt4 and installed it, but it did not help)... does
> > one has to hand build this package
> > in order to build qgis?
>
> You can cmake it with -DWITH_QWTPOLAR=OFF or -DWITH_INTERNAL_QWTPOLAR=ON.
>

Thanks, I'll try

Cheers
Andrea

-- 
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

---
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Build failure following qt creator setup instructions

2016-07-03 Thread Matthias Kuhn
Hi Andrea,

On 07/03/2016 02:18 PM, Andrea Aime wrote:
>   File "/home/aaime/devel/qgis/scripts/pyuic-wrapper.py", line 26, in
> 
> import qgis.PyQt.uic.pyuic
> ImportError: No module named PyQt.uic.pyuic
> 
> Any clue as to why the build is failing?

Do you have (an old version of) QGIS installed via package manager?

> I've also tried following the Ubuntu instructions
> inj https://github.com/qgis/QGIS/blob/master/INSTALL,
> in that case ccmake fails to find qwtpolar, which does not seem to be a
> package included in Mint 18
> (I've found libqwt5-qt4 and installed it, but it did not help)... does
> one has to hand build this package
> in order to build qgis?

You can cmake it with -DWITH_QWTPOLAR=OFF or -DWITH_INTERNAL_QWTPOLAR=ON.

Matthias
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Build failure following qt creator setup instructions

2016-07-03 Thread Andrea Aime
Hi,
I'm trying to setup qgis source code in QT creator on a freshly installed
Linux Mint 18 (released a few days ago).
The instructions seem to mostly work, except once building I get into this
error:

Generating pyqgis api file
[ 82%] Built target qsci-api
[ 82%] Built target pyfuture
[ 82%] Built target zzz-GdalTools-3-depend
[ 82%] Built target zzz-GdalTools-1-depend
[ 82%] Built target pyqtcompat
[ 82%] Built target pygui
[ 82%] Built target pycore
[ 82%] Generating ui_widgetSieve.py
Traceback (most recent call last):
  File "/home/aaime/devel/qgis/scripts/pyuic-wrapper.py", line 26, in

import qgis.PyQt.uic.pyuic
ImportError: No module named PyQt.uic.pyuic
python/plugins/GdalTools/tools/CMakeFiles/zzz-GdalTools-2-depend.dir/build.make:117:
recipe for target 'python/plugins/GdalTools/tools/ui_widgetSieve.py' failed
CMakeFiles/Makefile2:5637: recipe for target
'python/plugins/GdalTools/tools/CMakeFiles/zzz-GdalTools-2-depend.dir/all'
failed
Makefile:160: recipe for target 'all' failed
make[2]: *** [python/plugins/GdalTools/tools/ui_widgetSieve.py] Error 1
make[1]: ***
[python/plugins/GdalTools/tools/CMakeFiles/zzz-GdalTools-2-depend.dir/all]
Error 2
make: *** [all] Error 2
13:54:45: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project qgis2.15.0 (kit: Desktop)
When executing step "Make"
13:54:45: Elapsed time: 00:15.

I've installed the required dependencies following instructions in this
line of the INSTALL guide:

https://github.com/qgis/QGIS/blob/master/INSTALL#L190

and I've verified that pyuci4 and associated libraries are installed, e..g:

> sudo apt-get install pyqt4-dev-tools  pyqt4.qsci-dev
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
pyqt4-dev-tools is already the newest version (4.11.4+dfsg-1build4).
pyqt4.qsci-dev is already the newest version (2.9.1+dfsg-4build1).
0 aggiornati, 0 installati, 0 da rimuovere e 14 non aggiornati.

Any clue as to why the build is failing?

I've also tried following the Ubuntu instructions inj
https://github.com/qgis/QGIS/blob/master/INSTALL,
in that case ccmake fails to find qwtpolar, which does not seem to be a
package included in Mint 18
(I've found libqwt5-qt4 and installed it, but it did not help)... does one
has to hand build this package
in order to build qgis?

Cheers
Andrea


-- 
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

---
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer