As per comment on chm2pdf wiki located here at http://code.google.com/p/chm2pdf/wiki/HowToUse , the --enable-examples configure flag is required for chmlib to install necessary dependencies to chmlib. Emerging chmlib with "examples" useflag fixes the issue. Reproducible: Always Steps to Reproduce: 1. USE="-examples" emerge -1 dev-libs/chmlib 2. emerge chm2pdf 3. chm2pdf --book document.chm document.pdf Actual Results: sh: enum_chmLib : commande not found Something wrong happened when launching htmldoc. exit value: 256 Check if output exists or if it is good. Done. No pdf file has been created Expected Results: A pdf file generated by chm2pdf $ emerge --info Portage 2.1.9.30 (default/linux/amd64/10.0, gcc-4.5.2, glibc-2.12.2-r0, 2.6.37-gentoo x86_64) ================================================================= System uname: Linux-2.6.37-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_@_9200_@_2.67GHz-with-gentoo-2.0.1 Timestamp of tree: Mon, 10 Jan 2011 08:30:01 +0000 ccache version 3.1.4 [disabled] app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.6-r1, 2.7.1, 3.1.3 dev-util/ccache: 3.1.4 dev-util/cmake: 2.8.3-r1 sys-apps/baselayout: 2.0.1-r1 sys-apps/openrc: 0.6.8 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.5.2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=core2 -mcx16 -msahf -mpopcnt -msse4.2 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=generic -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=core2 -mcx16 -msahf -mpopcnt -msse4.2 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=generic -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news nodoc noinfo parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv" GENTOO_MIRRORS="ftp://ftp.proxad.net/mirrors/ftp.gentoo.org http://mirror.ovh.net/gentoo-distfiles http://gentoo.modulix.net/gentoo http://ibiblio.org/pub/Linux/distribution/gentoo" LANG="fr_FR.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="fr fr_FR" MAKEOPTS="-j10" PKGDIR="/usr/portage/packages" PORTAGE_COMPRESS="bzip2" PORTAGE_COMPRESS_FLAGS="-9" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/local /usr/portage/local/gentoo-china /usr/portage/local/gnome-live /usr/portage/local/lcd-filtering /usr/portage/local/mozilla" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="256-color 3dnow 3dnowext 7zip X a52 aac aio alsa amd64 apng archive aspell ass async automount bash-completion berkdb branding bzip2 cairo cblas-external cdda cddb cdparanoia cdr cdrtools cjk cli color-console consolekit cracklib crypt css cups cxx dbus device-mapper dga divx divx4linux djvu dri dts dv dvd dvdnav dvdr dvdread dvi eac3 enca encode exif faac faad fam fat ffmpeg fftw firefox flac fontconfig fortran frei0r fts3 fuse gdbm gdu ghcquickbuild gimp git glib gmplayer gnome gnome-keyring gnuplot gnutls gphoto2 graphite gs gsl gstreamer gtk gtk2 gtkstyle gudev hal hashstyle hscolour ice1712 iconv imagemagick java6 jpeg jpeg2k khtestbranch lapack lcdfilter lcms libass libffi libnotify libsamplerate live logrotate lto lzma lzo mad matroska md5sum midi mmx mmxext mng modules mozbranding mozdevelop mozdom mozpango mp2 mp3 mp4 mpeg mpi mplayer mudflap multilib natspec nautilus ncurses nemesi nls nptl nptlonly nsplugin nspluginwrapper nvidia ogg oggvorbis ogm opencl opengl openmp openssl pam pcf pch pcre pdf perl phonon png policykit pppd pulseaudio python qt3support quicktime rar readline regex replytolist rtmp rtsp samba session smbclient smp sortsub sqlite srt sse sse2 sse3 ssl ssse3 startup-notification subtitles subversion svg sysfs syslog theora threads threadsafe thunar thunderbird tiff toolkit-scroll-bars tremor truehd truetype udev unicode unit-mm usb vapigen vdpau video vim vim-pager vim-syntax visibility vorbis vpx webdav-neon wmf wmp x264 xcomposite xforms xft xklavier xml2 xmp xorg xscreensaver xulrunner xv xvid xvmc zero-penalty-hit zip zlib zvbi" ALSA_CARDS="ice1712 hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr fr_FR" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau nv nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS
Fixed
*** Bug 351528 has been marked as a duplicate of this bug. ***