Summary: | ODBC backend not found | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrea Cerrito <is> |
Component: | Current packages | Assignee: | Ryan Phillips (RETIRED) <rphillips> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | axel.privat, centic, HowardZ1 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 35875 | ||
Bug Blocks: |
Description
Andrea Cerrito
2004-02-14 04:16:36 UTC
I get the same error. I have tried version 2.2.8 by copying the ebuild over... Does this solve the problem? No. sed: can't read ./intl/po2tbl.sed.in: No such file or directory checking for ODBC files... configure: error: ODBC backend not found !!! ERROR: dev-db/unixODBC-2.2.8 failed. !!! Function src_compile, Line 54, Exitcode 1 !!! (no error message) try: emerge sync emerge gettext emerge unixODBC This is probably a known gettext bug from what I can tell. The issue isn't with the sed error (although that is most likely a gettext issue). The issue is that the gODBCConfig configure process is looking for the libodbcinst.so files in /usr and /usr/local, yet they have not been installed. They are still sitting in var/tmp/portage/unixODBC-2.2.8/work/unixODBC-2.2.8/odbcinst/.libs. A quick workaround is to copy the odbcinst/.libs/* to /usr/libs and also copy the .libs dir to /usr/libs. Reemerge and it will work fine. After the emerge, you should be able to remove the libs you moved over. Sorry, that is that it is looking in /usr/lib and /usr/local/lib. Ooops. David: do you have any ideas on how to fix this within the ebuild? I am sure there is a parameter that can be passed in the ./configure process. I did see a --with-odbc= parameter that may work. Let me take a look. I kind of fixed it on mine and then just got rid of everything. I will take another look. According to the ebuild, the gnome USE flag is causing that section from being needed. To clarify, try with USE=-gnome emerge unixODBC by placing -gnome, then gnome is completely disabled. Is there anyway of fixing it with gnome enabled? Ok. Let me see what I can find out. I will look further into it in the morning. Ok. Since it is looking for a directory with a lib subdir, I can't see an easy way of correcting this with just passing a parameter to the configure process. It does install the libodbcinst files after installing. My suggestion is emerge with a USE=-gnome and let it install the files. Then do a USE=gnome afterwards and reemerge to pickup the gnome frontend. Please open a new bug if this problem persists. |