Package Details: postgis-sfcgal 3.4.2-1

Git Clone URL: https://aur.archlinux.org/postgis-sfcgal.git (read-only, click to copy)
Package Base: postgis-sfcgal
Description: A spatial database extender for PostgreSQL, with SFCGAL support
Upstream URL: https://postgis.net/
Licenses: GPL-3.0-or-later, LicenseRef-PostGIS
Conflicts: postgis
Provides: postgis
Submitter: okanisis
Maintainer: kikislater
Last Packager: MarsSeed
Votes: 6
Popularity: 0.100047
First Submitted: 2014-05-30 21:26 (UTC)
Last Updated: 2024-02-20 21:19 (UTC)

Latest Comments

MarsSeed commented on 2024-02-21 10:26 (UTC)

I have fixed and updated this package. But I am disowning it, since I myself don't use it.

It would benefit from a willing volunteer's maintainership, especially if that person uses and/or tests it with applications.

arw commented on 2022-08-01 09:20 (UTC) (edited on 2022-08-02 09:55 (UTC) by arw)

Hi, I was not able to build this package with postgis 2.3.1 version.

Using postgis 3.2.2 (last version), I was able to build the package if I added llvm and llvm13-libs as dependencies (without this, I had failure because of llvm-lto, libLLVM-13.so, libLLVM-14.so) with this PKGBUILD:

pkgname=postgis-sfcgal
_pkgname=${pkgname%-sfcgal}
pkgver=3.2.2
pkgrel=1
pkgdesc="Adds support for geographic objects to PostgreSQL and includes SFCGAL support for experimental 3D functions"
arch=('i686' 'x86_64')
url="http://postgis.net/"
license=('GPL')
depends=('postgresql' 'gdal' 'geos' 'json-c' 'sfcgal' 'libxml2' 'libxslt' 'llvm13-libs')
makedepends=('llvm')
provides=("$_pkgname=$pkgver")
conflicts=($_pkgname)
source=("https://download.osgeo.org/postgis/source/${_pkgname}-${pkgver}.tar.gz")
md5sums=('3fa8bfdc791f53147aab7e1fa8d2ae49')

build() {
  cd ${_pkgname}-${pkgver}

  ./autogen.sh
  ./configure --prefix=/usr --with-raster --with-gdalconfig=/usr/bin/gdal-config --with-gui
  make
}

package() {
  cd ${_pkgname}-${pkgver}

  make DESTDIR="${pkgdir}" install
}

kikislater commented on 2016-12-07 16:34 (UTC)

You're right, I saw cgal update but forget sfcgal ! Many thanks Donovan

okanisis commented on 2016-12-07 16:08 (UTC)

Looks like sfcgal lib is having trouble, try recompiling sfcgal (probably because cgal has been updated since) then it should build.

kikislater commented on 2016-12-07 12:13 (UTC)

Unable to build /usr/lib/libSFCGAL.so: undefined reference to `boost::archive::basic_binary_iprimitive<boost::archive::binary_iarchive, char, std::char_traits<char> >::init()' /usr/lib/libSFCGAL.so: undefined reference to `boost::archive::basic_binary_iprimitive<boost::archive::binary_iarchive, char, std::char_traits<char> >::~basic_binary_iprimitive()' /usr/lib/libSFCGAL.so: undefined reference to `boost::archive::text_iarchive_impl<boost::archive::text_iarchive>::load(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:85: raster2pgsql] Error 1 make[2]: Leaving directory '/tmp/yaourt-tmp-kiki/aur-postgis-sfcgal/src/postgis-2.3.1/raster/loader' make[1]: *** [Makefile:31: rtloader] Error 2 make[1]: Leaving directory '/tmp/yaourt-tmp-kiki/aur-postgis-sfcgal/src/postgis-2.3.1/raster' make: *** [GNUmakefile:16: all] Error 1 ==> ERROR: A failure occurred in build(). Aborting...

kikislater commented on 2016-06-27 13:48 (UTC) (edited on 2016-06-27 14:30 (UTC) by kikislater)

Edit : Succesfull build by adding : --with-sfcgal=/usr/bin/sfcgal-config Building with multithreading cores give errors