Summary: | dev-db/mysql++ fails to build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Gentoo Linux MySQL bugs team <mysql-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | hendrik, kalaxy, kristaps |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Build log
add #include <cstddef> for size_t Ebuild for mysql++-3.1.0 Patch for mysql++-3.1.0 ebuild |
Description
Diego Elio Pettenò (RETIRED)
2011-08-12 14:13:49 UTC
According to this debian bug (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=624945) upgrading mysql++ package to 3.1.0 may fix this issue. Created attachment 289207 [details, diff]
add #include <cstddef> for size_t
By the way, there is no need in sed script which replaces mysql.h -> mysql/mysql.h and mysql_version.h -> mysql/mysql_version.h. Besides it does not work (regular expression "#include <" does not match "# include <" in mysql++/common.h), there is a preprocessor option MYSQLPP_MYSQL_HEADERS_BURIED (since mysql++-2.3.1 according to Changelog) which does the same. Created attachment 338888 [details] Ebuild for mysql++-3.1.0 Here is an updated ebuild that fixes issues in this bug plus bug 421903, bug 440996 and bug 357105. Patch mentioned in ebuild to follow Created attachment 338890 [details, diff]
Patch for mysql++-3.1.0 ebuild
InCVS. Thanks to Brian Evans. |