Can you please upgrade libdbi and libdbi-drivers to the latest version (0.8.0 at the moment). I'm especially interedted in Sqlite3 support. It looks like libdbi-drivers 0.8.0 require libdbi 0.8.0 to compile properly (at least on x86 platform). Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r1, 2.6.13-ck1 i686) ================================================================= System uname: 2.6.13-ck1 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://130.89.175.1/pub/os/linux/gentoo ftp://mirror.nutsmaas.nl/gentoo/" LDFLAGS="-Wl,-O1 -Wl,--sort-common" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac aalib accessibility acpi adns alsa apache2 apm arts audiofile avi bash-completion bcmath berkdb bidi bindist bitmap-fonts bmp bzlib cdparanoia cdr cpdflib crypt cscope ctype cups curl curlwrappers dga dio directfb divx4linux dv dvb dvd dvdr dvdread eds encode evo exif expat fam fbcon fdftk ffmpeg fftw flac flatfile foomaticdb ftp gb gcj gd gdbm ggi gif ginac glut gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal iconv imagemagick imlib ipv6 java javascript jikes jpeg kde lcms lesstif libcaca libedit libgda libwww lm_sensors m17n-lib mad maildir matroska mbox mcal memlimit mhash mikmod mime mmap mmx mng mono motif mozilla mp3 mpeg mpi msession ncurses nls nptl offensive ogg oggvorbis openal opengl osc oss pam pcntl pcre pda pdflib perl pic plotutils png portaudio posix ppds profile python qt quicktime readline recode scanner sdl session sharedmem shorten simplexml skey slang slp sndfile snmp sockets socks5 sox speex spell sse sse2 ssl svg sysvipc szip tcltk tcpd test theora threads tidy tiff truetype truetype-fonts type1-fonts unicode usb v4l vcd videos vorbis wifi win32codecs wmf wxwindows xine xinerama xml xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid yaz zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS
in cvs.
Thanks a lot however I have one concern regarding Sqlite drivers.. As you might know Sqlite (read Sqlite 2.x) and Sqlite3 (read Sqlite 3.x) drivers are not compatible with each other. It means that they should be considered as separate DB engines in libdbi-drivers package. Of course Sqlite3 as a newer one has some advantages over Sqlite, so preferebly if you want to use Sqlite in general use Sqlite3. In the ebuild we can find that libdbi-drivers tries to compile both drivers if 'sqlite' USE flag is set. Unfortunately it only checks dependencies against Sqlite3 ( sqlite? (dev-db/sqlite >=dev-db/sqlite-3) ) and doesn't care about sqlite-2. In such case libdbi-drivers will fail to compile (missing sqlite-2 package). Preferebly I would see a solution (eg. sqlite3 (I)USE flag) which would allow people to install sqlite2 only / sqlite3 only / both sqlite versions and won't break backward compatibility (some people might not like that sqlite USE flag changed from Sqlite2 into Sqlite3 version...)
Ok, I've changed the ebuild so that it makes sure both slots of sqlite are installed.
Once we have 'sqlite3' USE flag can we make a distinction between Sqlite 2.x and 3.x in libdbi-drivers ?
Upgrade was done a long time ago. I did split out sqlite3 drivers now.