Re: [Slackbuilds-users] Saga-gis: cannot find wxcrtvararg.h

2021-02-17 Thread B Watson
On 2/17/21, Rich Shepard  wrote:
>
> Perhaps postgres could be listed as an optional dependency?

That's what it's listed as already... but it's a lie: the configure
script errors out if you try to build without postgres. I can fix that
either by adding postgres as a required dep, or by passing an extra
--with-postgresql=no if the SlackBuild contains code to auto-detect
postgresql. Just trying to decide which is better. From what you say,
I guess the 2nd choice is better.
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Saga-gis: cannot find wxcrtvararg.h

2021-02-17 Thread Rich Shepard

On Wed, 17 Feb 2021, B Watson wrote:


Since I don't use saga-gis, or even have a very clear idea what it does, I
have to ask... is it even useful to build saga-gis without postgresql
support? Is that a rarely-used feature, or is it something that would
basically cripple saga-gis if it were missing?


B,

I have postgres installed; it'a always been my default RDBMS and is used
constantly.

SAGA is a raster-based GIS developed by physical geographers that focuses on
terrain analyses. It complements GRASS and offers some different models so
it's good to have available.


Reason I ask is, the dead simple way to fix this would be to add
postgresql to REQUIRES in the .info file. But if most users aren't likely
to need the postgresql support, it'd be better to leave it optional and
fix the script so it works without it.


I've not thought about it because I've not used SAGA extensively, but I do
keep GRASS data in postgres databases and since the two tools can interact I
suppose SAGA looks for data in a postgres database if it's not in the
default GRASS sqlite3 database.

Perhaps postgres could be listed as an optional dependency?

Regards,

Rich
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Saga-gis: cannot find wxcrtvararg.h

2021-02-17 Thread B Watson
saga-gis has another issue: its README says postgresql is optional,
but the build fails if postgresql isn't installed. Will attempt to
fix.

Since I don't use saga-gis, or even have a very clear idea what it
does, I have to ask... is it even useful to build saga-gis without
postgresql support? Is that a rarely-used feature, or is it something
that would basically cripple saga-gis if it were missing?

Reason I ask is, the dead simple way to fix this would be to add
postgresql to REQUIRES in the .info file. But if most users aren't
likely to need the postgresql support, it'd be better to leave it
optional and fix the script so it works without it.
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Saga-gis: cannot find wxcrtvararg.h

2021-02-17 Thread Rich Shepard

On Wed, 17 Feb 2021, Erich Ritz wrote:


# grep wxcrtvararg.h /var/log/packages/*
/var/log/packages/wxGTK3-3.0.5-x86_64-1_SBo:usr/include/wx-3.0/wx/wxcrtvararg.h


Erich,

Mea culpa! I built the package last evening and obvousily forgot to install
it. Sigh.

Thanks,

Rich
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Saga-gis: cannot find wxcrtvararg.h

2021-02-17 Thread Erich Ritz via SlackBuilds-users
Hi Rich,

‐‐‐ Original Message ‐‐‐
On Wednesday, February 17, 2021 10:08 AM, Rich Shepard 
 wrote:

> The saga-gis page shows wxGTK3 as a requirement. With that installed saga
> requested a unicode wxGTK. Installed that one, too. Now with both installed
> (and I no longer use wxPython so there's no conflict with wxGTK) the saga
> build fails to find wxcrtvararg.h because it is missing.
>
> What other package might contain that header?

# grep wxcrtvararg.h /var/log/packages/*
/var/log/packages/wxGTK3-3.0.5-x86_64-1_SBo:usr/include/wx-3.0/wx/wxcrtvararg.h

___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



[Slackbuilds-users] Saga-gis: cannot find wxcrtvararg.h

2021-02-17 Thread Rich Shepard

The saga-gis page shows wxGTK3 as a requirement. With that installed saga
requested a unicode wxGTK. Installed that one, too. Now with both installed
(and I no longer use wxPython so there's no conflict with wxGTK) the saga
build fails to find wxcrtvararg.h because it is missing.

What other package might contain that header?

The compressed build log (with STDOUT and STDERR redirected to the log file)
is attached.

Rich

saga-build.log.gz
Description: GNU Zip compressed data
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] saga-gis

2019-07-10 Thread Frédéric Falsetti
On Wed, 10 Jul 2019 09:26:40 -0700
Benjamin Trigona-Harany  wrote:

> On 2019-07-10 9:23 a.m., Frédéric Falsetti wrote:
> > thanks
> >   I now have now a fatal error, hdf5.h not found
> > 
> > $ slocate hdf5.h
> > /usr/include/VTK/vtkhdf5/src/hdf5.h
> > /usr/include/VTK/vtk_hdf5.h
> > /usr/include/vigra/multi_array_chunked_hdf5.hxx
> > 
> > 
> > libtool: compile:  g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I../../../.. -fPIC 
> > -I../../../../src/saga_core -D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD 
> > -DWITH_HDF5 -fopenmp -lgomp -march=i586 -mtune=i686 -MT 
> > vigra_random_forest.lo -MD -MP -MF .deps/vigra_random_forest.Tpo -c 
> > vigra_random_forest.cpp  -fPIC -DPIC -o .libs/vigra_random_forest.o
> > In file included from /usr/include/vigra/random_forest_hdf5_impex.hxx:41:0,
> >   from vigra_random_forest.cpp:68:
> > /usr/include/vigra/hdf5impex.hxx:51:18: erreur fatale : hdf5.h : Aucun 
> > fichier ou dossier de ce type
> > compilation terminée.
> 
> Looks like you have vigra installed. 

yes, sorry, I had reinstall vigra and forgot to remove it.
All is fine now

Thanks very much

SAGA won't build in this case as 
> noted in README. If that's not it, then my guess is that you had hdf5 
> installed and then removed it, breaking one of SAGA's dependencies.
> 
> > On Tue, 09 Jul 2019 23:36:27 -0700
> > Benjamin Trigona-Harany  wrote:
> > 
> >> On Sunday, 7 July 2019 02:07:18 PDT Frédéric Falsetti wrote:
> >>> Hi,
> >>> saga-gis-7.2.0-i586-1_SBo is removed
> >>> saga-gis-7.3.0 fails to build
> >>
> >> Thanks for the report Frédéric. This shold be fixed in my branch - if you
> >> could test the fix that would be great.
> >>
> >>> mv -f $depbase.Tpo $depbase.Po
> >>> wksp_map_layer.cpp: Dans la fonction membre 'CSG_Rect
> >>> CWKSP_Map_Layer::_Projected_Get_Layer_Extent(const CSG_Rect&)':
> >>> wksp_map_layer.cpp:465:23: erreur : 'isinf' was not declared in this scope
> >>> if( isinf(rLayer.xMin) ) rLayer.xMin = m_pLayer->Get_Extent().Get_XMin(); 
> >>> ^
> >>> wksp_map_layer.cpp:465:23: note : suggested alternative:
> >>> In file included from /usr/include/wx-3.0/wx/math.h:72:0,
> >>>   from /usr/include/wx-3.0/wx/gdicmn.h:23,
> >>>   from /usr/include/wx-3.0/wx/event.h:20,
> >>>   from /usr/include/wx-3.0/wx/window.h:18,
> >>>   from wksp_map_layer.cpp:51:
> >>> /usr/include/c++/5.5.0/cmath:626:5: note :   'std::isinf'
> >>>   isinf(_Tp __x)
> >>>   ^
> >>> wksp_map_layer.cpp:466:23: erreur : 'isinf' was not declared in this scope
> >>>if( isinf(rLayer.xMax) ) rLayer.xMax = 
> >>> m_pLayer->Get_Extent().Get_XMax();
> >>> ^
> >>> wksp_map_layer.cpp:466:23: note : suggested alternative:
> >>> In file included from /usr/include/wx-3.0/wx/math.h:72:0,
> >>>   from /usr/include/wx-3.0/wx/gdicmn.h:23,
> >>>   from /usr/include/wx-3.0/wx/event.h:20,
> >>>   from /usr/include/wx-3.0/wx/window.h:18,
> >>>   from wksp_map_layer.cpp:51:
> >>> /usr/include/c++/5.5.0/cmath:626:5: note :   'std::isinf'
> >>>   isinf(_Tp __x)
> >>>   ^
> >>> wksp_map_layer.cpp:467:23: erreur : 'isinf' was not declared in this scope
> >>>if( isinf(rLayer.yMin) ) rLayer.yMin = 
> >>> m_pLayer->Get_Extent().Get_YMin();
> >>> ^
> >>> wksp_map_layer.cpp:467:23: note : suggested alternative:
> >>> In file included from /usr/include/wx-3.0/wx/math.h:72:0,
> >>>   from /usr/include/wx-3.0/wx/gdicmn.h:23,
> >>>   from /usr/include/wx-3.0/wx/event.h:20,
> >>>   from /usr/include/wx-3.0/wx/window.h:18,
> >>>   from wksp_map_layer.cpp:51:
> >>> /usr/include/c++/5.5.0/cmath:626:5: note :   'std::isinf'
> >>>   isinf(_Tp __x)
> >>>   ^
> >>> wksp_map_layer.cpp:468:23: erreur : 'isinf' was not declared in this scope
> >>>if( isinf(rLayer.yMax) ) rLayer.yMax = 
> >>> m_pLayer->Get_Extent().Get_YMax();
> >>> ^
> >>> wksp_map_layer.cpp:468:23: note : suggested alternative:
> >>> In file included from /usr/include/wx-3.0/wx/math.h:72:0,
> >>>   from /usr/include/wx-3.0/wx/gdicmn.h:23,
> >>>   from /usr/include/wx-3.0/wx/event.h:20,
> >>>   from /usr/include/wx-3.0/wx/window.h:18,
> >>>   from wksp_map_layer.cpp:51:
> >>> /usr/include/c++/5.5.0/cmath:626:5: note :   'std::isinf'
> >>>   isinf(_Tp __x)
> >>>   ^
> >>> wksp_map_layer.cpp: Dans la fonction membre 'bool
> >>> CWKSP_Map_Layer::_Projected_Shapes_Clipped(const CSG_Rect&, CSG_Shapes*,
> >>> CSG_Shapes&)': wksp_map_layer.cpp:507:17: erreur : 'isinf' was not 
> >>> declared
> >>> in this scope if( isinf(p.x) ) p.x = std::signbit(p.x) ?
> >>> Extent.Get_Extent().Get_XMin() : Extent.Get_Extent().Get_XMax(); ^
> >>> wksp_map_layer.cpp:507:17: note : suggested alternative:
> >>> In file included from /usr/include/wx-3.0/wx

Re: [Slackbuilds-users] saga-gis

2019-07-10 Thread Benjamin Trigona-Harany

On 2019-07-10 9:23 a.m., Frédéric Falsetti wrote:

thanks
  I now have now a fatal error, hdf5.h not found

$ slocate hdf5.h
/usr/include/VTK/vtkhdf5/src/hdf5.h
/usr/include/VTK/vtk_hdf5.h
/usr/include/vigra/multi_array_chunked_hdf5.hxx


libtool: compile:  g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I../../../.. -fPIC 
-I../../../../src/saga_core -D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD 
-DWITH_HDF5 -fopenmp -lgomp -march=i586 -mtune=i686 -MT vigra_random_forest.lo 
-MD -MP -MF .deps/vigra_random_forest.Tpo -c vigra_random_forest.cpp  -fPIC 
-DPIC -o .libs/vigra_random_forest.o
In file included from /usr/include/vigra/random_forest_hdf5_impex.hxx:41:0,
  from vigra_random_forest.cpp:68:
/usr/include/vigra/hdf5impex.hxx:51:18: erreur fatale : hdf5.h : Aucun fichier 
ou dossier de ce type
compilation terminée.


Looks like you have vigra installed. SAGA won't build in this case as 
noted in README. If that's not it, then my guess is that you had hdf5 
installed and then removed it, breaking one of SAGA's dependencies.



On Tue, 09 Jul 2019 23:36:27 -0700
Benjamin Trigona-Harany  wrote:


On Sunday, 7 July 2019 02:07:18 PDT Frédéric Falsetti wrote:

Hi,
saga-gis-7.2.0-i586-1_SBo is removed
saga-gis-7.3.0 fails to build


Thanks for the report Frédéric. This shold be fixed in my branch - if you
could test the fix that would be great.


mv -f $depbase.Tpo $depbase.Po
wksp_map_layer.cpp: Dans la fonction membre 'CSG_Rect
CWKSP_Map_Layer::_Projected_Get_Layer_Extent(const CSG_Rect&)':
wksp_map_layer.cpp:465:23: erreur : 'isinf' was not declared in this scope
if( isinf(rLayer.xMin) ) rLayer.xMin = m_pLayer->Get_Extent().Get_XMin(); ^
wksp_map_layer.cpp:465:23: note : suggested alternative:
In file included from /usr/include/wx-3.0/wx/math.h:72:0,
  from /usr/include/wx-3.0/wx/gdicmn.h:23,
  from /usr/include/wx-3.0/wx/event.h:20,
  from /usr/include/wx-3.0/wx/window.h:18,
  from wksp_map_layer.cpp:51:
/usr/include/c++/5.5.0/cmath:626:5: note :   'std::isinf'
  isinf(_Tp __x)
  ^
wksp_map_layer.cpp:466:23: erreur : 'isinf' was not declared in this scope
   if( isinf(rLayer.xMax) ) rLayer.xMax = m_pLayer->Get_Extent().Get_XMax();
^
wksp_map_layer.cpp:466:23: note : suggested alternative:
In file included from /usr/include/wx-3.0/wx/math.h:72:0,
  from /usr/include/wx-3.0/wx/gdicmn.h:23,
  from /usr/include/wx-3.0/wx/event.h:20,
  from /usr/include/wx-3.0/wx/window.h:18,
  from wksp_map_layer.cpp:51:
/usr/include/c++/5.5.0/cmath:626:5: note :   'std::isinf'
  isinf(_Tp __x)
  ^
wksp_map_layer.cpp:467:23: erreur : 'isinf' was not declared in this scope
   if( isinf(rLayer.yMin) ) rLayer.yMin = m_pLayer->Get_Extent().Get_YMin();
^
wksp_map_layer.cpp:467:23: note : suggested alternative:
In file included from /usr/include/wx-3.0/wx/math.h:72:0,
  from /usr/include/wx-3.0/wx/gdicmn.h:23,
  from /usr/include/wx-3.0/wx/event.h:20,
  from /usr/include/wx-3.0/wx/window.h:18,
  from wksp_map_layer.cpp:51:
/usr/include/c++/5.5.0/cmath:626:5: note :   'std::isinf'
  isinf(_Tp __x)
  ^
wksp_map_layer.cpp:468:23: erreur : 'isinf' was not declared in this scope
   if( isinf(rLayer.yMax) ) rLayer.yMax = m_pLayer->Get_Extent().Get_YMax();
^
wksp_map_layer.cpp:468:23: note : suggested alternative:
In file included from /usr/include/wx-3.0/wx/math.h:72:0,
  from /usr/include/wx-3.0/wx/gdicmn.h:23,
  from /usr/include/wx-3.0/wx/event.h:20,
  from /usr/include/wx-3.0/wx/window.h:18,
  from wksp_map_layer.cpp:51:
/usr/include/c++/5.5.0/cmath:626:5: note :   'std::isinf'
  isinf(_Tp __x)
  ^
wksp_map_layer.cpp: Dans la fonction membre 'bool
CWKSP_Map_Layer::_Projected_Shapes_Clipped(const CSG_Rect&, CSG_Shapes*,
CSG_Shapes&)': wksp_map_layer.cpp:507:17: erreur : 'isinf' was not declared
in this scope if( isinf(p.x) ) p.x = std::signbit(p.x) ?
Extent.Get_Extent().Get_XMin() : Extent.Get_Extent().Get_XMax(); ^
wksp_map_layer.cpp:507:17: note : suggested alternative:
In file included from /usr/include/wx-3.0/wx/math.h:72:0,
  from /usr/include/wx-3.0/wx/gdicmn.h:23,
  from /usr/include/wx-3.0/wx/event.h:20,
  from /usr/include/wx-3.0/wx/window.h:18,
  from wksp_map_layer.cpp:51:
/usr/include/c++/5.5.0/cmath:626:5: note :   'std::isinf'
  isinf(_Tp __x)
  ^
wksp_map_layer.cpp:508:17: erreur : 'isinf' was not declared in this scope
 if( isinf(p.y) ) p.y = std::signbit(p.y) ?
Extent.Get_Extent().Get_YMin() : Extent.Get_Extent().Get_YMax(); ^
wksp_map_layer.cpp:508:17: note : suggested alternative:
In file included from /usr/include/wx-3.0/wx/math.h:72:0,
  from /usr/include/wx-3.0/wx

Re: [Slackbuilds-users] saga-gis

2019-07-10 Thread Frédéric Falsetti
thanks
 I now have now a fatal error, hdf5.h not found

$ slocate hdf5.h
/usr/include/VTK/vtkhdf5/src/hdf5.h
/usr/include/VTK/vtk_hdf5.h
/usr/include/vigra/multi_array_chunked_hdf5.hxx


libtool: compile:  g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I../../../.. -fPIC 
-I../../../../src/saga_core -D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD 
-DWITH_HDF5 -fopenmp -lgomp -march=i586 -mtune=i686 -MT vigra_random_forest.lo 
-MD -MP -MF .deps/vigra_random_forest.Tpo -c vigra_random_forest.cpp  -fPIC 
-DPIC -o .libs/vigra_random_forest.o
In file included from /usr/include/vigra/random_forest_hdf5_impex.hxx:41:0,
 from vigra_random_forest.cpp:68:
/usr/include/vigra/hdf5impex.hxx:51:18: erreur fatale : hdf5.h : Aucun fichier 
ou dossier de ce type
compilation terminée.


On Tue, 09 Jul 2019 23:36:27 -0700
Benjamin Trigona-Harany  wrote:

> On Sunday, 7 July 2019 02:07:18 PDT Frédéric Falsetti wrote:
> > Hi,
> > saga-gis-7.2.0-i586-1_SBo is removed
> > saga-gis-7.3.0 fails to build
> 
> Thanks for the report Frédéric. This shold be fixed in my branch - if you 
> could test the fix that would be great.
> 
> > mv -f $depbase.Tpo $depbase.Po
> > wksp_map_layer.cpp: Dans la fonction membre 'CSG_Rect
> > CWKSP_Map_Layer::_Projected_Get_Layer_Extent(const CSG_Rect&)':
> > wksp_map_layer.cpp:465:23: erreur : 'isinf' was not declared in this scope
> > if( isinf(rLayer.xMin) ) rLayer.xMin = m_pLayer->Get_Extent().Get_XMin(); ^
> > wksp_map_layer.cpp:465:23: note : suggested alternative:
> > In file included from /usr/include/wx-3.0/wx/math.h:72:0,
> >  from /usr/include/wx-3.0/wx/gdicmn.h:23,
> >  from /usr/include/wx-3.0/wx/event.h:20,
> >  from /usr/include/wx-3.0/wx/window.h:18,
> >  from wksp_map_layer.cpp:51:
> > /usr/include/c++/5.5.0/cmath:626:5: note :   'std::isinf'
> >  isinf(_Tp __x)
> >  ^
> > wksp_map_layer.cpp:466:23: erreur : 'isinf' was not declared in this scope
> >   if( isinf(rLayer.xMax) ) rLayer.xMax = m_pLayer->Get_Extent().Get_XMax();
> >^
> > wksp_map_layer.cpp:466:23: note : suggested alternative:
> > In file included from /usr/include/wx-3.0/wx/math.h:72:0,
> >  from /usr/include/wx-3.0/wx/gdicmn.h:23,
> >  from /usr/include/wx-3.0/wx/event.h:20,
> >  from /usr/include/wx-3.0/wx/window.h:18,
> >  from wksp_map_layer.cpp:51:
> > /usr/include/c++/5.5.0/cmath:626:5: note :   'std::isinf'
> >  isinf(_Tp __x)
> >  ^
> > wksp_map_layer.cpp:467:23: erreur : 'isinf' was not declared in this scope
> >   if( isinf(rLayer.yMin) ) rLayer.yMin = m_pLayer->Get_Extent().Get_YMin();
> >^
> > wksp_map_layer.cpp:467:23: note : suggested alternative:
> > In file included from /usr/include/wx-3.0/wx/math.h:72:0,
> >  from /usr/include/wx-3.0/wx/gdicmn.h:23,
> >  from /usr/include/wx-3.0/wx/event.h:20,
> >  from /usr/include/wx-3.0/wx/window.h:18,
> >  from wksp_map_layer.cpp:51:
> > /usr/include/c++/5.5.0/cmath:626:5: note :   'std::isinf'
> >  isinf(_Tp __x)
> >  ^
> > wksp_map_layer.cpp:468:23: erreur : 'isinf' was not declared in this scope
> >   if( isinf(rLayer.yMax) ) rLayer.yMax = m_pLayer->Get_Extent().Get_YMax();
> >^
> > wksp_map_layer.cpp:468:23: note : suggested alternative:
> > In file included from /usr/include/wx-3.0/wx/math.h:72:0,
> >  from /usr/include/wx-3.0/wx/gdicmn.h:23,
> >  from /usr/include/wx-3.0/wx/event.h:20,
> >  from /usr/include/wx-3.0/wx/window.h:18,
> >  from wksp_map_layer.cpp:51:
> > /usr/include/c++/5.5.0/cmath:626:5: note :   'std::isinf'
> >  isinf(_Tp __x)
> >  ^
> > wksp_map_layer.cpp: Dans la fonction membre 'bool
> > CWKSP_Map_Layer::_Projected_Shapes_Clipped(const CSG_Rect&, CSG_Shapes*,
> > CSG_Shapes&)': wksp_map_layer.cpp:507:17: erreur : 'isinf' was not declared
> > in this scope if( isinf(p.x) ) p.x = std::signbit(p.x) ?
> > Extent.Get_Extent().Get_XMin() : Extent.Get_Extent().Get_XMax(); ^
> > wksp_map_layer.cpp:507:17: note : suggested alternative:
> > In file included from /usr/include/wx-3.0/wx/math.h:72:0,
> >  from /usr/include/wx-3.0/wx/gdicmn.h:23,
> >  from /usr/include/wx-3.0/wx/event.h:20,
> >  from /usr/include/wx-3.0/wx/window.h:18,
> >  from wksp_map_layer.cpp:51:
> > /usr/include/c++/5.5.0/cmath:626:5: note :   'std::isinf'
> >  isinf(_Tp __x)
> >  ^
> > wksp_map_layer.cpp:508:17: erreur : 'isinf' was not declared in this scope
> > if( isinf(p.y) ) p.y = std::signbit(p.y) ?
> > Extent.Get_Extent().Get_YMin() : Extent.Get_Extent().Get_YMax(); ^
> > wksp_map_layer.cpp:508:17: note : suggested alternative:
> > In file included from /usr/include/wx-3.0/wx/math.h:72:0,
> >  from /usr/include/wx-3.0/wx/gdicm

Re: [Slackbuilds-users] saga-gis

2019-07-09 Thread Benjamin Trigona-Harany
On Sunday, 7 July 2019 02:07:18 PDT Frédéric Falsetti wrote:
> Hi,
> saga-gis-7.2.0-i586-1_SBo is removed
> saga-gis-7.3.0 fails to build

Thanks for the report Frédéric. This shold be fixed in my branch - if you 
could test the fix that would be great.

> mv -f $depbase.Tpo $depbase.Po
> wksp_map_layer.cpp: Dans la fonction membre 'CSG_Rect
> CWKSP_Map_Layer::_Projected_Get_Layer_Extent(const CSG_Rect&)':
> wksp_map_layer.cpp:465:23: erreur : 'isinf' was not declared in this scope
> if( isinf(rLayer.xMin) ) rLayer.xMin = m_pLayer->Get_Extent().Get_XMin(); ^
> wksp_map_layer.cpp:465:23: note : suggested alternative:
> In file included from /usr/include/wx-3.0/wx/math.h:72:0,
>  from /usr/include/wx-3.0/wx/gdicmn.h:23,
>  from /usr/include/wx-3.0/wx/event.h:20,
>  from /usr/include/wx-3.0/wx/window.h:18,
>  from wksp_map_layer.cpp:51:
> /usr/include/c++/5.5.0/cmath:626:5: note :   'std::isinf'
>  isinf(_Tp __x)
>  ^
> wksp_map_layer.cpp:466:23: erreur : 'isinf' was not declared in this scope
>   if( isinf(rLayer.xMax) ) rLayer.xMax = m_pLayer->Get_Extent().Get_XMax();
>^
> wksp_map_layer.cpp:466:23: note : suggested alternative:
> In file included from /usr/include/wx-3.0/wx/math.h:72:0,
>  from /usr/include/wx-3.0/wx/gdicmn.h:23,
>  from /usr/include/wx-3.0/wx/event.h:20,
>  from /usr/include/wx-3.0/wx/window.h:18,
>  from wksp_map_layer.cpp:51:
> /usr/include/c++/5.5.0/cmath:626:5: note :   'std::isinf'
>  isinf(_Tp __x)
>  ^
> wksp_map_layer.cpp:467:23: erreur : 'isinf' was not declared in this scope
>   if( isinf(rLayer.yMin) ) rLayer.yMin = m_pLayer->Get_Extent().Get_YMin();
>^
> wksp_map_layer.cpp:467:23: note : suggested alternative:
> In file included from /usr/include/wx-3.0/wx/math.h:72:0,
>  from /usr/include/wx-3.0/wx/gdicmn.h:23,
>  from /usr/include/wx-3.0/wx/event.h:20,
>  from /usr/include/wx-3.0/wx/window.h:18,
>  from wksp_map_layer.cpp:51:
> /usr/include/c++/5.5.0/cmath:626:5: note :   'std::isinf'
>  isinf(_Tp __x)
>  ^
> wksp_map_layer.cpp:468:23: erreur : 'isinf' was not declared in this scope
>   if( isinf(rLayer.yMax) ) rLayer.yMax = m_pLayer->Get_Extent().Get_YMax();
>^
> wksp_map_layer.cpp:468:23: note : suggested alternative:
> In file included from /usr/include/wx-3.0/wx/math.h:72:0,
>  from /usr/include/wx-3.0/wx/gdicmn.h:23,
>  from /usr/include/wx-3.0/wx/event.h:20,
>  from /usr/include/wx-3.0/wx/window.h:18,
>  from wksp_map_layer.cpp:51:
> /usr/include/c++/5.5.0/cmath:626:5: note :   'std::isinf'
>  isinf(_Tp __x)
>  ^
> wksp_map_layer.cpp: Dans la fonction membre 'bool
> CWKSP_Map_Layer::_Projected_Shapes_Clipped(const CSG_Rect&, CSG_Shapes*,
> CSG_Shapes&)': wksp_map_layer.cpp:507:17: erreur : 'isinf' was not declared
> in this scope if( isinf(p.x) ) p.x = std::signbit(p.x) ?
> Extent.Get_Extent().Get_XMin() : Extent.Get_Extent().Get_XMax(); ^
> wksp_map_layer.cpp:507:17: note : suggested alternative:
> In file included from /usr/include/wx-3.0/wx/math.h:72:0,
>  from /usr/include/wx-3.0/wx/gdicmn.h:23,
>  from /usr/include/wx-3.0/wx/event.h:20,
>  from /usr/include/wx-3.0/wx/window.h:18,
>  from wksp_map_layer.cpp:51:
> /usr/include/c++/5.5.0/cmath:626:5: note :   'std::isinf'
>  isinf(_Tp __x)
>  ^
> wksp_map_layer.cpp:508:17: erreur : 'isinf' was not declared in this scope
> if( isinf(p.y) ) p.y = std::signbit(p.y) ?
> Extent.Get_Extent().Get_YMin() : Extent.Get_Extent().Get_YMax(); ^
> wksp_map_layer.cpp:508:17: note : suggested alternative:
> In file included from /usr/include/wx-3.0/wx/math.h:72:0,
>  from /usr/include/wx-3.0/wx/gdicmn.h:23,
>  from /usr/include/wx-3.0/wx/event.h:20,
>  from /usr/include/wx-3.0/wx/window.h:18,
>  from wksp_map_layer.cpp:51:
> /usr/include/c++/5.5.0/cmath:626:5: note :   'std::isinf'
>  isinf(_Tp __x)
>  ^
> Makefile:905: recipe for target 'wksp_map_layer.o' failed
> make[5]: *** [wksp_map_layer.o] Error 1
> make[5]: Leaving directory '/tmp/SBo/saga-7.3.0/src/saga_core/saga_gui'
> Makefile:1025: recipe for target 'all-recursive' failed
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory '/tmp/SBo/saga-7.3.0/src/saga_core/saga_gui'
> Makefile:413: recipe for target 'all-recursive' failed
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory '/tmp/SBo/saga-7.3.0/src/saga_core'
> Makefile:411: recipe for target 'all-recursive' failed
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory '/tmp/SBo/saga-7.3.0/src'
> Makefile:517: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursiv

[Slackbuilds-users] saga-gis

2019-07-07 Thread Frédéric Falsetti
Hi,
saga-gis-7.2.0-i586-1_SBo is removed
saga-gis-7.3.0 fails to build 


mv -f $depbase.Tpo $depbase.Po
wksp_map_layer.cpp: Dans la fonction membre 'CSG_Rect 
CWKSP_Map_Layer::_Projected_Get_Layer_Extent(const CSG_Rect&)':
wksp_map_layer.cpp:465:23: erreur : 'isinf' was not declared in this scope
  if( isinf(rLayer.xMin) ) rLayer.xMin = m_pLayer->Get_Extent().Get_XMin();
   ^
wksp_map_layer.cpp:465:23: note : suggested alternative:
In file included from /usr/include/wx-3.0/wx/math.h:72:0,
 from /usr/include/wx-3.0/wx/gdicmn.h:23,
 from /usr/include/wx-3.0/wx/event.h:20,
 from /usr/include/wx-3.0/wx/window.h:18,
 from wksp_map_layer.cpp:51:
/usr/include/c++/5.5.0/cmath:626:5: note :   'std::isinf'
 isinf(_Tp __x)
 ^
wksp_map_layer.cpp:466:23: erreur : 'isinf' was not declared in this scope
  if( isinf(rLayer.xMax) ) rLayer.xMax = m_pLayer->Get_Extent().Get_XMax();
   ^
wksp_map_layer.cpp:466:23: note : suggested alternative:
In file included from /usr/include/wx-3.0/wx/math.h:72:0,
 from /usr/include/wx-3.0/wx/gdicmn.h:23,
 from /usr/include/wx-3.0/wx/event.h:20,
 from /usr/include/wx-3.0/wx/window.h:18,
 from wksp_map_layer.cpp:51:
/usr/include/c++/5.5.0/cmath:626:5: note :   'std::isinf'
 isinf(_Tp __x)
 ^
wksp_map_layer.cpp:467:23: erreur : 'isinf' was not declared in this scope
  if( isinf(rLayer.yMin) ) rLayer.yMin = m_pLayer->Get_Extent().Get_YMin();
   ^
wksp_map_layer.cpp:467:23: note : suggested alternative:
In file included from /usr/include/wx-3.0/wx/math.h:72:0,
 from /usr/include/wx-3.0/wx/gdicmn.h:23,
 from /usr/include/wx-3.0/wx/event.h:20,
 from /usr/include/wx-3.0/wx/window.h:18,
 from wksp_map_layer.cpp:51:
/usr/include/c++/5.5.0/cmath:626:5: note :   'std::isinf'
 isinf(_Tp __x)
 ^
wksp_map_layer.cpp:468:23: erreur : 'isinf' was not declared in this scope
  if( isinf(rLayer.yMax) ) rLayer.yMax = m_pLayer->Get_Extent().Get_YMax();
   ^
wksp_map_layer.cpp:468:23: note : suggested alternative:
In file included from /usr/include/wx-3.0/wx/math.h:72:0,
 from /usr/include/wx-3.0/wx/gdicmn.h:23,
 from /usr/include/wx-3.0/wx/event.h:20,
 from /usr/include/wx-3.0/wx/window.h:18,
 from wksp_map_layer.cpp:51:
/usr/include/c++/5.5.0/cmath:626:5: note :   'std::isinf'
 isinf(_Tp __x)
 ^
wksp_map_layer.cpp: Dans la fonction membre 'bool 
CWKSP_Map_Layer::_Projected_Shapes_Clipped(const CSG_Rect&, CSG_Shapes*, 
CSG_Shapes&)':
wksp_map_layer.cpp:507:17: erreur : 'isinf' was not declared in this scope
if( isinf(p.x) ) p.x = std::signbit(p.x) ? Extent.Get_Extent().Get_XMin() : 
Extent.Get_Extent().Get_XMax();
 ^
wksp_map_layer.cpp:507:17: note : suggested alternative:
In file included from /usr/include/wx-3.0/wx/math.h:72:0,
 from /usr/include/wx-3.0/wx/gdicmn.h:23,
 from /usr/include/wx-3.0/wx/event.h:20,
 from /usr/include/wx-3.0/wx/window.h:18,
 from wksp_map_layer.cpp:51:
/usr/include/c++/5.5.0/cmath:626:5: note :   'std::isinf'
 isinf(_Tp __x)
 ^
wksp_map_layer.cpp:508:17: erreur : 'isinf' was not declared in this scope
if( isinf(p.y) ) p.y = std::signbit(p.y) ? Extent.Get_Extent().Get_YMin() : 
Extent.Get_Extent().Get_YMax();
 ^
wksp_map_layer.cpp:508:17: note : suggested alternative:
In file included from /usr/include/wx-3.0/wx/math.h:72:0,
 from /usr/include/wx-3.0/wx/gdicmn.h:23,
 from /usr/include/wx-3.0/wx/event.h:20,
 from /usr/include/wx-3.0/wx/window.h:18,
 from wksp_map_layer.cpp:51:
/usr/include/c++/5.5.0/cmath:626:5: note :   'std::isinf'
 isinf(_Tp __x)
 ^
Makefile:905: recipe for target 'wksp_map_layer.o' failed
make[5]: *** [wksp_map_layer.o] Error 1
make[5]: Leaving directory '/tmp/SBo/saga-7.3.0/src/saga_core/saga_gui'
Makefile:1025: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/tmp/SBo/saga-7.3.0/src/saga_core/saga_gui'
Makefile:413: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/tmp/SBo/saga-7.3.0/src/saga_core'
Makefile:411: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/tmp/SBo/saga-7.3.0/src'
Makefile:517: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/SBo/saga-7.3.0'
Makefile:428: recipe for target 'all' failed
make: *** [all] Error 2
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slac