[poppler] Compiling Poppler on an Amazon EC2

Akash Agrawal akash.agrawal84 at gmail.com
Tue Jun 5 22:13:41 PDT 2012


I do install poppler on ubuntu EC2 instances almost every week and have
found no problem till now.

I believe that just installing libopenjpeg will solve your problem.

Regards,
Akash Agrawal
http://tech-queries.blogspot.com/


On Wed, Jun 6, 2012 at 4:15 AM, Igor Slepchin <igor.slepchin at gmail.com>wrote:

> 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<http://lists.freedesktop.org/mailman/listinfo/poppler>
>>
>
> ______________________________**_________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/**mailman/listinfo/poppler<http://lists.freedesktop.org/mailman/listinfo/poppler>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20120606/fa103d03/attachment.html>


More information about the poppler mailing list