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: !!! /Volumes/prefix-ppc-macos-native/var/tmp/portage/dev-libs/poppler-glib-0.12.1/work/poppler-0.12.1/config.log matt@hibook /Volumes/prefix-ppc-macos-native $ eix -s openjpeg [I] media-libs/openjpeg Available versions: (~)1.3-r2 {tools} Installed versions: 1.3-r2(17:07:50 12/11/09)(-tools) Homepage: http://www.openjpeg.org/ Description: An open-source JPEG 2000 codec written in C matt@hibook /Volumes/prefix-ppc-macos-native $ emerge --info Portage 2.2.00.15027-prefix (prefix/darwin/macos/10.4/ppc, gcc-4.2.1, unavailable, 8.11.0 Power Macintosh) ================================================================= System uname: Darwin-8.11.0-Power_Macintosh-powerpc-32bit Timestamp of tree: Sat, 12 Dec 2009 20:00:47 +0000 distcc 2.18.4-Apple.1 powerpc-apple-darwin8.0 (protocols 1 and 2) (default port 3632) [disabled] app-shells/bash: 4.0_p35 dev-lang/python: 2.6.4 dev-python/pycrypto: 2.1.0_beta1 dev-util/cmake: 2.6.4-r3 sys-devel/autoconf: 2.63-r01.1 sys-devel/automake: 1.10.2-r00.1, 1.11 sys-devel/gcc-config: 1.4.1-r00.2 sys-devel/libtool: 2.2.6b ACCEPT_KEYWORDS="ppc-macos ~ppc-macos" ACCEPT_LICENSE="* -@EULA" CBUILD="powerpc-apple-darwin8" CFLAGS="-02 -pipe -maltivec -mcpu=G4 -mtune=G4" CHOST="powerpc-apple-darwin8" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-02 -pipe -maltivec -mcpu=G4 -mtune=G4" DISTDIR="/Volumes/prefix-ppc-macos-native/usr/portage/distfiles" FEATURES="assume-digests collision-protect distlocks fixpackages news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="" LINGUAS="en en_US"
Created attachment 212819 [details] config.log
Hi, same problem on Gentoo linux running on powerbook g4 g4 ~ # emerge --info poppler Portage 2.2_rc60 (default/linux/powerpc/ppc32/10.0/desktop, gcc-4.4.2, glibc-2.10.1-r1, 2.6.32-gentoo ppc) ================================================================= System Settings ================================================================= System uname: Linux-2.6.32-gentoo-ppc-7447A,_altivec_supported-with-gentoo-2.0.1 Timestamp of tree: Mon, 21 Dec 2009 19:00:01 +0000 app-shells/bash: 4.0_p35 dev-java/java-config: 1.3.7-r1, 2.1.10 dev-lang/python: 2.5.4-r3, 2.6.4, 3.1.1-r1 dev-python/pycrypto: 2.1.0_beta1 dev-util/cmake: 2.8.0 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.5.3 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3-r1, 1.7.9-r1, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="ppc ~ppc" ACCEPT_LICENSE="* -@EULA" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O4 -mcpu=7450 -mtune=7450 -maltivec -mabi=altivec -pipe" CHOST="powerpc-unknown-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/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuil d /etc/sandbox.d /etc/splash /etc/terminfo" CXXFLAGS="-O4 -mcpu=7450 -mtune=7450 -maltivec -mabi=altivec -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="cs_CZ.UTF-8" LC_ALL="cs_CZ.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en cs" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" 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/layman/nouveau /usr/portage/local/layman/x11 /usr/portage/local/layman/kde-sunset /usr/portage/local/layman/java-overlay /usr/portage/local/layman/powerpc /usr/local/portage /usr/portage/local/cross" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="7zip X a52 aac aalib ace acl aiglx akode alsa altivec amarok amazon amr amrnb amrwb ao apm arts audiofile berkdb binary-drivers bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr chroot cli consolekit cracklib crypt css cups curl cxx daap dbus dc1394 dhcp dia dialup directfb divx dmx dnotify dri dts dv dvb dvd dvdnav dvdr dvdread emboss emovix enca encode exif fbcon ffmpeg firefox flac fortran ftp gdbm gif glib glibc-omitfp glitz gmedia gpm gstreamer gtk hal hfs iconv id3tag ieee1394 ipod jpeg kde kerberos lame laptop libcaca libnotify logitech-mouse loop-aes lzma lzo mad matroska mikmod mjpeg mng modules mp2 mp3 mp4 mpeg mplayer mudflap ncurses nls nptl nptlonly ogg openal opengl openmp pam pbbuttonsd pcre pdf perl phonon png pnm policykit ppc ppds pppd python qt3 qt3support qt4 quicktime radio rdp readline realmedia reflection rtc sdl session slang sndfile speex spell spl ssl startup-notification svg sysfs tcpd theora threads thunar tiff truetype unicode usb v4l v4l2 vcd vnc vorbis webkit wicd wifi wmp x264 xcb xcomposite xinerama xml xorg xulrunner xv xvid zeroconf zlib" ALSA_CARDS="powermac aoa aoa-soundbus aoa-soundbus-i2s aoa-fabric-layout aoa-onyx aoa-toonie aoa-tas" 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 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" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en cs" RUBY_TARGETS="ruby18" SANE_BACKENDS="nothing" USERLAND="GNU" VIDEO_CARDS="nv vga none fbdev nouveau" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= dev-libs/poppler-0.12.1 was built with the following: USE="abiword lcms poppler-data"
Created attachment 213764 [details] config.log on linux config.log on linux
Created attachment 213766 [details] build.log on linux build.log on linux
the problem here is that "bool" is unknown, which needs an additional include (stdbool.h off the top of my head), I thought I fixed this before. CC-ing maintainer, since it doesn't seem to be a Prefix arches only problem, but at least a PPC related problem.
right, I applied it to poppler itself: http://overlays.gentoo.org/proj/alt/browser/trunk/prefix-overlay/dev-libs/poppler/files/poppler-0.12.1-stdbool-darwin.patch
I applied the same patch to poppler-glib and marked ~ppc-macos. Won't close in case non-Prefix wants to take over the same patch or has a better fix.
Should be fixed with =app-text/poppler-0.12.3-r3, reopen if not
(In reply to comment #8) > Should be fixed with =app-text/poppler-0.12.3-r3, reopen if not > "Fixed" here is the switch from autotools to cmake, so this shouldn't be visible anymore. On the otherhand, see bug 305333.