Official Alpine package suggestion: the POCO library
-
- Offline
- 1 year 7 months ago
- 2016-08-30
Hello everyone
How can I suggest to push a new package to the Alpine repository for this great C++ library POCO ?
http://pocoproject.org
I tried to compile and install it myself from the last release with a clean Alpine Docker image, using make, cmake, g++ from the Alpine repository... and I failed :(
POCO has his own makefile / cmake config, and I can't figure why the official way to compile it doesn't work.
I kept it simple, with default configuration and only some disabled features :
apk update apk add --no-cache cmake g++ make openssl openssl-dev wget https ://github.com/pocoproject/poco/archive/poco-1.7.5-release.tar.gz tar -zxvf poco-*.tar.gz cd poco-1.7.5-release cmake -DENABLE_DATA_MYSQL=OFF -DENABLE_DATA_ODBC=OFF -DENABLE_MONGODB=OFF -DENABLE_ZIP=OFF -DENABLE_PAGECOMPILER=OFF -DENABLE_PAGECOMPILER_FILE2PAGE=OFF make
Compilation will fail about the use of std::__cxx11::basic_string instead of std::string
It seems to be a problem with dual ABI : https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html
Thanks for your help, I really hope this package would be available for other people.