LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-10-2012, 01:23 AM   #1
anwar5006
LQ Newbie
 
Registered: Jan 2012
Posts: 20

Rep: Reputation: Disabled
Unable to install Firefox


Hi

I am facing issues with installation of firefox-3.0.5.tar.bz2 on RedHat 4

Machine details

[root@hostanme wmeadmin]# uname -a
Linux hostname 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:58:04 EST 2007 i686 i686 i386 GNU/Linux
[root@hostname wmeadmin]#

Steps followed:-

1) Untarred the file

bunzip2 -c firefox-3.0.5.tar.bz2|tar xf -

2) launched firefox via X Manager

/home/wmeadmin/firefox/firefox &

Getting error as:-

(firefox-bin:28870): GLib-GObject-Warning **: specified class size for type 'PangoXftFontMap' is smaller than the parent type' s 'PangoFcFontMap' class size

(firefox-bin:28870):GLib-GObject-CRITICAL **: g_object_new: assertion 'G_TYPE_IS_OBJECT (object_type)' failed /home/wmeadmin/firefox/crashreporter: error while

loading shared libraries: libpangocairo-1.0.so.0: cannot open shared object file: No such file or directory


Please help me to solve this problem
 
Old 01-10-2012, 01:34 AM   #2
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,194
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
I don't see any attempt to install the firefox after unzipping the file?

follow this link
or you can try the default rpm package of firefox from repository
Code:
#yum install firefox
 
Old 01-10-2012, 02:04 AM   #3
anwar5006
LQ Newbie
 
Registered: Jan 2012
Posts: 20

Original Poster
Rep: Reputation: Disabled
1) As far as yum cmd

[root@CSCWMEALD176V wmeadmin]# man yum
No manual entry for yum
[root@CSCWMEALD176V wmeadmin]#


2) link which you have provide is also the same, we are just untarring the file, even i did.

Just to confirm i followed all the steps mention in that link, but still facing the same error :-(

(firefox-bin:28870): GLib-GObject-Warning **: specified class size for type 'PangoXftFontMap' is smaller than the parent type' s 'PangoFcFontMap' class size

(firefox-bin:28870):GLib-GObject-CRITICAL **: g_object_new: assertion 'G_TYPE_IS_OBJECT (object_type)' failed /home/wmeadmin/firefox/crashreporter: error while loading shared libraries: libpangocairo-1.0.so.0: cannot open shared object file: No such file or directory



Not only this browser, i wanted to launch any browser either seamonkey or firefox or anything

Please guide me.
 
Old 01-10-2012, 02:05 AM   #4
anwar5006
LQ Newbie
 
Registered: Jan 2012
Posts: 20

Original Poster
Rep: Reputation: Disabled
Deepak thanks for the quick response. Still issue is not resolved.

Please guide me
 
Old 01-10-2012, 03:18 AM   #5
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,194
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
well I hit a try on my machine RHEL 5

simply downloaded firefox from its official web site
Code:
wget http://mozilla.cdn.leaseweb.com/firefox/releases/9.0.1/linux-i686/en-US/firefox-9.0.1.tar.bz2
Code:
#tar -xjvf firefox-9.0.1.tar.bz2
Code:
#cd firefox-9.0.1
#./firefox <------on GUI
and it is working fine

why don't you download the latest package instead of firefox-3.0.5.tar.bz2
 
Old 01-10-2012, 03:35 AM   #6
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,194
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
go to the specified location of missing library and give a check

Code:
#cd /usr/lib/libpangocairo-1.0.so.0
and if it is not there download and try installing the rpm

http://rpmfind.net/linux/rpm2html/se...cairo-1.0.so.0
 
Old 01-10-2012, 10:43 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Firefox 3.0 : Latest is ( I think ) : 3.0.19.

All the dependencies are available in the el4 evolution28* packages.
( # yum install evolution28* ).
References and links here, post #4 :
http://www.linuxquestions.org/questi...-0-a-873730/#4

..
 
Old 01-12-2012, 12:08 AM   #8
anwar5006
LQ Newbie
 
Registered: Jan 2012
Posts: 20

Original Poster
Rep: Reputation: Disabled
Hi All,

thanks for your response.

but my issue is not resolved

Dependencies of packages goes like this

1) Firefox

GTK+ 2.10 - ( dependencies of Firefox ) - Not completed

dependencies of GTK+ 2.12 :-

GdkPixbuf library ( dependency - glib2.27 and greater )- Not completed

Glib 2.30 ( dependency - libffi 3.0.0 ) - Not completed

libffi 3.0.6 - completed

while installing Glib 2.30, we know that we runs 3 cmds ./configure , make and make install

For Glib 2.30

./ configure - completed with No errors

make - Faced errors like

make[4]: Leaving directory `/home/wmeadmin/glib-2.30.0/gio'
Making all in tests
make[4]: Entering directory `/home/wmeadmin/glib-2.30.0/gio/tests'
make all-recursive
make[5]: Entering directory `/home/wmeadmin/glib-2.30.0/gio/tests'
Making all in gdbus-object-manager-example
make[6]: Entering directory `/home/wmeadmin/glib-2.30.0/gio/tests/gdbus-object-manager-example'
GEN gdbus-example-objectmanager-generated-org.gtk.GDBus.Example.ObjectManager.Animal.xml
/usr/bin/env: python2.5: No such file or directory
make[6]: *** [gdbus-example-objectmanager-generated-org.gtk.GDBus.Example.ObjectManager.Animal.xml] Error 127
make[6]: Leaving directory `/home/wmeadmin/glib-2.30.0/gio/tests/gdbus-object-manager-example'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/wmeadmin/glib-2.30.0/gio/tests'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/wmeadmin/glib-2.30.0/gio/tests'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/wmeadmin/glib-2.30.0/gio'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/wmeadmin/glib-2.30.0/gio'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/wmeadmin/glib-2.30.0'
make: *** [all] Error 2
[root@CSCWMEALD176V glib-2.30.0]#



can anyone guide to proceed further. Pls
 
Old 01-12-2012, 12:25 AM   #9
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,194
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
Which version of firefox are you trying to install with this method?

have you tried installing the default rpm package of firefox?
 
Old 01-12-2012, 12:28 AM   #10
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora
Posts: 1,832

Rep: Reputation: 259Reputation: 259Reputation: 259
I'm on debian right now, but try to install libpython2.5 or python2.5, or even python, or make a link:

# ln -s /usr/include/python2.x<space>/usr/include/python2.5

where "x" is the minor of the version installed.
 
Old 01-12-2012, 01:49 AM   #11
anwar5006
LQ Newbie
 
Registered: Jan 2012
Posts: 20

Original Poster
Rep: Reputation: Disabled
Hi all,

Deepak - am trying to install firefix.9.0.tar.gz

i tried for rpm packages related firefox, it is much complicated - dependency too high, so planned to proceed installation with tar files.

Awesomemachine - I installed python 3.2.2 got successfully installed but under /usr/include was able to find only the older version of python file (i.e)

[root@hostname bin]# cd /usr/include
[root@hostname include]# ls -ltr | grep py
drwxr-xr-x 2 root root 4096 Jan 25 2011 python2.3
[root@hostname include]#

I would like to share few more things

1 ) Firefox 9.0.0.tar.gz ( dependency - GTK )

1.1 )GTK+ 2.12 - ( dependencies of Firefox )

dependencies of GTK+ 2.12 :-

1.1.1 ) GdkPixbuf library ( dependency - glib2.27 and greater )

1.1.2 ) Glib 2.30 ( dependency - libffi 3.0.0 ) -

1.1.2.1 ) libffi 3.0.6 - completed

1.1.3 ) Pango

1.1.4 ) ATK

1.1.5 ) gobject-introspection-1.31.0.tar.bz2 ( dependency - python )

1.1.5.1 ) python 3.2.2 - Completed
 
Old 01-12-2012, 02:08 AM   #12
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,194
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
but for me I simply downloaded the tar file of firefox.

unzipped the directory and

Code:
./firefox
that's it..But the thing is I am using Red hat 5 and I am not sure if you need to run make or configure for installing firefox?
 
Old 01-12-2012, 02:29 AM   #13
anwar5006
LQ Newbie
 
Registered: Jan 2012
Posts: 20

Original Poster
Rep: Reputation: Disabled
Using Redhat 4, machine which am working is a remote machine. I connect to via putty.

In case if i am required to launch some graphical user interphase, i use X manager.
 
Old 01-12-2012, 02:31 AM   #14
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,194
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
So try on GUI
you can configure VNC and use VNC viewer which I prefer in my case to get a graphical interface.

Because I don't think there is much installation to be done with firefox

Try in GUI and please tell if you still get any error
 
Old 01-12-2012, 02:51 AM   #15
anwar5006
LQ Newbie
 
Registered: Jan 2012
Posts: 20

Original Poster
Rep: Reputation: Disabled
yes deepak you are right.

let me explain the step i followed

Firefox

gunzip and untarred firefox.tar.gz and executed the cmd ./firefox

Error Message:-

We are sorry this application requires a version of the GTK+ library that is not installed on your computer.
You have GTK + 2.4. This application requires GTK+2.10 or newer.
please upgrade your GTK+ library if you wish to use this application.

solution:- GTK 2.10 or greater than that must be installed.

GTK+2.12

gunzipped and untarred GTK+ , got dependencies issue

dependencies:-

GdkPixbuf library ( dependency - glib2.27 and greater ) - yet to installed

Glib 2.30 ( dependency - libffi 3.0.0 )- facing issues at make - as informed earlier

libffi 3.0.6 - completed

pango - yet to be installed

ATK - yet to be installed

gobject-introspection-1.31.0.tar.bz2 ( dependency - python ) - facing issue at make

python 3.2.2 - Completed
 
  


Reply


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
LXer: Firefox 9 Is 30% Faster Than Firefox 8 | Install Firefox 9 On Ubuntu 11.10 and Earlier Release LXer Syndicated Linux News 0 12-30-2011 04:50 PM
[SOLVED] Unable to install FireFox 5 on Fedora 8 aalney Fedora 2 11-15-2011 03:05 AM
Mozilla Firefox - Unable to Install Newest Linux Version technonot Linux - Software 1 02-26-2009 11:14 AM
Unable to install/run Firefox 1.5 in FC4 i386 Malakye Fedora 6 05-07-2006 05:37 PM
Unable to install Firefox vsj Linux - Software 4 02-17-2004 04:03 PM


All times are GMT -5. The time now is 04:14 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration