Menu

SAGA GIS ported to FreeBSD

User Forum
2010-01-14
2013-08-01
1 2 > >> (Page 1 of 2)
  • Rainer Hurling

    Rainer Hurling - 2010-01-14

    Dear SAGA community,

    I have spent some time to port the linux version saga_2.0.4_src_linux.tar.gz
    to FreeBSD. All I had to do were some small patches,
    see http://www.freebsd.org/cgi/query-
    pr.cgi?pr=140559
    . As a
    result there is now an official port skeleton in the port system.

    If you want to install SAGA GIS under FreeBSD, there are only a few steps to
    do:

    1. get superuser rights;
    2. cd /usr/ports/math/saga
    3. make clean install
    

    That's all. After that you can use SAGA GIS command line tools or GUI just
    like under Linux. Hope you enjoy it.

    Let me know if there are any problems,

    Rainer

     
  • Rainer Hurling

    Rainer Hurling - 2010-01-14

    As a supplement to my first posting, what do you think about an addition in
    the FAQ, second item, something like:

    Platforms currently supported by SAGA are MS Windows (2000/XP/Vista) as well
    as Linux_ and FreeBSD_.

    Furthermore I am planing to contribute to the Wiki installation
    item
    . Is
    it ok to write into this Wiki as an external user?

    Rainer

     
  • Jan Helebrant

    Jan Helebrant - 2010-01-15

    Hi,

    I updated the SAGA page on Wikipedia - added FreeBSD in supported platforms
    and also link to this thread for those interested in installing it on FreeBSD.
    :-)

     
  • Volker Wichmann

    Volker Wichmann - 2010-01-15

    Rainer,

    thanks a lot for your contribution! Please feel free to extend the wiki, I've
    enabled write access for everyone with a sourceforge account some time ago.
    Simply edit the page, add a new link to the (yet to create) FreeBSD page and
    follow the link to actually create the page.

    Volker

     
  • Rainer Hurling

    Rainer Hurling - 2010-01-15

    Thank you Jan and Volker for answering. I will try to write a succinct wiki
    page and publish it the next days.

    Rainer

     
  • Rainer Hurling

    Rainer Hurling - 2010-01-16

    As advertised, here is my first shot for a FreeBSD wiki
    page
    .

    Would you be so kind and take a look at it. I am in particular interested, if
    this page is understandable and if the idiom is not too german like ;-)

    Rainer

     
  • Volker Wichmann

    Volker Wichmann - 2010-01-20

    Hi Rainer,

    thanks a lot for setting up the page in the wiki - I'm not familiar with
    FreeBSD nor can I comment on your english. But I think the page is fine (at
    least it is not more "german like" as my pages ;-)

    Volker

     
  • Volker Wichmann

    Volker Wichmann - 2010-04-27

    Rainer,

    as already posted, my last check in to cvs enables the build of the new ODBC
    core/module sources on linux. This introduces the new dependency unixODBC.
    I've updated the dependency list for building SAGA on linux in the wiki.

    It would be great if you keep the FreeBSD wiki page also up to date in case
    you provide a new port.

    Thanks,

    Volker

     
  • Rainer Hurling

    Rainer Hurling - 2010-04-27

    Hi Volker,

    thanks for notifying me. Yes, with the next stable release I plan to introduce
    dependencies for unixODBC and haruPDF. Both should be selectable with knobs
    during installation process.

    But haruPDF seems to be disabled in 2.0.4 linux sources, am I right?
    Preprocessor symbol _SAGA_DONOTUSE_HARU is defined throughout the whole load
    of the Makefiles. This symbol is actively used only inside
    src/saga_core/saga_api/doc_pdf.cpp and PDF generation is disabled if
    _SAGA_DONOTUSE_HARU is here.

    Do I have to patch Makefile.in files basing on the value of my planned knob
    (WITH_HARU)? Or is there some other strategy with the coming version?

    Rainer

     
  • Volker Wichmann

    Volker Wichmann - 2010-04-27

    Rainer,

    I think haruPDF is disabled to reduce the complexity of building SAGA on
    linux, maybe just because there were no packages of the library available for
    most distributions at the time the makefile system was set up. But I don't
    know for sure, maybe there are also other issues. I have never tried myself to
    build with haru on linux.

    But give it a try, just removing the _SAGA_DONOTUSE_HARU define in the
    makefiles should work.

    Volker

     
  • Rainer Hurling

    Rainer Hurling - 2010-09-04

    Thanks to the help of johanvdw and reklov_w in the past weeks I get managed an
    updated version of the FreeBSD port for SAGA GIS. With this port, the newest
    version 2.0.5 of SAGA runs as native code on FreeBSD.

    Since this port, there are some improvements to note down:

    • Unicode support (optional)
    • Haru Free PDF support (optional)
    • Manpages for saga_gui and saga_cmd
    • Saga-Tips on startup
    • Integration in the Freedesktop environment

    You will find some more information on the SAGA wiki page
    https://sourceforge.net/apps/trac/saga-
    gis/wiki/Compiling%20SAGA%20on%20FreeBSD
    .

    On FreeBSD there is an almost complete free GIS environment: SAGA GIS, GRASS,
    QGIS, GDAL, PROJ4, PostgreSQL/PostGIS, R, RSAGA and lots of other tools and
    programs ...

    Rainer

     
  • Johan Van de Wauw

    Nice!

    I should probably have mentioned this much earlier - but still: we have a
    repository for the debian build of saga. Now it is still at version 2.0.4 and
    all issues which were fixed there are also fixed in 2.0.5, but apart from
    those changes it may be a useful reference for you or other people trying to
    build a package for saga. Eg a desktop file, the source file of the manfiles
    (I should still add them upstream) and a complete copyright file.

    http://git.debian.org/?p=pkg-grass/saga.git

     
  • Volker Wichmann

    Volker Wichmann - 2010-09-04

    Thanks a lot Rainer, great you updated the wiki too. I think we should put up
    a wiki page collecting information about available build systems. This page
    should be an upper hierarchy to the Linux / FreeBSD compile instructions.

    Volker

     
  • Rainer Hurling

    Rainer Hurling - 2010-09-05

    Volker, I thought about such a higher wiki page as well :-) Actually, it is
    very easy to install SAGA GIS on FreeBSD. All you need to do is 'make install
    clean' in the ports directory '/usr/ports/math/saga'. BTW, is there any
    progress with Mac OS/X?

    Yesterday I asked webmaster@saga-gis.org, if he could mention FreeBSD as
    supported operating system in the FAQ.

     
  • Johan Van de Wauw

    BTW, is there any progress with Mac OS/X?

    I recently got my hands on an old mac: the saga api, saga_cmd and most modules
    work. The gui is not yet very functional - but can be compiled - so any help
    is highly appreciated.

     
  • Volker Wichmann

    Volker Wichmann - 2010-09-05

    I'm not the webmaster, but I've updated the FAQ on the SAGA homepage. Thanks
    for the hint. Once one of us has created a new "entry" page in the wiki for
    the supported platforms, we can link there directly.

    Volker

     
  • Rainer Hurling

    Rainer Hurling - 2010-09-05

    @johan: unfortunately I am no Mac user or owner.

    @volker: thanks for the FAQ update. I think the new 'entry' page in the wiki
    for supported platforms should be created by someone of the 'inner circle'.
    This new page could distinguish between binary installs (Windows, FreeBSD and
    some Linux distributions) and the possibilty to build from the sources.

    With FreeBSD for example, both ways exist. If a user wants to install the
    binary, all he/she has to do, is 'pkg_add -r saga'. The native binary of
    saga lies at
    ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages/math/saga-2.0.4_4.tbz. In a
    few days it should be the new 2.0.5-version (automatically produced from the
    FreeBSD build cluster).

    Another aspect to gain currency of SAGA GIS: Are there any plans to integrate
    into 'osgeo.org'? It seems, that they arrest much attention in the GIS world
    ...

     
  • Johan Van de Wauw

    Even though saga is not an official osgeo project it is included on the osgeo
    live dvd/live usb stick which will be distributed at the osgeo conference
    tomorrow:

    http://live.osgeo.org/overview/saga_overview.html

     
  • Rainer Hurling

    Rainer Hurling - 2010-09-05

    Ahh, I completely missed that. I was fixed on
    http://www.osgeo.org/, where it is not named under
    'OSGeo Projects', 'Desktop Applications' and it is not in incubation ...

    Nice to have it on the live-cd :-)

     
  • Volker Wichmann

    Volker Wichmann - 2010-09-05

    Nice to see that SAGA is on the osgeo live dvd, thanks Johan. But we do not
    intent to put SAGA under the osgeo umbrella at the moment (we had some
    discussions on this at the last international SAGA user meeting).

    Volker

     
  • Rainer Hurling

    Rainer Hurling - 2010-11-24

    Today an update of the FreeBSD port for SAGA GIS 2.0.6 had been published.
    This port respects OpenCV and libLAS in new modules. There are some more
    improvements for different platforms and versions of FreeBSD. I also updated
    the wiki pages.

    This is the third SAGA version supported by an hopefully full functional
    FreeBSD port.

    Rainer

     
  • Rainer Hurling

    Rainer Hurling - 2011-06-04

    Just as an update:

    Since May 21 SAGA GIS 2.0.7 is available as a FreeBSD port. The FreeBSD
    related wiki pages are also updated.

    Rainer

     
  • Volker Wichmann

    Volker Wichmann - 2011-06-06

    Great! Also thanks for updating the wiki pages too!

    Volker

     
  • Rainer Hurling

    Rainer Hurling - 2011-07-16

    In the meantime I added support (1) for ViGrA library and (2) for Python
    bindings
    in saga_api. Both are optional when building and installing SAGA
    GIS as a FreeBSD port.

    BTW, do you think FreeBSD should now be mentioned as 'Supported Platform', see
    OSGeo Live?

    Rainer

     
  • Johan Van de Wauw

    I've added freebsd on the osgeo live dvd (although many other programs on the
    live dvd also work on freebsd without mentioning it seperately).

    Please note that the new release is only in august, so the change will only
    propagate to the website at that time.

    http://trac.osgeo.org/osgeo/changeset/6457/livedvd/gisvm/trunk/doc

     
1 2 > >> (Page 1 of 2)

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.