LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   errors installing cairo (https://www.linuxquestions.org/questions/linux-newbie-8/errors-installing-cairo-672326/)

allyanncah 09-25-2008 11:31 AM

errors installing cairo
 
I'm trying to install Cairo, which is needed by Pango, which is needed by GTK+ 2.14.3.

I get this error message:
using CFLAGS:
-I/usr/local/include/libpng12 -I/usr/local/include/pixman-1 -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -fno-strict-aliasing

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

I've already installed freetype and fontconfig - what's going on here? Is there something else I need to do?

trickykid 09-25-2008 11:33 AM

Probably not finding it in the path when configuring. Are you installing by source I take it? How did you install freetype and fontconfig? What distribution are you running by chance? And what are you passing for the configure options if any? More details get better replies.

allyanncah 09-25-2008 11:37 AM

Ah, sorry, just frustrated at the moment...

I'm running Novell SLED 10.
Installing by source, freetype and fontconfig also installed via source literally ten minutes ago. I'm not sure what you mean by passing for configure options (which probably means I'm not passing any). I'm still a little backwards on the terminology for just about anything.

trickykid 09-25-2008 11:42 AM

I would imagine you could save yourself a lot of time by just installing the pre-compiled RPM's that SLED 10 probably already has available for download.

Most applications you compile from source you can pass options during ./configure step.

allyanncah 09-25-2008 12:12 PM

Still running into difficulties; I have pixman but the rpm is insisting that I don't have libpixman-1.so.0, which I'm pretty sure I do considering I installed pixman from source.

can't find the so.0 file itself, either

trickykid 09-25-2008 12:23 PM

Quote:

Originally Posted by allyanncah (Post 3291593)
Still running into difficulties; I have pixman but the rpm is insisting that I don't have libpixman-1.so.0, which I'm pretty sure I do considering I installed pixman from source.

can't find the so.0 file itself, either

Where is it installing the .so library files at? I'd imagine if you're installing by source, everything might be going into /usr/local/lib or the like where libraries might not be detected. What does your /etc/ld.so.conf include for the directories be included?

allyanncah 09-25-2008 05:06 PM

Actually, that is where it's going - I see the file here. How do I go about redirecting the appropriate programs to know where these files are?

I'm sorry, I'm very new at this ...


All times are GMT -5. The time now is 03:23 AM.