[Slackbuilds-users] [Slackbuild-users] Libraries > poco (1.12.4) buildscript corrections

Didier Spaier didier at slint.fr
Thu Dec 29 08:17:57 UTC 2022


FWIW for Slint I build poco like this:

./configure \
  --prefix=/usr \
  --no-tests \
  --no-samples \
  --shared \
  --omit=Data/PostgreSQL,Data/ODBC,Data/MySQL \
  --sqlite-thread-safe=2 #multi-threaded, without session sharing support

link to the source repository:


Le 29/12/2022 à 06:03, KB_SBo a écrit :
> Hello Admins, Dimitris
> Since poco is a dependency of mumble, I am testing poco-1.12.4 with
> mumble-1.4.287. Previously, poco-1.9.x built just fine, even when
> ignoring the dependencies.
> Here are a few important potential corrections:
> 1. Slackware for a long while now includes MariaDB as a replacement.
> Attached is the patch from Arch Linux.
> 2. UnixODBC is optional. Slackware includes iODBC as one of the
> dependencies per upstream.
> 3. PostgrSQL is optional. The upstream cmake (see
> https://github.com/pocoproject/poco/blob/master/CMakeLists.txt )
> indicates that database connectors are added as found during configure.
> Cmake/Ninja compiles correctly with no added external dependencies,
> adding support if found. However, the configure script fails to set this
> up correctly.  I've added an 'if' statement to the buildscript to omit
> posrgreSQL if it is not required.
> I've attached the buildscript patch for the above items as a recommended
> improvement.
> Finally, I've checked via the SBo web form and it appears that there are
> no other buildscripts that depend on poco other than mumble. Therefore,
> I can take over poco maintainership if Dimitris so wishes.
> -Ed

More information about the SlackBuilds-users mailing list