@rafaelff. Thank you this worked. I also had to specify the c++11 standard and add the flag -DCMAKE_CXX_COMPILER='g++; -std=c++11' to the cmake parameters.
Search Criteria
Package Details: mysql-connector-c++ 1.1.9-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/mysql-connector-c++.git (read-only, click to copy) |
---|---|
Package Base: | mysql-connector-c++ |
Description: | A MySQL database connector for C++ |
Upstream URL: | http://dev.mysql.com/doc/connector-cpp/en/ |
Licenses: | GPL |
Submitter: | eworm |
Maintainer: | None |
Last Packager: | rafaelff |
Votes: | 7 |
Popularity: | 0.000000 |
First Submitted: | 2016-01-20 11:55 (UTC) |
Last Updated: | 2019-04-10 15:52 (UTC) |
Dependencies (3)
- libmariadbclient (libmysqlclient55, libmysqlclient56, mariadb-libs-git, libmysqlclient57, libmysqlclient, mariadb-libs)
- boost (boost-git) (make)
- cmake (cmake-git) (make)
Required by (0)
Sources (4)
twittumz commented on 2022-05-19 03:03 (UTC) (edited on 2022-05-19 03:08 (UTC) by twittumz)
rafaelff commented on 2022-05-18 00:08 (UTC) (edited on 2022-05-18 00:10 (UTC) by rafaelff)
@twittumz: I'm away from my computer, so I can test it, but try changing the source array to https://dev.mysql.com/get/Downloads/Connector-C++/mysql-connector-c++-1.1.9.tar.gz (completely replacing mirrors.soho.com) and update the sha256sums array using updpkgsums
from package pacman-contrib
.
You may have to remove {,.asc}
in source array and 'SKIP'
from sha256sums array.
twittumz commented on 2022-05-17 23:41 (UTC) (edited on 2022-05-18 01:23 (UTC) by twittumz)
The tarball on mirrors.sohu.com doesn't look like it's available anymore causing the pkg build to fail.
rafaelff commented on 2021-06-12 18:21 (UTC)
I adopted this package because ddnet depended on it, but it is no longer the case. Hence, I'm orphaning it.
rafaelff commented on 2019-04-10 16:08 (UTC)
Package adopted
rafaelff commented on 2019-04-10 16:07 (UTC)
This package can not be updated to a version higher than 1.1.9, because Oracle MySQL broke compatibility with MariaDB in newer versions. Please, do not flag this package as out-of-date unless you know a solution for this broken compatibility -- It should work as it is.
rafaelff commented on 2019-04-03 16:34 (UTC)
Oh, the source URL could also be changed to https://mirrors.sohu.com/mysql/Connector-C++/, without any other further change. Oracle really removed mysql-connector-c++-1.1.9.tar.gz from all official servers.
rafaelff commented on 2019-04-03 14:54 (UTC) (edited on 2019-04-03 14:55 (UTC) by rafaelff)
The source tarball from cdn.mysql.com seems to not be available anymore. Please use it from GitHub.
Consider applying the following changes:
- source url:
$pkgname-$pkgver.tar.gz::<https://github.com/mysql/mysql-connector-cpp/archive/>$pkgver.tar.gz
- source directory:
mysql-connector-cpp-${pkgver}/
- update checksums.
rafaelff commented on 2019-03-20 10:10 (UTC) (edited on 2019-03-20 10:11 (UTC) by rafaelff)
Don't have a problem per se with the current package state, except it is out-of-date. Also 'boost' should be in depends.
p.s. I forgot to specify that version 1.1.12 is not working. (fixed now)
patryk commented on 2019-03-20 06:59 (UTC)
Hi, I still use in my smarthome project that library and it works with newest mariadb. What kind of problem do you have?
Pinned Comments
rafaelff commented on 2019-04-10 16:07 (UTC)
This package can not be updated to a version higher than 1.1.9, because Oracle MySQL broke compatibility with MariaDB in newer versions. Please, do not flag this package as out-of-date unless you know a solution for this broken compatibility -- It should work as it is.