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"
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.