[poppler] Compiling Poppler on an Amazon EC2
Igor Slepchin
igor.slepchin at gmail.com
Tue Jun 5 15:45:21 PDT 2012
I'm guessing here but chances are you do not have the header files for
the preinstalled libraries on your system. On Fedora these are usually
packaged into *-devel packages, i.e., you probably need to do something like
"sudo yum install zlib-devel libcurl-devel cairo-devel"
etc.
On 06/05/2012 06:17 PM, James Ford wrote:
> Hi all,
>
> I've been trying to get Poppler working on an Amazon EC2 AMI - a Linux
> based, x64 version, but I'm stumbling - probably because I don't really
> understand what I'm doing!
>
> Here's what I've done so far - first, downloaded the repository to the
> directory /home/ec2-user/poppler, and then ran the following commands:
>
> * sudo yum install fontconfig-devel.x86_64 cairo.x86_64 qt47.x86_64
> poppler-glib.x86_64 glib2.x86_64 libjpeg-devel.x86_64
> libpng-devel.x86_64 libtiff-devel.x86_64 libcurl.x86_64 lcms.x86_64
> zlib.x86_64 openjpeg.x86_64
> * aclocal
> * autoreconf -f -i -Wall,no-obsolete
> * export CPPFLAGS='-g -O0'
> * ./autogen.sh
> * make
> * make install
>
> Unfortunately, this isn't working! The status message I get back after
> the ./autogen.sh command looks like this:
>
> Building poppler with support for:
> font configuration: fontconfig
> splash output: yes
> cairo output: no
> qt4 wrapper: no
> glib wrapper: no
> introspection: no
> cpp wrapper: yes
> use gtk-doc: no
> use libjpeg: yes
> use libpng: yes
> use libtiff: yes
> use zlib: no
> use libcurl: no
> use libopenjpeg: no
> use cms: yes
> command line utils: yes
>
> Warning: Using libopenjpeg is recommended
>
>
> It seems to only be picking up the libraries that weren't already
> installed on the machine, like libpng, libjpeg etc. Cairo, Zlib and
> things like that were already at their latest versions before I started
> anything, What I don't seem to be able to do is make the poppler
> installation know that those libraries are available.
>
> Any ideas how I can resolve this? How can I make poppler 'know' that the
> cairo libraries are available, for example?
>
> Thanks,
> - James
>
>
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler
More information about the poppler
mailing list