Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 10-19-2007, 04:28 AM   #1
LQ Newbie
Registered: Feb 2007
Posts: 10

Rep: Reputation: 0
Question "crosscompile" Firefox for SuSE 8.1

Hy there,

I'm stuck with a little problem here, we have a "few" SuSE Linux 8.1 Desktop Computers with an installed Mozilla 1.6.
Thing is, this Mozilla version is not only stone old but also incapable of rendering some new "Web 2.0" Sites.

my idea was to update to Firefox 2.0.x or 1.5.x. problems are:

1.) Firefox needs gtk+-2.0 >= 1.3.7 (Suse 8.1 has 1.2.10)
2.) I can not update or change the installation of the PC to packages not part of the SuSE 8.1 distribution (so updating GTK is not an option)

So i thought I could try and build a static version of Firefox on an Build system that would than run on SuSE 8.1 (easier said than done as I found out)

I fetched sources of Firefox 2.0.7 found out that configure had a "--enable-static" and "--disable-shared" switch, hoped it would do what i was searching for and did a quick make and make install. But as you can guess life ain't easy and this did not what i was searching for. Firefox ran smoothly on the Compile system but was bitching about missing shared libraries on the target system:

#> ./configure --prefix=/home/firefox --exec-prefix=/home/firefox --enable-application=browser --enable-image-encoder=all --enable-canvas --enable-extensions=default --enable-oji --enable-mathml --enable-static --disable-shared
Error on target:
#> ./firefox-bin: error while loading shared libraries: cannot open shared object file: No such file or directory

I even tried with CFLAGS="-static"
But then I can not even get past the configure as it complains about missing libraries (which he would find without the static flag)
#> export CFLAGS="-static"
#> export CXXFLAGS="-static"
#> ./configure --prefix=/home/firefox --exec-prefix=/home/firefox --enable-application=browser --enable-image-encoder=all --enable-canvas --enable-extensions=default --enable-oji --enable-mathml --enable-static --disable-shared
checking for inttypes.h... yes
checking for sys/int_types.h... no
configure: error:  Could not find the following X libraries:  -lX11 -lXext -lXt
So any ideas how I can get e recent version of Firefox running on an old SuSE 8.1?
Old 10-19-2007, 09:12 AM   #2
Registered: Jul 2005
Location: France
Distribution: Arch Linux
Posts: 540

Rep: Reputation: Disabled
Hi InDubio
I think you should rather search another way to run more recent softwares on your old SUSE Linux 8.1 installations.
You could look into the Klik utility to install packages along with the libraries necessary to run them, all in one file to install.
I've seen that firefox is available.
I have not used it but it seems good and simple.
Maybe it's the solution for you.
At least try it.
Old 10-19-2007, 09:26 AM   #3
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740
I think you should be able to simply run the Firefox install script on just about any Linux...

But why do you want to flog yourself making things work on something as out of date as SUSE 8.1? If you upgrade to something more modern, this and many other issues will get fixed for free.
Old 10-22-2007, 08:22 AM   #4
LQ Newbie
Registered: Feb 2007
Posts: 10

Original Poster
Rep: Reputation: 0
Looked promising at first but does not work on SuSE 8.1 either (too bad, does not find some files an mount does not support cmg files, and needs firefox to install software into the container) But will keep that in mind maybe i can use it somewhere else.
Thy for the tip

I think you should be able to simply run the Firefox install script on just about any Linux...
Yea, thought that too, but that is only true as long as you have a reasonable version of GTK2+

Well and about an update of the client... Nothing would make me more happy than updating the clients, but sadly that is not in my hands

But the berbae's klick thing brought me to the idea to make a firefox install that just brings all needed shared libraries with it in one package, but i do not now how to find out the library dependencies recursively and when I have them how to make firefox use his own ones? Any Ideas on that?

I will also look into the Linux Terminal Server Project I know this will bring me to the problem that i need a Terminal Server but then i wont have the outdated library problems


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
Can't exec "firefox 1.5", "prompts glibc detected" SPo2 Linux - General 1 06-05-2006 12:02 AM
Can "sort of" access the internet using Firefox & Suse 10.0 ejr Linux - General 3 12-27-2005 11:02 PM
firefox with suse 10, "connection refused" with google but... jimjamjahaa Linux - Newbie 3 10-25-2005 12:40 AM
Firefox freezes at "Save", "Download" kjmorris Linux - Software 4 10-27-2004 03:44 PM
suse ati driver "Xlib: extension "XiG-SUNDRY-NONSTANDARD" missing" madcow007 Linux - Hardware 0 03-06-2004 03:53 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:31 PM.

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