Re: [GRASS-dev] trying to compile GRASS 6.5 on Mavericks
On Sat, Dec 14, 2013 at 3:19 PM, Glynn Clements gl...@gclements.plus.com wrote: Michael Barton wrote: GRASS 6.5 does not compile. ... error.c:281:6: error: non-void function 'print_error' should return a value [-Wreturn-type] return; Change it to return 0;. The return value is ignored in any case (in GRASS 7, print_error() returns void). ... lib/gis/error.c, line 281. Do we want this applied in G6.*.svn? Markus ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] G7 compilation error
Dear Markus, thank you for answering, but I'm still struggling. On Thu, Dec 12, 2013 at 2:41 PM, Markus Neteler nete...@osgeo.org wrote: On Thu, Dec 12, 2013 at 2:18 PM, Margherita Di Leo dileomargher...@gmail.com wrote: Hi All, compiling the fresh grass trunk I get several compilation issues on tgrass and some wxpython modules (animation, vdigit, iclass) and the problem resides into: ImportError: /usr/local/lib/libgdal.so.1: undefined symbol: sqlite3_column_table_name I just updated also the gdal trunk. Any pointers on whether this is a problem in gdal, grass or sqlite3 (I use the EPEL sqlite-devel pakage) Be sure that all used packages are built against the same library version. The ldd command is useful to figure out the who calls whom. cool command, thanks. But I don't know if in this case is useful: http://pastebin.com/h7ig0iT0 doesn't tell me a lot. What I did in order to try to solve the issue: I removed the fresh gdal trunk installation and opted for the package coming from ELGIS (I had also tried with the version 1.9.2 compiled by myself, because i used to have it compiled without problem before upgrading to gdal trunk and before updating the grass trunk). As a result, I receive the same compilation error: http://pastebin.com/S8EUEZjK Of course at any tentative I ran make clean and make distclean. Any pointers? Thanks madi -- Best regards, Dr. Margherita DI LEO Scientific / technical project officer European Commission - DG JRC Institute for Environment and Sustainability (IES) Via Fermi, 2749 I-21027 Ispra (VA) - Italy - TP 261 Tel. +39 0332 78 3600 margherita.di-...@jrc.ec.europa.eu Disclaimer: The views expressed are purely those of the writer and may not in any circumstance be regarded as stating an official position of the European Commission. ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] trying to compile GRASS 6.5 on Mavericks
This seems only to be a problem in 6.5 svn. Michael C. Michael Barton Director, Center for Social Dynamics Complexity Professor of Anthropology, School of Human Evolution Social Change Arizona State University voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC) fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC) www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu On Dec 16, 2013, at 1:00 PM, grass-dev-requ...@lists.osgeo.orgmailto:grass-dev-requ...@lists.osgeo.org grass-dev-requ...@lists.osgeo.orgmailto:grass-dev-requ...@lists.osgeo.org wrote: From: Markus Neteler nete...@osgeo.orgmailto:nete...@osgeo.org Subject: Re: [GRASS-dev] trying to compile GRASS 6.5 on Mavericks Date: December 16, 2013 at 2:22:39 AM MST To: Glynn Clements gl...@gclements.plus.commailto:gl...@gclements.plus.com Cc: GRASS developers list grass-dev@lists.osgeo.orgmailto:grass-dev@lists.osgeo.org On Sat, Dec 14, 2013 at 3:19 PM, Glynn Clements gl...@gclements.plus.commailto:gl...@gclements.plus.com wrote: Michael Barton wrote: GRASS 6.5 does not compile. ... error.c:281:6: error: non-void function 'print_error' should return a value [-Wreturn-type] return; Change it to return 0;. The return value is ignored in any case (in GRASS 7, print_error() returns void). ... lib/gis/error.c, line 281. Do we want this applied in G6.*.svn? Markus ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] Compiling r.viewshed and r.terraflow with C++11
Glynn Clements wrote: i.atcorr to follow. Done in r58458. -- Glynn Clements gl...@gclements.plus.com ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] trying to compile GRASS 6.5 on Mavericks
Markus Neteler wrote: GRASS 6.5 does not compile. ... error.c:281:6: error: non-void function 'print_error' should return a value [-Wreturn-type] return; Change it to return 0;. The return value is ignored in any case (in GRASS 7, print_error() returns void). ... lib/gis/error.c, line 281. Do we want this applied in G6.*.svn? It needs to be done for 6.5 (develbranch_6). It's not applicable to 7.0 (where print_error doesn't return a value) or 6.4 (which doesn't have the change which causes the error). FWIW, the issue is caused by r45647, which backports r45646 from 7.0. -- Glynn Clements gl...@gclements.plus.com ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] trying to compile GRASS 6.5 on Mavericks
On Mon, Dec 16, 2013 at 11:00 PM, Glynn Clements gl...@gclements.plus.com wrote: ... It needs to be done for 6.5 (develbranch_6). It's not applicable to 7.0 (where print_error doesn't return a value) or 6.4 (which doesn't have the change which causes the error). Fixed in r58477. Markus ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev