Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 41549

Summary: ODBC backend not found
Product: Gentoo Linux Reporter: Andrea Cerrito <is>
Component: Current packagesAssignee: 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
Same error as bug 35875. I'm open a new bug because people is asking to reopen the old one but I'm unable to do so.

Reproducible: Always
Steps to Reproduce:
1.emerge unixODBC
2.
3.

Actual Results:  
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.6-r1 failed.
!!! Function src_compile, Line 54, Exitcode 1
!!! (no error message)


Expected Results:  
Emerge successfully.

cerrito on GSM [13:10:06] root # emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040207-r0,
2.6.1-gentoo-r1)
=================================================================
System uname: 2.6.1-gentoo-r1 i686 Intel(R) Pentium(R) III Mobile CPU      1200MHz
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -mfpmath=sse -O2 -fPIC -pipe -fomit-frame-pointer -mmmx
-msse -falign-functions=32 -fforce-addr"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -mfpmath=sse -O2 -fPIC -pipe -fomit-frame-pointer
-mmmx -msse -falign-functions=32 -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://212.219.56.162/sites/www.ibiblio.org/gentoo/
http://194.83.57.2/sites/www.ibiblio.org/gentoo/ 
http://194.83.57.3/sites/www.ibiblio.org/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo 
ftp://ftp.flashnet.it/mirror/12/sunsite.unc.edu/Gentoo
ftp://ftp.unina.it/pub/linux/sunsite 
http://ibiblio.org/pub/Linux/ftp.edisontel.com/pub/Sunsite_Mirror
http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo 
ftp://sunsite.cnlab-switch.ch/mirror/gentoo
http://www.ibiblio.org/pub/Linux/distributions/gentoo 
http://gentoo.oregonstate.edu"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/portoverlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X X509 aalib acl acpi acpi4linux alsa apm arts artswrappersuid avi berkdb
bluetooth bonobo caps cdr chroot crypt cups dga diet directfb dv dvd encode
ethereal evo faad fbcon fbdev ffmpeg foomaticdb foreign-sysvinit freetype fs
gatos gd gdbm gif gnome gpm gtk gtk2 gtkhtml guile hostap-noplx icc idea
imagemagick imap imlib imlib2 innodb ipv6 irda irmc java javascript jikes jpeg
justify kde kerberos krb4 ldap libg++ libgda libwww linguas_it mad maildir
md5sum memlimit mikmod mmx mng motif mozilla moznocompose moznoirc moznomail
mpeg mpeg4 msn mule mysql nas ncurses net nls no-exercises nptl odbc offensive
oggvorbis opengl openssh operanom2 oscar pam parse-clocks pcap pcmcia pdflib
perl pic pie png pnp ppds python qt quicktime radeon readline ruby samba sasl
scanner sdl serial skey slang snmp socks5 speedo spell sse ssl svga tcltk tcpd
tetex tiff transcode truetype type1 usb v4l video_cards_radeon vim-with-x x86
xchattext xine xml2 xmms xosd xv xvid zlib"
Comment 1 Dominik Stadler (RETIRED) gentoo-dev 2004-02-19 14:27:34 UTC
I get the same error.
Comment 2 Ryan Phillips (RETIRED) gentoo-dev 2004-02-19 18:55:11 UTC
I have tried version 2.2.8 by copying the ebuild over... Does this solve the problem?
Comment 3 Andrea Cerrito 2004-02-21 09:42:03 UTC
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)
Comment 4 Ryan Phillips (RETIRED) gentoo-dev 2004-02-21 10:49:05 UTC
try:
emerge sync
emerge gettext
emerge unixODBC

This is probably a known gettext bug from what I can tell.
Comment 5 David Solomon 2004-02-21 13:38:52 UTC
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.

Comment 6 David Solomon 2004-02-21 13:41:35 UTC
Sorry, that is that it is looking in /usr/lib and /usr/local/lib.  Ooops.

Comment 7 Ryan Phillips (RETIRED) gentoo-dev 2004-02-21 15:07:40 UTC
David: do you have any ideas on how to fix this within the ebuild?
Comment 8 David Solomon 2004-02-21 15:14:13 UTC
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.
Comment 9 David Solomon 2004-02-21 15:25:27 UTC
According to the ebuild, the gnome USE flag is causing that section from being needed.  
Comment 10 David Solomon 2004-02-21 15:33:16 UTC
To clarify, try with USE=-gnome emerge unixODBC
Comment 11 Ryan Phillips (RETIRED) gentoo-dev 2004-02-21 15:48:53 UTC
by placing -gnome, then gnome is completely disabled.  Is there anyway of fixing it with gnome enabled?
Comment 12 David Solomon 2004-02-21 18:33:53 UTC
Ok.  Let me see what I can find out.  I will look further into it in the morning.
Comment 13 David Solomon 2004-02-22 06:00:06 UTC
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.

Comment 14 Ryan Phillips (RETIRED) gentoo-dev 2005-02-06 18:10:38 UTC
Please open a new bug if this problem persists.