ddccontrol-0.4.2 fails to build: configure error on amd64 for pci_alloc (with pci-utils installed) ... checking pci/pci.h usability... yes checking pci/pci.h presence... yes checking for pci/pci.h... yes checking for pci_alloc in -lpci... no configure: error: PCI utils library not found, please install pci-utils. !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /data1/portage/app-misc/ddccontrol-0.4.2/work/ddccontrol-0.4.2/config.log !!! ERROR: app-misc/ddccontrol-0.4.2 failed. Call stack: ebuild.sh, line 1611: Called dyn_compile ebuild.sh, line 968: Called qa_call 'src_compile' environment, line 3448: Called src_compile ddccontrol-0.4.2.ebuild, line 46: Called econf '--enable-doc' '--enable-gnome' '--enable-gnome-applet' '--enable-nls' ebuild.sh, line 574: Called die !!! econf failed eix pciutils [I] sys-apps/pciutils Available versions: 2.2.3-r2 (~)2.2.4 Installed versions: 2.2.4(12:52:16 01/21/07) Portage 2.1.2-r1 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.19-ge ntoo-r4 x86_64) ================================================================= System uname: 2.6.19-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Pro cessor 4200+ Gentoo Base System version 1.12.9 Timestamp of tree: Sun, 21 Jan 2007 06:50:01 +0000 ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.31-r3 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.19.2-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=athlon64 -msse3" CHOST="x86_64-pc-linux-gnu" CXXFLAGS="-O2 -pipe -march=athlon64 -msse3" DISTDIR="/data1/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox s fperms strict" LINGUAS="en de" MAKEOPTS="-j3" USE="X Xaw3d a52 aac aalib acl acpi alsa amd64 ansi apache2 apm arts athena audiofile bash-completion bcmath berkdb bitmap-fonts blas bzip2 cairo calendar caps cblas ccache cdparanoia cdr cdrom cgi cli clisp cracklib crypt css ctype cups curl cyrus dbus dga directfb dlloader doc dri dv dvb dvd dvdr dvdread eds emboss encode exif expat fbcon ffmpeg fftw firefox font-server foomaticdb fortran ftp gb gd gdbm gif glitz glut gnome gnutls gphoto2 gpm gs gstreamer gtk gtk2 guile hal iconv idn imagemagick imlib ipppd ipv6 isdnlog java javascript jpeg kde leim libcaca lm_sensors lzw lzw-tiff mad maildir matroska matrox mbox mcal mhash mikmod mime mozcalendar mozilla mp3 mpeg mule musicbrainz ncurses nis nls nptl nptlonly nsplugin numeric ogg openct opengl pam pango pcre pdf perl php png portaudio posix pppd python qt3 qt4 quicktime readline recode reflection samba sasl scanner sdl session slang sndfile sockets socks5 sox speedo speex spell spl ssl svg syslog sysvpc tcltk tcpd theora threads tiff tk tordns truetype truetype-fonts type1-fonts unicode urandom usb userlocales vim vim-with-x vorbis wireshark wmp xine xml xorg xosd xpm xv xvid zlib"
please attach the config.log as the emerge output noted. /data1/portage/app-misc/ddccontrol-0.4.2/work/ddccontrol-0.4.2/config.log
Created attachment 108719 [details] config.log as requested
Same for me on x86. Portage 2.1.2-r9 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.20-gentoo i686) ================================================================= System uname: 2.6.20-gentoo i686 Genuine Intel(R) CPU T2050 @ 1.60GHz Gentoo Base System release 1.12.9 Timestamp of tree: Sun, 11 Feb 2007 20:59:02 +0000 ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.31-r3 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.20 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://mirror.switch.ch/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/" LANG="de_DE@euro" LC_ALL="de_DE@euro" LINGUAS="de" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X akode alsa arts audiofile berkdb bitmap-fonts bzip2 cdparanoia cli cracklib crypt cups dbus dlloader dri dvd dvdr encode flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv imap isdnlog jpeg jpeg2k kde libg++ mad maildir midi mmx mmx2 mp3 mpeg musepack musicbrainz mysql ncurses nls nptl nptlonly ogg opengl pam pam-mysql pcre perl png povray ppds pppd python qt qt3 readline reflection sasl sdl session smime spl sqlite3 sse sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode v4l2 vorbis x86 xorg xpm xscreensaver xvid zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nv" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 109965 [details] My config.log The config.log for ddccontrol.
Compilation of ddccontrol-0.4.2 was successful after downgrading to (stable) pciutils-2.2.3-r2 (obviousely change in world profile, Feb 14 2007)
Emerging pciutils-2.2.4-r2 without the zlib flag also solves the problem.
Created attachment 111706 [details, diff] ddccontrol-0.4.2-pciutils-2.2.4-libz.patch Patch to ddccontrol-0.4.2 which fixes the problem... It's more a kludge than anything else, I think pciutils should include some pkg-config information...
Robin, mind if I fix this one, too?
wolf31o2: Go for it, but please test after you do. It's a bit finicky. (If you've got an LCD monitor, you can test easily).
in cvs.