[Slackbuilds-users] saga-gis

Frédéric Falsetti falsetti at clansco.org
Wed Jul 10 17:19:17 UTC 2019


On Wed, 10 Jul 2019 09:26:40 -0700
Benjamin Trigona-Harany <slackbuilds at jaxartes.net> 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 <slackbuilds at jaxartes.net> 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/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 at 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 mailing list
> >> SlackBuilds-users at 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 mailing list
> > SlackBuilds-users at 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 mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
> 


More information about the SlackBuilds-users mailing list