Re: [QGIS-Developer] Error during compilation

2018-04-10 Thread matteo
nevermind I had a messy installation on my computer

Thanks anyway :D

Matteo
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Error during compilation

2018-04-10 Thread matteo
hi Nyall,

I don't know what is going on, but I have this error now..

[ 53%] Building CXX object
src/gui/CMakeFiles/qgis_gui.dir/processing/moc_qgsprocessingalgorithmdialogbase.cpp.o
[ 53%] Linking CXX shared library ../../output/lib/libqgis_gui.so
[ 53%] Built target qgis_gui
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2

Thanks for any hint!

Matteo
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Error during compilation

2018-04-10 Thread Nyall Dawson
On 10 April 2018 at 16:23, matteo  wrote:
> Hi Nyall,
>
> thanks for the answer.. I think better but I have another error..

Fixed in 
https://github.com/qgis/QGIS/commit/b8e8541f0b6e2707f819510d1efd466514e646a7

Nyall
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Error during compilation

2018-04-10 Thread matteo
Hi Nyall,

thanks for the answer.. I think better but I have another error..

Should I give a make clean before make?

Thanks a lot!

Matteo



[ 75%] Generating ui_evisdatabaselayerfieldselectionguibase.h
Scanning dependencies of target evis
/home/matteo/lavori/QGIS/QGIS/src/providers/postgres/qgspostgresprojectstoragedialog.cpp:
In member function ‘void
QgsPostgresProjectStorageDialog::populateSchemas()’:
/home/matteo/lavori/QGIS/QGIS/src/providers/postgres/qgspostgresprojectstoragedialog.cpp:107:69:
error: ‘qAsConst’ was not declared in this scope
   for ( const QgsPostgresSchemaProperty  : qAsConst( schemas ) )
 ^
src/providers/postgres/CMakeFiles/postgresprovider_a.dir/build.make:418:
recipe for target
'src/providers/postgres/CMakeFiles/postgresprovider_a.dir/qgspostgresprojectstoragedialog.cpp.o'
failed
make[2]: ***
[src/providers/postgres/CMakeFiles/postgresprovider_a.dir/qgspostgresprojectstoragedialog.cpp.o]
Error 1
CMakeFiles/Makefile2:2745: recipe for target
'src/providers/postgres/CMakeFiles/postgresprovider_a.dir/all' failed
make[1]: ***
[src/providers/postgres/CMakeFiles/postgresprovider_a.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs
[ 75%] Building CXX object
src/providers/postgres/CMakeFiles/postgresprovider.dir/moc_qgspostgresconnpool.cpp.o
[ 75%] Building CXX object src/plugins/evis/CMakeFiles/evis.dir/evis.cpp.o
/home/matteo/lavori/QGIS/QGIS/src/providers/postgres/qgspostgresprojectstoragedialog.cpp:
In member function ‘void
QgsPostgresProjectStorageDialog::populateSchemas()’:
/home/matteo/lavori/QGIS/QGIS/src/providers/postgres/qgspostgresprojectstoragedialog.cpp:107:69:
error: ‘qAsConst’ was not declared in this scope
   for ( const QgsPostgresSchemaProperty  : qAsConst( schemas ) )
 ^
src/providers/postgres/CMakeFiles/postgresprovider.dir/build.make:418:
recipe for target
'src/providers/postgres/CMakeFiles/postgresprovider.dir/qgspostgresprojectstoragedialog.cpp.o'
failed
make[2]: ***
[src/providers/postgres/CMakeFiles/postgresprovider.dir/qgspostgresprojectstoragedialog.cpp.o]
Error 1
make[2]: *** Waiting for unfinished jobs




___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Error during compilation

2018-04-09 Thread Nyall Dawson
On 9 April 2018 at 22:04, matteo  wrote:
> Hi devs,
>
> I'm failing to compile QGIS starting from the merge of the PR [FEATURE]
> Projects in PostgreSQL. Long error trace here [0]
>
> Are there any special requirements starting from this commit, like Qt
>>=5.5.1 or something else?
>

Should be fixed in
https://github.com/qgis/QGIS/commit/0a1a6769d2604ec6098f0b0d581e5c3636e13d0e

Nyall
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Error during compilation

2018-03-28 Thread matteo
sorry guys, wrong gdal path added

sorry for the noise

Matteo
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] error during compilation

2015-07-13 Thread Radim Blazek
On Mon, Jul 6, 2015 at 11:32 PM, Matteo Ghetta matteo.ghe...@gmail.com wrote:
 Hi all,
 I have a problem during the compilation on QGIS master on debian testing.
 After the configuration with ccmake I get this error:

 [ 46%] Building C object
 src/providers/grass/6/CMakeFiles/qgis.d.rast6.dir/__/qgis.d.rast.c.o
 /home/ma7730/lavori/QGIS/QGIS-Master/src/providers/grass/qgis.d.rast.c: In
 function ‘cell_draw’:
 /home/ma7730/lavori/QGIS/QGIS-Master/src/providers/grass/qgis.d.rast.c:259:23:
 error: ‘INT_MIN’ undeclared (first use in this function)
  int nul = INT_MIN;

INT_MIN on Debian should be defined in /usr/include/limits.h

 could it be a problem related with grass6 vs grass7?

I don't think so.

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

Re: [Qgis-developer] error during compilation

2015-07-13 Thread Werner Macho
Hi!
I had the same problem for a short while - but to my knowledge this is
already solved in the latest master ..
At least mine compiles without problem.

kind regards
Werner

On Mon, Jul 13, 2015 at 1:07 PM, Radim Blazek radim.bla...@gmail.com wrote:
 On Mon, Jul 6, 2015 at 11:32 PM, Matteo Ghetta matteo.ghe...@gmail.com 
 wrote:
 Hi all,
 I have a problem during the compilation on QGIS master on debian testing.
 After the configuration with ccmake I get this error:

 [ 46%] Building C object
 src/providers/grass/6/CMakeFiles/qgis.d.rast6.dir/__/qgis.d.rast.c.o
 /home/ma7730/lavori/QGIS/QGIS-Master/src/providers/grass/qgis.d.rast.c: In
 function ‘cell_draw’:
 /home/ma7730/lavori/QGIS/QGIS-Master/src/providers/grass/qgis.d.rast.c:259:23:
 error: ‘INT_MIN’ undeclared (first use in this function)
  int nul = INT_MIN;

 INT_MIN on Debian should be defined in /usr/include/limits.h

 could it be a problem related with grass6 vs grass7?

 I don't think so.

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

Re: [Qgis-developer] error during compilation

2015-07-13 Thread Jürgen E . Fischer
Hi,


On Mon, 13. Jul 2015 at 13:07:32 +0200, Radim Blazek wrote:
  /home/ma7730/lavori/QGIS/QGIS-Master/src/providers/grass/qgis.d.rast.c:259:23:
  error: ‘INT_MIN’ undeclared (first use in this function)
   int nul = INT_MIN;
 
 INT_MIN on Debian should be defined in /usr/include/limits.h

Right.


On Mon, 13. Jul 2015 at 13:25:35 +0200, Werner Macho wrote:
 I had the same problem for a short while - but to my knowledge this is
 already solved in the latest master ..

6h is not short - but maybe 15min still is ;)

See https://github.com/qgis/QGIS/commit/4f212d3



Jürgen

-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Norden http://www.norbit.de
QGIS release manager (PSC)  GermanyIRC: jef on FreeNode 



signature.asc
Description: Digital signature
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] error during compilation

2015-07-07 Thread Matteo Ghetta
It seems that the problem is solved deactivating GRASS (both 6 and 7).

I'll try to make more tests.

Hope this help

Cheers

Matteo

2015-07-06 23:32 GMT+02:00 Matteo Ghetta matteo.ghe...@gmail.com:

 Hi all,
 I have a problem during the compilation on QGIS master on debian testing.
 After the configuration with ccmake I get this error:

 [ 46%] Building C object
 src/providers/grass/6/CMakeFiles/qgis.d.rast6.dir/__/qgis.d.rast.c.o
 /home/ma7730/lavori/QGIS/QGIS-Master/src/providers/grass/qgis.d.rast.c: In
 function ‘cell_draw’:
 /home/ma7730/lavori/QGIS/QGIS-Master/src/providers/grass/qgis.d.rast.c:259:23:
 error: ‘INT_MIN’ undeclared (first use in this function)
  int nul = INT_MIN;
^
 /home/ma7730/lavori/QGIS/QGIS-Master/src/providers/grass/qgis.d.rast.c:259:23:
 note: each undeclared identifier is reported only once for each function it
 appears in
 src/providers/grass/6/CMakeFiles/qgis.d.rast6.dir/build.make:54: recipe
 for target
 'src/providers/grass/6/CMakeFiles/qgis.d.rast6.dir/__/qgis.d.rast.c.o'
 failed
 make[2]: ***
 [src/providers/grass/6/CMakeFiles/qgis.d.rast6.dir/__/qgis.d.rast.c.o]
 Error 1
 CMakeFiles/Makefile2:2129: recipe for target
 'src/providers/grass/6/CMakeFiles/qgis.d.rast6.dir/all' failed
 make[1]: *** [src/providers/grass/6/CMakeFiles/qgis.d.rast6.dir/all] Error
 2
 Makefile:146: recipe for target 'all' failed
 make: *** [all] Error 2


 could it be a problem related with grass6 vs grass7?
 Thanks to all|

 Matteo

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

Re: [Qgis-developer] error during compilation

2014-01-15 Thread Luca Delucchi
On 14 January 2014 13:49, Tim Sutton li...@linfiniti.com wrote:
 Hi


Hi Tim,


 No problems  here but try posting the complete build log it might give us
 more clues. And also include the details of OS and QGIS versions you are
 building with.


today I updated QGIS and the problem disappeared.
I'm on Debian Jessie and I'm using QGIS master

 Thanks

 Tim



-- 
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] error during compilation

2014-01-14 Thread Tim Sutton
Hi




On Tue, Jan 14, 2014 at 10:19 AM, Luca Delucchi lucadel...@gmail.comwrote:

 Hi everybody,

 this morning I'm not able to compile QGIS, I obtain this error

 [ 36%] Building CXX object
 src/gui/CMakeFiles/qgis_gui.dir/moc_qgssearchquerybuilder.cxx.o
 [ 36%] Building CXX object
 src/gui/CMakeFiles/qgis_gui.dir/moc_qgssublayersdialog.cxx.o
 Linking CXX shared library ../../output/lib/libqgis_gui.so
 [ 36%] Built target qgis_gui
 make: *** [all] Error 2

 someone else obtain the same error?


No problems  here but try posting the complete build log it might give us
more clues. And also include the details of OS and QGIS versions you are
building with.

Thanks

Tim



 --
 ciao
 Luca

 http://gis.cri.fmach.it/delucchi/
 www.lucadelu.org
 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer




-- 
Tim Sutton - QGIS Project Steering Committee Member
==
Please do not email me off-list with technical
support questions. Using the lists will gain
more exposure for your issues and the knowledge
surrounding your issue will be shared with all.

Irc: timlinux on #qgis at freenode.net
==
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] error during compilation (sip?

2011-03-24 Thread Marco Bernasocchi
Paolo, I had a similar problem and it turned out to be that a package
that i used had been compiled using the wrong SIP version... here [1]
more maybe usefull info

ciao Marco
[1] https://bugs.launchpad.net/ubuntu/+source/pyqwt5/+bug/672509

On 03/23/2011 08:47 PM, Paolo Cavallini wrote:
 Il giorno mer, 23/03/2011 alle 12.23 -0700, Alex Mandel ha scritto: 
 Probably just an issue somewhere in the sip python bindings to qt.
 Guess that highlights why unstable isn't always suitable for daily
 desktop use.
 
 Yes, but someone has to test everything out, anyway.
 All the best, and thanks for your help.

-- 
Marco Bernasocchi
www.bernawebdesign.ch
skype: mbernasocchi
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] error during compilation (sip?

2011-03-23 Thread Paolo Cavallini
Il giorno sab, 19/03/2011 alle 16.02 +0100, Paolo Cavallini ha scritto: 
 Hi all.
 When compiling from trunk, I get (even after make clean):
 ===
 [ 96%] Generating ui_qgsplugininstallerbase.py
 python: /tmp/buildd/sip4-4.12.1/siplib/siplib.c:10831:
 sipEnumType_alloc: Asserzione `(((currentType)-td_flags  0x0007) ==
 0x0003)' fallita.
 /bin/sh: line 1: 21411
 Abortito/usr/bin/pyuic4 
 /storage/build/qgis_unstable/python/plugins/plugin_installer/qgsplugininstallerbase.ui
  -o 
 /storage/build/qgis_unstable/debian/build/python/plugins/plugin_installer/ui_qgsplugininstallerbase.py
 make[3]: ***
 [python/plugins/plugin_installer/ui_qgsplugininstallerbase.py] Error 134
 ===
 python-sip4 4.10.2-1 from Debian ustable, amd64.
 
 Anyone has the same problem?
 All the best.

I have found somebody else with the same problem, different sw:
http://groups.google.com/group/linux.debian.bugs.dist/browse_thread/thread/16160a5506c0a7a6
Apparently it is related to KDE; I removed kde-full kde-plasma-desktop
kdebase kdenetwork plasma-desktop, but I still have the same problem.
Any hint?
Thanks.
-- 
http://www.faunalia.it/pc

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


Re: [Qgis-developer] error during compilation (sip?

2011-03-23 Thread Alex Mandel
On 03/23/2011 06:53 AM, Paolo Cavallini wrote:
 Il giorno sab, 19/03/2011 alle 16.02 +0100, Paolo Cavallini ha scritto: 
 Hi all.
 When compiling from trunk, I get (even after make clean):
 ===
 [ 96%] Generating ui_qgsplugininstallerbase.py
 python: /tmp/buildd/sip4-4.12.1/siplib/siplib.c:10831:
 sipEnumType_alloc: Asserzione `(((currentType)-td_flags  0x0007) ==
 0x0003)' fallita.
 /bin/sh: line 1: 21411
 Abortito/usr/bin/pyuic4 
 /storage/build/qgis_unstable/python/plugins/plugin_installer/qgsplugininstallerbase.ui
  -o 
 /storage/build/qgis_unstable/debian/build/python/plugins/plugin_installer/ui_qgsplugininstallerbase.py
 make[3]: ***
 [python/plugins/plugin_installer/ui_qgsplugininstallerbase.py] Error 134
 ===
 python-sip4 4.10.2-1 from Debian ustable, amd64.

 Anyone has the same problem?
 All the best.
 
 I have found somebody else with the same problem, different sw:
 http://groups.google.com/group/linux.debian.bugs.dist/browse_thread/thread/16160a5506c0a7a6
 Apparently it is related to KDE; I removed kde-full kde-plasma-desktop
 kdebase kdenetwork plasma-desktop, but I still have the same problem.
 Any hint?
 Thanks.

I helped several people with this a few weeks ago. In almost all cases
it was due to KDE updates from KDE-Backports. Rolling back all
KDE-backports seemed to fix it.

There's something about the new version of KDE (4.6?) that gets the sip
version out of sync with something else and QGIS doesn't like the combo
of them. I don't know the full details.

Thanks,
Alex

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


Re: [Qgis-developer] error during compilation (sip?

2011-03-23 Thread Paolo Cavallini
Il giorno mer, 23/03/2011 alle 11.29 -0700, Alex Mandel ha scritto:

 I helped several people with this a few weeks ago. In almost all cases
 it was due to KDE updates from KDE-Backports. Rolling back all
 KDE-backports seemed to fix it.
 
 There's something about the new version of KDE (4.6?) that gets the sip
 version out of sync with something else and QGIS doesn't like the combo
 of them. I don't know the full details.

Thanks I think I got it (I'm waiting for the compilation to finish).
No backports here (I'm on unstable), but this should be the bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=618842
All the best.
-- 
http://www.faunalia.it/pc

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


Re: [Qgis-developer] error during compilation (sip?

2011-03-23 Thread Alex Mandel
On 03/23/2011 11:37 AM, Paolo Cavallini wrote:
 Il giorno mer, 23/03/2011 alle 11.29 -0700, Alex Mandel ha scritto:
 
 I helped several people with this a few weeks ago. In almost all cases
 it was due to KDE updates from KDE-Backports. Rolling back all
 KDE-backports seemed to fix it.

 There's something about the new version of KDE (4.6?) that gets the sip
 version out of sync with something else and QGIS doesn't like the combo
 of them. I don't know the full details.
 
 Thanks I think I got it (I'm waiting for the compilation to finish).
 No backports here (I'm on unstable), but this should be the bug:
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=618842
 All the best.

Oh sorry I was mixing it up with Maverick/Natty ubuntu users. Though you
are probably running into the same issue since Debian unstable probably
has the same stuff that's in kubuntu's KDE-backports - latest sip  qt.

That bug seems to be on the right track. FYI, this has been seen to
effect Fedora and Suse builds too if people are using really new
versions of sip.

Probably just an issue somewhere in the sip python bindings to qt.
Guess that highlights why unstable isn't always suitable for daily
desktop use.

Thanks,
Alex
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer