Created attachment 31213 [details] output of 'emerge --info =dev-libs/poppler-0.12.1' I am using gentoo. While emerging poppler I get the following: >>> Unpacking source... >>> Unpacking poppler-0.12.1.tar.gz to /var/tmp/portage/dev-libs/poppler-0.12.1/work >>> Source unpacked in /var/tmp/portage/dev-libs/poppler-0.12.1/work >>> Preparing source in /var/tmp/portage/dev-libs/poppler-0.12.1/work/poppler-0.12.1 .. . * Running elibtoolize in: poppler-0.12.1 * Applying portage-2.2.patch ... * Applying sed-1.5.6.patch ... * Applying as-needed-2.2.6.patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-libs/poppler-0.12.1/work/poppler-0.12.1 ... * econf: updating poppler-0.12.1/config.guess with /usr/share/gnuconfig/config.guess * econf: updating poppler-0.12.1/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=powerpc-unknown-linux-gnu --host=powerpc-unknown-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-static --enable-poppler-qt4 --enable-poppler-glib --enable-xpdf-headers --enable-libjpeg --enable-libopenjpeg --enable-zlib --enable-splash-output --enable-abiword-output --enable-cms --disable-poppler-qt4 --disable-cairo-output checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes ... checking for inflate in -lz... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for opj_cio_open in -lopenjpeg... yes checking openjpeg.h usability... no checking openjpeg.h presence... yes configure: WARNING: openjpeg.h: present but cannot be compiled configure: WARNING: openjpeg.h: check for missing prerequisite headers? configure: WARNING: openjpeg.h: see the Autoconf documentation configure: WARNING: openjpeg.h: section "Present But Cannot Be Compiled" configure: WARNING: openjpeg.h: proceeding with the compiler's result configure: WARNING: ## ----------------------------------------------------- -------------------- ## configure: WARNING: ## Report this to https://bugs.freedesktop.org/enter_bug .cgi?product=poppler ## configure: WARNING: ## ------------------------------------------------------------------------- ## checking for openjpeg.h... no configure: error: "*** libopenjpeg headers not found ***" !!! Please attach the following file when seeking support: !!! /var/tmp/portage/dev-libs/poppler-0.12.1/work/poppler-0.12.1/config.log * ERROR: dev-libs/poppler-0.12.1 failed: * econf failed * * Call stack: * ebuild.sh, line 55: Called src_configure * environment, line 2815: Called poppler_src_configure * environment, line 2660: Called econf '--disable-static' '--enable-poppler-qt4' '--enable-poppler-glib' '--enable-xpdf-headers' '--enable-libjpeg' '--enable-libopenjpeg' '--enable-zlib' '--enable-splash-output' '--enable-abiword-output' '--enable-cms' '--disable-poppler-qt4' '--disable-cairo-output' * ebuild.sh, line 533: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of 'emerge --info =dev-libs/poppler-0.12.1', * the complete build log and the output of 'emerge -pqv =dev-libs/poppler-0.12.1'. * The complete build log is located at '/var/tmp/portage/dev-libs/poppler-0.12.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/poppler-0.12.1/temp/environment'. * S: '/var/tmp/portage/dev-libs/poppler-0.12.1/work/poppler-0.12.1' I have attached the output of 'emerge --info =dev-libs/poppler-0.12.1' because there seems to be potentially useful info there (along with a bunch of other stuff). I'm not familiar with bug repporting so any critisism is welcome.
Do you have openjpeg installed, can you attach the config.log?
Created attachment 31216 [details] config.log
I do have openjpeg 1.3 installed. Anything else?
Do you know how to compile from source? Would you be able of testing a patch?
I know how to compile from source, and, even though I've never done it I believe I can test a patch
Created attachment 31241 [details] New configure file At the end i realized i don't need to send a patch. I'm just sending the new configure file, uncompress poppler 0.12.1 tarball and overwrite the existing configure with the file of this attachment and let's see if it works for you.
sorry for the delay. The new configure file allows me to compile. so I'd say it works.
Ok, it'll be in poppler 0.12.3
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.