LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 08-27-2010, 07:35 AM   #1
murtuzanaqvi
LQ Newbie
 
Registered: Aug 2010
Location: Bangalore
Distribution: RHEL 4
Posts: 18

Rep: Reputation: 0
Question Installing pango with cairo support, so pangocairo is available


Hi,

My Distro is RHEL4 .
I am trying to install pango-1.28.1 with cairo support. I have already installed cairo-1.8.10, fontconfig-2.4.2 and freetype-2.4.2.
These installation were done without giving any additional parameter with ./configure
All are installed from Desktop folder.
On doing a make check for cairo, the report says that 121 of 200 tests failed.
Then i do a make install.
While doing ./configure for pango the following message is displayed:

checking for CAIRO... yes
checking which cairo font backends could be used... none
configure: Disabling cairo support
checking for GLIB... yes
checking for LIBTHAI... no

As pango is not installing with cairo support so i do not have a pangocairo file required be most recent browsers. Which is blocking me from upgrading to latest browser.
 
Old 08-27-2010, 08:03 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950
Are you doing this all from source? If you're installing through a package manager, have you installed all the development files for the packages in question as well?

Are there any configure options available? Usually ./configure --help shows what's available.

RHEL4 is rather out-of-date. Any chance of upgrading it?

And a link to your other post on the subject:
http://www.linuxquestions.org/questi...pports-828799/

Last edited by David the H.; 08-27-2010 at 08:08 AM. Reason: added questions
 
Old 08-27-2010, 08:09 AM   #3
murtuzanaqvi
LQ Newbie
 
Registered: Aug 2010
Location: Bangalore
Distribution: RHEL 4
Posts: 18

Original Poster
Rep: Reputation: 0
development files ?????

i installed the following packages:
glib-2.24.2.tar.gz,
fontconfig-2.4.2.tar.gz,
freetype-2.4.2.tar.gz,
pkg-config-0.20.tar.gz,
pixman-0.19.2.tar.gz,
poppler-0.14.2.tar.gz,
cairo-1.8.10.tar.gz,
pango-1.28.1.tar.gz.

all were installed with
#./configure
#make
#make check
#make install
 
Old 08-27-2010, 08:21 AM   #4
murtuzanaqvi
LQ Newbie
 
Registered: Aug 2010
Location: Bangalore
Distribution: RHEL 4
Posts: 18

Original Poster
Rep: Reputation: 0
I am doin all the installation from source.
Upgrade is not an option for now.
 
Old 08-27-2010, 08:41 AM   #5
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950
Most distributions like to separate out the library headers into separate packages. It often causes unfamiliar users problems when compiling. But I guess that's not your issue.

By the way, I see that there have been at least a few previous threads on this subject. A few of them are listed at the bottom of the page. Have you used the search function here yet? Or Google?
 
Old 08-27-2010, 08:41 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,272

Rep: Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663
RH EL4 : Compatibility libraries for a newer firefox are available :
evolution28-glib2-2.12.3-6.el4
evolution28-atk-1.12.2-4.el4
evolution28-cairo-1.2.4-6.el4
evolution28-gtk2-2.10.4-22.el4
evolution28-pango-1.14.9-11.el4_7
... Please read this LQ thread :
http://www.linuxquestions.org/questi...-steps-743908/
...
 
Old 08-30-2010, 05:02 AM   #7
murtuzanaqvi
LQ Newbie
 
Registered: Aug 2010
Location: Bangalore
Distribution: RHEL 4
Posts: 18

Original Poster
Rep: Reputation: 0
Hi,

I installed all these packages from centOS.
After installing all these packages, i downloaded a rpm for installing firefox.
The rpm package did not install, it said that libnssutil3.so, nss nspr are missing packages.
I downloaded nss and nspr RPMs also from centOS but they also did not install, failed due to package dependency.
Kindly suggest the way forward.
 
Old 08-30-2010, 05:10 AM   #8
murtuzanaqvi
LQ Newbie
 
Registered: Aug 2010
Location: Bangalore
Distribution: RHEL 4
Posts: 18

Original Poster
Rep: Reputation: 0
I have set the path in .bashrc as follows:
[root@localhost firefox]# echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/evolution28/lib:/root/bin:/usr/evolution28/lib

[root@localhost firefox]# locate libpangocairo-1.0.so.0
/usr/evolution28/lib/libpangocairo-1.0.so.0
/usr/evolution28/lib/libpangocairo-1.0.so.0.1400.9

On running the updater script that is provided in the tarball download, there is an error saying
[root@localhost firefox]# ./updater
./updater: error while loading shared libraries: libpangocairo-1.0.so.0: cannot open shared object file: No such file or directory

Why is it not able to locate the library when there is a path available for it.
I am doin these operations as a root user, have also tried these as local user.
 
Old 08-30-2010, 07:24 AM   #9
murtuzanaqvi
LQ Newbie
 
Registered: Aug 2010
Location: Bangalore
Distribution: RHEL 4
Posts: 18

Original Poster
Rep: Reputation: 0
Hi,
When i'm doing a "rpm -q mozilla-nspr"
mozilla-nspr-1.7.3-18.EL4

But when i try to install nspr with "nspr-4.7.1-1.el4.i386.rpm", also downloaded from centOS.
It says that following packages can not be found:
mozilla-nspr ('mozilla-nss','1.7.3','18.EL4')
mozilla-nspr ('mozilla','1.7.3','18.EL4')
mozilla-nspr ('mozilla-nspr-devel','1.7.3','18.EL4')

I am not sure, why, if the mozilla-nspr package is already installed, the rpm is not able to find it.
Also when i tried to upgrade with another older version of mozilla-nspr, there was a message saying that a newer version of it is already installed.
 
Old 09-01-2010, 07:12 AM   #10
murtuzanaqvi
LQ Newbie
 
Registered: Aug 2010
Location: Bangalore
Distribution: RHEL 4
Posts: 18

Original Poster
Rep: Reputation: 0
I'm consolidating the solution to the problem i was facing:
As i do not have support for RHEL, so downloaded and installed RPMs
-evolution28-glib2-2.12.3-6.el4.i386.rpm
-evolution28-atk-1.12.2-4.el4.i386.rpm
-evolution28-cairo-1.2.4-6.el4.i386.rpm
from: http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/

-evolution28-gtk2-2.10.4-25.el4.i386.rpm
-evolution28-pango-1.14.9-11.el4_7.i386.rpm
from: http://mirror.centos.org/centos/4/updates/i386/RPMS/

Then followed comment #7 in the thread below:
http://www.linuxquestions.org/questi...ux-es4-737680/

Untarred the latest version of firefox i.e firefox3.6.8

changed .bashrc file in my home directory to incorporate:
export LD_LIBRARY_PATH=/usr/evolution28/lib:/usr/local/lib

Did a ./firefox from the directory in which it was untarred.
Viola!!!! firefox is up and running.

Thanks to all those who contributed to making this possible..

Last edited by murtuzanaqvi; 09-01-2010 at 07:14 AM.
 
Old 09-01-2010, 11:06 AM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,272

Rep: Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663
Quote:
changed .bashrc file in my home directory to incorporate:
export LD_LIBRARY_PATH=/usr/evolution28/lib:/usr/local/lib
May not be a good idea. If e.g. Gnome opens with the new versions
of gtk, etc., it will not work correctly.

The CentOS 4 / RH EL4 way with the libraries is :
Point to the libraries, only when starting firefox (or evolution28).

It can be done by adding the export LD_ etc. in the 'firefox/firefox' start script :
Quote:
50 #uncomment for debugging
51 #set -x
52
53 export LD_LIBRARY_PATH=/usr/evolution28/lib/
54
55 moz_libdir=/usr/local/lib/firefox-3.5.6
The example is from firefox 3.5.6 : line 53 is added.
..

Last edited by knudfl; 09-01-2010 at 11:09 AM.
 
  


Reply

Tags
firefox


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem: Upgrading Firefox, it requires pangocairo, which requires pango with cairo supports murtuzanaqvi Linux - Newbie 1 08-27-2010 07:58 AM
Compiling troubles with pango and cairo? Cotobear Slackware 1 03-19-2008 03:49 AM
font problem after gtk, pango and cairo update Lord_Grave Linux - Software 0 06-03-2007 06:21 AM
Error build pango with cairo support tuanphan Linux - Software 1 02-13-2007 05:54 PM
Text unrecognized after Pango and Cairo updated Peronthious Linux - Software 1 09-09-2006 04:42 AM


All times are GMT -5. The time now is 07:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration