Re: Cairo cross compile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Sep 12, 2010 at 4:33 AM, Giriprasad Deviprasad <g_pr21@xxxxxxxx> wrote:
export LD_LIBRARY_PATH=/opt/asdlab/fontconfig/lib/:opt/asdlab/freetype/lib/:/opt/asdlab/atk/lib/:/opt/asdlab/glib/lib/:/opt/asdlab/pixman/lib/:/opt/asdlab/libxml2/lib/

Giri


How are you trying to compile Cairo?  It looks like fontconfig and freetype are both in a /opt/ directory, did you add these to your $LD_LIBRARY_PATH or are you passing in the directories with the -L option to the gcc compiler?

Danny G

Hmm... are you using pkg-config?  What are the outputs of

pkg-config --libs freetype2
pkg-config --libs fontconfig

This is the program that the configure script uses to find out if the installed needed programs are the correct versions and where exactly they reside.  This can be overridden by passing arguments into the configure script, but pkg-config is intended to make it a lot easier.

It looks like you're installing packages into /opt/asdlab/ in their own subdirectory, so you'll probably have to modify the $PKG_CONFIG_PATH environment variable to point to each package's lib directory.  Let me know if this helps at all

Danny G


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux