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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
:-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
@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
...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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:
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 :-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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:
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
As a supplement to my first posting, what do you think about an addition in
the FAQ, second item, something like:
Furthermore I am planing to contribute to the Wiki installation
item. Is
it ok to write into this Wiki as an external user?
Rainer
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.
:-)
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
Thank you Jan and Volker for answering. I will try to write a succinct wiki
page and publish it the next days.
Rainer
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
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
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
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
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
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:
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
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
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
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.
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.
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
@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
...
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
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 :-)
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
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
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
Great! Also thanks for updating the wiki pages too!
Volker
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
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