Search Criteria
Package Details: soci 4.0.3-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/soci.git (read-only, click to copy) |
---|---|
Package Base: | soci |
Description: | Database access library for C++ |
Upstream URL: | http://soci.sf.net |
Licenses: | custom:boost |
Submitter: | None |
Maintainer: | holishing |
Last Packager: | holishing |
Votes: | 13 |
Popularity: | 0.71 |
First Submitted: | 2010-05-04 19:04 (UTC) |
Last Updated: | 2022-03-16 00:46 (UTC) |
Dependencies (13)
- gcc-libs (fastgcc, gccrs-libs-git, gcc-libs-git)
- boost (boost-git) (make)
- cmake (cmake-git) (make)
- postgresql-libs (agensgraph-git, postgresql-libs-1c, postgresql-libs-9.5, postgresql-libs-9.4, postgresql-src-beta-libs, postgresql-libs-9.6, postgresql-libs-11, postgresql-libs-10, postgresql-lts-libs, postgresql-libs-12, postgresql-src-libs, postgresql13-libs) (make)
- sqlite3 (sqlite-replication, sqlite-minimal-git, sqlite) (make)
- unixodbc (erlang-unixodbc-git) (make)
- boost-libs (boost171, boost-libs-git) (optional)
- libmysqlclient (libmysqlclient55, libmysqlclient56, mroonga, libmysqlclient, libmysqlclient57) (optional) – support for mysql databases
- oracle-instantclient-basic (optional) – support for oracle databases
- postgresql-libs (agensgraph-git, postgresql-libs-1c, postgresql-libs-9.5, postgresql-libs-9.4, postgresql-src-beta-libs, postgresql-libs-9.6, postgresql-libs-11, postgresql-libs-10, postgresql-lts-libs, postgresql-libs-12, postgresql-src-libs, postgresql13-libs) (optional) – support for postgresql databases
- sqlite3 (sqlite-replication, sqlite-minimal-git, sqlite) (optional) – support for sqlite databases
- unixodbc (erlang-unixodbc-git) (optional) – support for ODBC databases
Latest Comments
VJSchneid commented on 2022-03-16 11:38 (UTC)
Thanks @holishing, it is working now!
holishing commented on 2022-03-16 00:48 (UTC)
@VJSchneid Updated, please help to check again, thanks!
VJSchneid commented on 2021-05-23 14:52 (UTC) (edited on 2021-05-23 14:52 (UTC) by VJSchneid)
Hi @holishing, could you please add the 'staticlibs' option in PKGBUILD. Otherwise static libs are not included in the package and cmake's find_package can not be used with SOCI as it tries to find both shared and static libraries.
JanMarvin commented on 2021-01-24 22:13 (UTC)
Hi @holishing, could you add something like this to your PKGBUILD? Otherwise there is a folder /usr/cmake for SOCI only. I've played around with it here but this should be enough (until it is fixed upstream).
holishing commented on 2020-12-17 14:28 (UTC)
Updated, please help to check again, thx!
BluePeril commented on 2020-12-17 13:56 (UTC)
Please add -DCMAKE_CXX_STANDARD=11 to the cmake call, otherwise you can't build rstudio-desktop or lime
artemklevtsov commented on 2020-12-16 04:51 (UTC) (edited on 2020-12-16 04:51 (UTC) by artemklevtsov)
Seems the lates version breaks rstudio-desktop-git build:
In file included from /usr/include/soci/soci.h:12, from /tmp/makepkg/rstudio-desktop-git/src/rstudio/src/cpp/core/include/core/Database.hpp:27, from /tmp/makepkg/rstudio-desktop-git/src/rstudio/src/cpp/core/Database.cpp:16: /usr/include/soci/soci-platform.h:146:10: error: #error "SOCI must be configured with C++11 support when using C++11" 146 | #error "SOCI must be configured with C++11 support when using C++11" |
SOCI_CXX11 disabled by default.
bartus commented on 2020-04-07 07:11 (UTC)
@holishing: works fine, thanks.
holishing commented on 2020-04-05 04:39 (UTC)
@bartus: Updated, please test again. thanks!
bartus commented on 2020-04-04 15:25 (UTC)
@holishing: Can we have
boost
inmakedepends
andboost-libs
inoptdepends
? I can't buildrstudio-desktop
against this version ofsoci
without this change.hwkiller commented on 2020-03-26 20:19 (UTC) (edited on 2020-03-26 20:22 (UTC) by hwkiller)
It's due to cmake's FindBoost.cmake.
Edit: I have boost and boost-libs versions 1.72.0, and cmake 3.17. I assume it compiled for you in the chroot because boost is listed as optional, and it didn't pull in that dependency for you?
holishing commented on 2020-03-26 19:09 (UTC)
Well, I can compile it without that option in chroot environment (e.g. docker container). Could you provide related message?
hwkiller commented on 2020-03-26 04:53 (UTC)
This does not currently compile.
Fix:
Adding -DBoost_NO_BOOST_CMAKE=ON to the cmake options in build().
SoullessSentinel commented on 2017-06-08 08:05 (UTC)
Gianfrix commented on 2014-05-07 08:03 (UTC)
ozz commented on 2012-01-09 14:07 (UTC)
mika.fischer commented on 2012-01-09 12:28 (UTC)
ozz commented on 2012-01-02 20:47 (UTC)
commented on 2011-10-18 13:26 (UTC)
mika.fischer commented on 2011-10-15 11:03 (UTC)