LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem installing Pango-1.30.1 (https://www.linuxquestions.org/questions/linux-newbie-8/problem-installing-pango-1-30-1-a-4175428948/)

mark allyn 09-25-2012 08:38 AM

Problem installing Pango-1.30.1
 
Hello everyone,

I am trying to install Pango-1.30.1 on a Ubuntu 12.04 system. During the ./configure step I get a message as follows:
"Could not enable any of Freetype, X11, Cairo, or Win32 backends. Must have at least one backend to build Pango"

But, I have installed Freetype and X11 in /usr/lib. So, how do I inform the ./configure step about this?

BTW, I am building Pango as a dependency for Cairo, which in turn is a dependency for GTK+.

Thanks,
Mark Allyn

knudfl 09-25-2012 09:36 AM

Welcome to LQ.

Probably install the build prerequisites for pango :
sudo apt-get build-dep pango1.0

( http://packages.ubuntu.com/source/quantal/pango1.0
i.e. the red dots mark the build dependencies.)

.

mark allyn 09-25-2012 10:36 AM

Hello knudfl,

Thanks for the welcome, and thanks for the suggestion. I have not been building off .deb packages; I have been building off .tar.gz's, in this case procured from beyondlinuxfromscratch.org. As nearly as I can tell, these packages are identical in content (same serial numbers) as those issued by the developers. And, as far as I can tell, the Pango dependencies are satisfied.

It may be that for some reason I have to use .deb's. But, I would prefer not to because the .tar.gz's are fewer in number and I have no internet connectivity so it is helpful to have fewer disc-burning sessions (I do have connectivity via a windows box).

Regards,
Mark

mark allyn 09-25-2012 01:25 PM

Hi all,

Found the problem. I had mistakenly ./configured to --prefix=/sur rather --prefix=sur fontconfig, a dependency of Cairo. Once I installed fontconfig to /usr and reinstalled everything, Pango installed.

My bad.

Mark


All times are GMT -5. The time now is 10:36 AM.