Package Details: soci 4.0.3-1

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)

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).

    # https://github.com/SOCI/soci/issues/849
    mv ${pkgdir}/usr/cmake ${pkgdir}/usr/lib/cmake

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 in makedepends and boost-libs in optdepends ? I can't build rstudio-desktop against this version of soci 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?

CMake Error in src/core/CMakeLists.txt:
  Imported target "Boost::date_time" includes non-existent path

    "/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



CMake Error in src/core/CMakeLists.txt:
  Imported target "Boost::date_time" includes non-existent path

    "/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



CMake Error in src/core/CMakeLists.txt:
  Imported target "Boost::date_time" includes non-existent path

    "/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



CMake Error in src/core/CMakeLists.txt:
  Imported target "Boost::date_time" includes non-existent path

    "/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
==> ERROR: A failure occurred in build().
    Aborting...
Error making: soci

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)

libmysqlclient should be removed as a make dependency, and should remain an optional dependency only, mysql support is not required.

Gianfrix commented on 2014-05-07 08:03 (UTC)

The dependency to compile Oracle DB support is no longer "instantclient-basic" but "oracle-instantclient-basic" and "oracle-instantclient-sdk"

ozz commented on 2012-01-09 14:07 (UTC)

You may want to make boost optional though because I believe it provides some extra integration with boost if you have it.

mika.fischer commented on 2012-01-09 12:28 (UTC)

Fixed in -5, thanks!

ozz commented on 2012-01-02 20:47 (UTC)

I think the "boost" dependency should be removed from this package because it's not actually required as far as I can tell.

commented on 2011-10-18 13:26 (UTC)

Updated to version 3.1.0. Mika, I'm glad that you would be happy to adopt this package. I'm going to disown it.

mika.fischer commented on 2011-10-15 11:03 (UTC)

Hi! Do you mind updating the package to the latest version? I can also send you a PKGBUILD using the new CMake build system if you're interested. If you don't want to maintain this package anymore, I'd be happy to adopt it.