Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42711 - unixODBC doesn't build
Summary: unixODBC doesn't build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 35875
  Show dependency tree
 
Reported: 2004-02-24 00:00 UTC by Frank Hollenbach
Modified: 2004-04-18 12:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Hollenbach 2004-02-24 00:00:22 UTC
....
hecking for gettext in libc... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
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)



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



Expected Results:
Comment 1 David Klempner 2004-02-25 05:20:06 UTC
I get the same problem.

My emerge --info:

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.3-mm1)
=================================================================
System uname: 2.6.3-mm1 i686 AMD Athlon(tm) 
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer"
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/lib/mozilla/defaults/pref /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=athlon-xp -O2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache cvs sandbox"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow S3TC X Xaw3d aalib acpi alsa apache2 arts avi berkdb bonobo canna cdr cjk crypt cups curl dedicated dga directfb doc dvd emacs encode esd faad fbcon foomaticdb freewnn gdbm ggi gif gnome gpm gtk gtk2 gtkhtml guile imap imlib java jpeg kde kerberos ldap libg++ libwww mad mbox mikmod mmx motif mozcalendar mozilla mozsvg mpeg mpi mule music mysql ncurses nls objc odbc oggvorbis opengl oss pam pdflib perl plotutils png python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tiff truetype usb vanilla wmf x86 xinerama xml xml2 xmms xv zlib"
Comment 2 Ryan Phillips (RETIRED) gentoo-dev 2004-02-25 10:20:17 UTC
try USE="-gnome" emerge unixODBC
then emerge unixODBC
Comment 3 Frank Hollenbach 2004-02-28 06:43:56 UTC
I tested it with the mentioned : USE="-gnome" emerge unixODBC 
yes, it fix it. With this USE environment it was ok and build successfully.
krgds,
Frank
Comment 4 Scott Taylor (RETIRED) gentoo-dev 2004-03-03 13:35:18 UTC
Between the 2.2.6 and 2.2.6-r1 ebuilds, a configure option of "--with-odbc=${S}"
was omitted from the gODBCconfig section. Which just happens to be a section thats
not compiled without the gnome use flag... unixODBC-2.2.8 also lacks that line and
it too fails to compile with the gnome use flag. 2.2.6 (without -r1) did build fine.
Comment 5 Scott Taylor (RETIRED) gentoo-dev 2004-03-03 23:21:47 UTC
In fact, all of the ugly little hacks that were in 2.2.6 that mysteriously
vanished in the 2.2.6-r1 seem to have been there for a purpose. Someone should
smite the 2.2.6-r1 from portage. Then copy the 2.2.6-ebuild to 2.2.8 because those
same hacks are needed to get 2.2.8 to build with USE="gnome". And copy the
appropriate hack in the ${FILESDIR} as well.
Comment 6 Ryan Phillips (RETIRED) gentoo-dev 2004-03-29 10:30:17 UTC
Scott: 2.2.8 appears to have the patches/hacks in it as 2.2.6-r1... Am I missing something?
Comment 7 Scott Taylor (RETIRED) gentoo-dev 2004-03-29 11:15:11 UTC
Back when i commented on this bug, I copied the 2.2.6 (NOT-r1) to 2.2.8 in my
overlay. Whatever got put into -r1 broke it on all my systems. Rolling back to
what it was before -r1 did the trick for me. Can't say as i've tried the current
version as it exists in portage.
Comment 8 Ryan Phillips (RETIRED) gentoo-dev 2004-04-04 19:36:33 UTC
I've committed a fix for 2.2.8... Can everyone test it and see if it works for them.
Comment 9 Mathieu MILLET 2004-04-06 12:53:11 UTC
I have tested and it works !!

Good job, thanks.
Comment 10 Ryan Phillips (RETIRED) gentoo-dev 2004-04-18 12:20:21 UTC
I'll go ahead and close this bug... Please reopen if anything goes wrong.