| Summary: | app-office/libreoffice-3.6.0.4[mysql] fails during configure phase | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Graham Murray <graham> |
| Component: | Current packages | Assignee: | Gentoo Office Team <office> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | fabio.coatti, matrix47, neurolabs.de, robink |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | config log file | ||
|
Description
Graham Murray
2012-08-08 20:01:15 UTC
Just a guess, but I think this is complaining because it wants a version number of 1.0.6 for dev-db/mysql-connector-c++, but the only available version of this for amd64 is 1.1.0-r1. At any rate the emerge fails for me too. configure:20015: x86_64-pc-linux-gnu-g++ -o conftest -march=native -O2 -pipe -ggdb -DBOOST_NO_0X_HDR_TYPEINDEX -Wl,-O1 -Wl,--as-needed -lmysqlcppconn conftest.cpp >&5 /chroot/build/portage/app-office/libreoffice-3.6.0.4/temp/cc18b3xO.o: In function `main': /chroot/build/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/conftest.cpp:41: undefined reference to `get_driver_instance' collect2: error: ld returned 1 exit status configure:20015: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "LibreOffice" | #define PACKAGE_TARNAME "libreoffice" | #define PACKAGE_VERSION "3.6" | #define PACKAGE_STRING "LibreOffice 3.6" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "http://documentfoundation.org/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_CUPS_H 1 | #define STDC_HEADERS 1 | #define SIZEOF_LONG 8 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_DOUBLE 8 | #define SIZEOF_VOIDP 8 | #define ALIGNOF_SHORT 2 | #define ALIGNOF_INT 4 | #define ALIGNOF_LONG 8 | #define ALIGNOF_DOUBLE 8 | #define HAVE_MALLOC 1 | #define HAVE_REALLOC 1 | #define HAVE_CALLOC 1 | #define HAVE_FREE 1 | #define HAVE_POSIX_FALLOCATE 1 | /* end confdefs.h. */ | | #include <mysql_driver.h> | | int main(int argc, char **argv) { | sql::Driver *driver; | driver = get_driver_instance(); | if (driver->getMajorVersion() > 1 || (driver->getMajorVersion() == 1 && driver->getMinorVersion() > 0) || (driver->getMajorVersion() == 1 && driver->getMinorVersion() == 0 && driver->getPatchVersion() >= 6)) | return 0; | else | return 1; | } | configure:20019: error: not suitable, we need >= 1.0.6 See also bug 423437, however I should mention that the patch attached to that bug seems not to work (first, it needs to be modified to work with the current ./configure script, and secondly, needs to apply *after* autoconf has run, which makes things hard because the ./configure script is going to end up different depending on who's running eautoreconf). Dunno if there's an easy fix for this, configure.in may need to be patched. *** This bug has been marked as a duplicate of bug 423437 *** |