Portage 2.0.54 (default-linux/x86/no-nptl, gcc-3.4.5, glibc-2.3.5-r3, 2.6.15-gentoo-r1 i586) ================================================================= System uname: 2.6.15-gentoo-r1 i586 AMD-K6(tm) 3D processor Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i386-pc-linux-gnu" CFLAGS="-march=k6 -O2 -pipe -fomit-frame-pointer" CHOST="i386-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k6 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" 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 adns apache apache2 apm arts avi berkdb bitmap-fonts bzip2 cgi cli crypt ctype cups curl db2 dba dri eds emboss encode expat fastbuild foomaticdb force-cgi-redirect fortran freetds ftp gd gdbm gif gpm gstreamer gtk2 iconv imlib ipv6 java javascript libg++ libwww mad memlimit mikmod mmx motif mp3 mpeg mysql mysqli ncurses netboot nls odbc ogg oss pam pcre pdflib perl php posix python quicktime readline samba session simplexml slp soap sockets spell spl ssl sybase symlink tcpd tidy tokenizer truetype truetype-fonts type1-fonts udev vorbis xml xml2 xmms xsl xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS
Sorry bout this but I accidentilly hit 'submit' before I had wanted so I didn't actually get the problem mentioned. I'm trying to emerge php on a server that a friend of mine and I are building. When we try to emerge php We get the following error: checking for IBM DB2 support... configure: error: ODBC header file '/home/db2inst1/sqllib/include/sqlcli1.h' not found! unixODBC-2.2.11 as well as liliodbc-3.51.2 have been installed but even a manual search ("locate sqlclil.h") finds nothing on the machine at all. I'm not sure if this means that there is a problem in the configure script or that there needs to be a package installed that isn't there yet.
checking for IBM DB2 support... configure: error: ODBC header file '/home/db2inst1/sqllib/include/sqlcli1.h' not found! We can't support commercial software that's not in portage, sorry; db2 use flag is provided for user convenience only, if you have problems, you need to fix it yourself or ask the vendor for support.
ok, thanks
(In reply to comment #3) > ok, thanks No problem. We just have no way to test such stuff. Feel free to reopen if you find a fix, have a patch etc. in case it's php fault (unlikely though, if header files are missing from db2).