[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cairo
Subject:    [cairo] Problem compiling Cairo..doesn't detect fontconfig/freetype
From:       "Divick Kishore" <divick.kishore () gmail ! com>
Date:       2006-12-20 10:55:02
Message-ID: 9232def20612200248r76ae6a80qb48d50c0947b6e2e () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,
    please help me compiling and installing Cairo on a Linux machine. When I
do a do ./configure --prefix=/home/myhome ...it exits with the folling
message:

configure: WARNING: Could not find libpng in the pkg-config search path
checking whether cairo's PNG backend could be enabled... no
configure: error: requested PNG backend could not be enabled

I also tried with

./configure --prefix=/home/myhome --disable-png

but it still complains

configure: error: Cairo requires at least one font backend.
                  Please install freetype and fontconfig, then try again:
                  http://freetype.org/  http://fontconfig.org/

I don't have admin / install privileges and thus I am trying to install it
in my home folder with the --prefix command line argument to configure. I
also compiled and installed both libpng and freetype and fontconfig in my
home directory and did set the LD_LIBRARY_PATH to /home/myhome/lib and
PKG_CONFIG_PATH
to /home/myhome/lib/pkgconfig but it's of no use.

Please help me with compilation of Cairo.

Thanks a ton,
Divick

[Attachment #5 (text/html)]

Hi,<br>&nbsp;&nbsp;&nbsp; please help me compiling and installing Cairo on a Linux \
machine. When I do a do <span style="font-weight: bold;">./configure \
--prefix=/home/myhome </span>...it exits with the folling message:<br><br><span \
                style="font-weight: bold;">
configure: WARNING: Could not find libpng in the pkg-config search path</span><br \
style="font-weight: bold;"><span style="font-weight: bold;">checking whether \
cairo&#39;s PNG backend could be enabled... no</span><br style="font-weight: bold;"> \
<span style="font-weight: bold;">configure: error: requested PNG backend could not be \
enabled</span><br style="font-weight: bold;"><br>I also tried with <br><br><span \
style="font-weight: bold;">./configure --prefix=/home/myhome --disable-png \
</span><br><br>but it still complains<br><br><span style="font-weight: \
bold;">configure: error: Cairo requires at least one font backend.</span><br \
style="font-weight: bold;"><span style="font-weight: \
bold;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
Please install freetype and fontconfig, then try again: </span><br \
style="font-weight: bold;"><span style="font-weight: \
bold;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
<a href="http://freetype.org/">http://freetype.org/</a>&nbsp; <a \
href="http://fontconfig.org/">http://fontconfig.org/</a></span><br \
style="font-weight: bold;"> <br>I don&#39;t have admin / install privileges and thus \
I am trying to install it in my home folder with the --prefix command line argument \
to configure. I also compiled and installed both libpng and freetype and fontconfig \
in my home directory and did set the  <span style="font-weight: \
bold;">LD_LIBRARY_PATH </span>to <span style="font-weight: \
bold;">/home/myhome/lib</span> and <span style="font-weight: bold;">PKG_CONFIG_PATH \
</span>to <span style="font-weight: bold;">/home/myhome/lib/pkgconfig  </span>but \
it&#39;s of no use.<br><br>Please help me with compilation of Cairo.<br><br>Thanks a \
ton,<br>Divick<br>



_______________________________________________
cairo mailing list
cairo@cairographics.org
http://cairographics.org/cgi-bin/mailman/listinfo/cairo

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic