I was trying to emerge foomatic-db-engine and I ran into the following error, which I have no idea on how to fix. . . . config.status: creating foomatic-cleanupdrivers config.status: creating foomatic-getpjloptions config.status: creating foomatic-addpjloptions config.status: creating foomatic-compiledb config.status: creating foomatic-fix-xml config.status: creating foomatic-nonumericalids config.status: creating foomatic-replaceoldprinterids config.status: creating foomatic-ppd-options config.status: creating foomatic-printermap-to-gimp-print-xml Finished configuring. Type 'make' to build the package then 'make install' to install it. chmod a+rx ./makeDefaults ( cd lib && /usr/bin/perl Makefile.PL verbose INSTALLDIRS=site ) ./makeDefaults i686-pc-linux-gnu-gcc -O2 -march=pentium-m -fomit-frame-pointer -ftracer -pipe -o foomatic-combo-xml foomatic-combo-xml.c i686-pc-linux-gnu-gcc -O2 -march=pentium-m -fomit-frame-pointer -ftracer -pipe -I/usr/include/libxml2 -L/usr/lib -lxml2 -lz -lm -o foomatic-perl-data foomatic-perl-data.c chmod a+rx ./makeMan ./makeMan Can't locate Defaults.pm in @INC (@INC contains: lib/Foomatic/ /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/i686-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.7/i686-linux-thread-multi /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.7/i686-linux-thread-multi /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i686-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/local/lib/site_perl .) at ./makeMan line 7. BEGIN failed--compilation aborted at ./makeMan line 7. make: *** [man] Error 2 make: *** Waiting for unfinished jobs.... if [ x = x--inplace ] ; then touch .testing-stamp ; fi ABSTRACT => q[Foomatic printer configuration library code] AUTHOR => q[Grant Taylor <gtaylor+pht@picante.com>] INSTALLDIRS => q[site] NAME => q[Foomatic] PREFIX => q[/usr] PREREQ_PM => { } Using PERL=/usr/bin/perl5.8.8 Writing Makefile for Foomatic !!! ERROR: net-print/foomatic-db-engine-3.0.20060601 failed. Call stack: ebuild.sh, line 1540: Called dyn_compile ebuild.sh, line 940: Called src_compile foomatic-db-engine-3.0.20060601.ebuild, line 32: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. My emerge --info is the following: Portage 2.1.1_pre1-r2 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.3.6-r4, 2.6.15-suspend2-r6 i686) ================================================================= System uname: 2.6.15-suspend2-r6 i686 Intel(R) Pentium(R) M processor 2.00GHz Gentoo Base System version 1.12.1 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] dev-lang/python: 2.3.5-r2, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.59d sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.15.92.0.2-r10, 2.16.1-r2 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -ftracer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -ftracer -pipe -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userpriv" GENTOO_MIRRORS="/usr/distfiles http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://mirror.iawnet.sandia.gov/pub/gentoo/ http://mirror.mcs.anl.gov/pub/gentoo/ ftp://mirror.mcs.anl.gov/pub/gentoo/ " LDFLAGS="-ldl -Wl,-O1 -Wl,--sort-common -s" MAKEOPTS="-j5" 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_trees/personal /usr/local/portage_trees/bmg-main /usr/local/portage_trees/portage-gentopia /usr/portage/local/layman/portage-xgl" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi aim alsa apache2 apm arts asf audiofile avi bash-completion berkdb bitmap-fonts bluetooth bonobo browserplugin bzip2 cairo calendar cdparanoia cdr clamav cli cpdflib crypt css cups dbus dio directfb divx4linux dri dv dvb dvd dvdr dvdread dynagraph eds emboss encode esd evo exif expat fam fbcon fbsplash ffmpeg fftw foomaticdb fortran ftp gd gdbm gif glitz gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal icq ieee1394 imagemagick imap imlib ipv6 isdnlog jabber java javascript jpeg kde kerberos lapack lcms ldap libedit libg++ libvisual libwww lm_sensors mad mbox mikmod mime mmap mmx mng motif mozilla mp3 mpeg mpi msn ncurses nls nptl nptlonly nsplugin ofx ogg oggvorbis openal opengl oscar oss pam pcmcia pcre pda pdflib perl plotutils png ppds pppd python qt qt3 qt4 quicktime readline reflection samba sasl sdl session sndfile sox speex spell spl sse sse2 ssl subversion svg tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev usb v4l vcd vorbis wifi win32codecs wmf x86 xine xinerama xml xml2 xorg xosd xpm xprint xv yahoo zeroconf zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_joystick input_devices_synaptics kernel_linux userland_GNU video_cards_nvidia video_cards_vesa video_cards_nv" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
I get the same error, Defaults.pm not found ~ # equery b Defaults.pm [ Searching for file(s) Defaults.pm in *... ] net-print/foomatic-db-engine-3.0.2 (/usr/lib/perl5/vendor_perl/5.8.7/Foomatic/Defaults.pm) ~ # emerge --info Portage 2.1.1_pre2-r6 (default-linux/x86/2006.0, gcc-3.4.6/vanilla, glibc-2.4-r3, 2.6.17-gentoo-lucienne i686) ================================================================= System uname: 2.6.17-gentoo-lucienne i686 AMD Athlon(tm) XP 2700+ Gentoo Base System version 1.12.1 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r1 dev-util/confcache: 0.4.2-r1 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -pipe -march=athlon-xp -maccumulate-outgoing-args -mfpmath=sse -momit-leaf-frame-pointer -mtune=athlon-xp -fexpensive-optimizations -fmove-all-movables -fomit-frame-pointer -fprefetch-loop-arrays -frerun-cse-after-loop -frerun-loop-opt " CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/init.d /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -march=athlon-xp -maccumulate-outgoing-args -mfpmath=sse -momit-leaf-frame-pointer -mtune=athlon-xp -fexpensive-optimizations -fmove-all-movables -fomit-frame-pointer -fprefetch-loop-arrays -frerun-cse-after-loop -frerun-loop-opt -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical" FEATURES="autoconfig ccache distcc distlocks fixpackages metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://mirror.pacific.net.au/linux/Gentoo/ http://mirror.isp.net.au/ftp/pub/gentoo/ http://mirror.aarnet.edu.au/pub/gentoo/" LINGUAS="en en_AU" MAKEOPTS="-j1" PKGDIR="/usr/portage/distfiles/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/overlays/zugaina-portage /usr/local/overlays/ebuildexchange-portage /usr/local/overlays/gentopia-portage /usr/local/overlays/bmg-portage /usr/local/overlays/gentoode-portage /usr/local/overlays/ecatmurs-portage /usr/local/overlays/erazor-portage /usr/local/overlays/fantoo-portage /usr/local/overlays/gentooscience-portage /usr/local/overlays/gentoo-webapps-portage /usr/local/overlays/kpex-media-portage /usr/local/overlays/mpd-portage /usr/local/overlays/xgl-coffee-portage /usr/local/overlays/fluid-portage /usr/local/portage" SYNC="rsync://mirror.isp.net.au/gentoo-portage" USE="x86 3dnow 3dnowext 3ds S3TC X X509 Xaw3d a52 aac aalib acpi adns alsa amr apm asf athena audiofile avi bash-completion berkdb big-tables bitmap-fonts bri browserplugin bzip2 bzlib cairo caps cdda cddb cdio cdparanoia cdr cdrom cli clock-screen cpudetection crypt cscope css cups curl custom-cflags dba dbx dga directfb divx4linux dlloader dnd dri dts dv dvb dvd dvdnav dvdr dvdread ecaggressive ecc eckb1 ecmark ecmark2 ecmark3 ecmg2 ecsteve ecsteve2 emboss encode erandom exif expat exscalibar extensions faad fame fax fbcon ffmpeg flac foomaticdb fping ftp fuse gd gdbm ggi gif gimp glibc-omitfp gmp gnutls gphoto2 gpm graphviz gs gstreamer gtk gtk2 guile h323 hardware-carrier hpn iconv id3 idn ieee1394 ifp imagemagick imlib inifile ipod ipv6 isdnlog ithreads jack jack-tmpfs java javascript jbig jce jpeg jpeg2k kde kdeenablefinal kdexdeltas key-screen kipi kqemu ladcca lame latin1 libcaca libg++ libvisual libwww linuxthreads-tls lirc live lm_sensors logitech-mouse logrotate lua lzo mailwrapper mapeditor matroska mbrola md5sum memlimit mhash mikmod mime mjpeg mmap mmx mmxext mng modplug motif mouse mozdevelop mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mplayer music musicbrainz mysql mysqlfriends mysqli mythtv ncurses nethack netjack network nls no-old-linux nocd nodrm nowin nptl nptlonly nsplugin nvidia offensive ogg on-the-fly-crypt openal openexr opengl pam pam_chroot pam_console pam_timestamp pcre pdf pdflib perl perlsuid php physfs player plib png posix povray ppds pppd prelude pri pvm python qmax qt qt3 quicktime rar raw-mode rdesktop readline real reflection remix resperl rogue rtc rtsp ruby samba scanner scenarios screen sdl search-screen session sharedext sharedmem shout silc slang slp soap sockets socks5 speex spl sql sse ssl stream subtitles subversion svg sysfs syslog tcltk tcpd teamarena tetex theora threads tiff timidity tokenizer toolbar transmitter transparent-proxy truetype truetype-fonts type1-fonts ucs2 udev unicode upnp urandom usb userlocales utf8 v4l v4l2 vcd vhosts vim-with-x visualization vlm vmdbmysql voice vorbis vorbis-psy watchdog wifi win32codecs winbind wma wmf wozxmlterm wxgtk1 x264 xanim xatrix xcomposite xine xml xml2 xmlrpc xorg xosd xpm xprint xrandr xsl xv xvid yv12 zaptel zeroconf zip zlib zvbi elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en linguas_en_AU lirc_devices_com1 lirc_devices_com2 lirc_devices_dsp lirc_devices_lpt1 lirc_devices_parallel lirc_devices_serial lirc_devices_udp lirc_devices_userspace userland_GNU video_cards_nvidia video_cards_fbdev video_cards_vesa" Unset: CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
If I change: use 'lib/Foomatic/'; to: use 'lib/Foomatic'; in makeMan, it installs just fine. only difference is losing that trailing space.
When I turned off parallel make by using MAKEOPTS="-j1", it build for me.
Created attachment 91897 [details, diff] adds missing Makefile dependency This patch adds the missing Makefile dependency. I have also sent this upstream as well.
Upstream report: http://www.linuxprinting.org/forums.cgi?group=linuxprinting.foomatic.devel;article=2327
thanks, I have added todays 0720 snapshot which includes the fix!