LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Impossible to install firefox-2.0.0.3.tar.gz on RedHat V 5 (https://www.linuxquestions.org/questions/linux-newbie-8/impossible-to-install-firefox-2-0-0-3-tar-gz-on-redhat-v-5-a-555229/)

riganta 05-19-2007 04:18 PM

Impossible to install firefox-2.0.0.3.tar.gz on RedHat V 5
 
Hi all,

I am new to Linux. I have used windows for the past 10 years and decided to use Linux for all the good reasons we know.
I am trying to install firefox 2.0.0.3 on my new distro RedHat v 5. I have to say that this is not working at all. I have downloaded firefox and then I have uncompressed firefox. That is as far as I went. I have tried to compile it as the .tar.gz is the source code of the soft. SO i think :) I have used the command below but it didn't work. Nothing happened. I am really lost here. Can anyone help me please.

tar zxf linuxquestions.tar.gz
cd linuxquestions
./configure
make
make test (optional)
make install

Thanks for everything

Riganta

Okie 05-19-2007 04:38 PM

you may have just downloaded a binary package in tar.gz format, look inside the directory for firefox and firefox-bin, if there is a Makefile.am and a configure file then yes you downloaded sourcecode, if there is no Makefile.am & configure file then you downloaded a pre-built binary in a tar.gz package...

Nylex 05-19-2007 04:39 PM

Did you actually download the source code for Firefox, or the prebuilt binary? Just because a file is in .tar.gz/.tar.bz2 format for example doesn't necessarily mean it contains source code. The "tar" is for "tape archive" and the "gz" or "bz2" indicates the type of compression used.

Also, what does "linuxquestions.tar.gz" have to do with Firefox?! You also didn't say exactly what "it didn't work" means. We aren't at your machine and can't see the output from commands you use, so you need to give us detailed information - error messages for example.

riganta 05-19-2007 05:21 PM

Well, I don't get any error message at all. Nothing happens. That's it.
I have dowloaded firefox from firefox's website and it seems that I have no Makefile.am & Configure file. So I have a pre built binary in tar.gz. I dowloaded firefox in /usr/local. I used the command tar zxf firefox-2.0.03.tar.gz to decompress the soft. It created another directory called firefox and then I tried to use the command below to install it or run it but nothing happened. I couldn't even get to the directory firefox.

cd firefox
./configure
make
make test
make install

PS: the "linuxquestion" is my mistake. It has no relation to the soft firefox

I hope this clarify a bit


Cheers

riganta

riganta 05-19-2007 05:24 PM

One last point. The old version that was installed is not working anymore. It has become firefox.old now. It is my mistake. I have just repeat a command line that I found in the website without really knowing what I was doing. I have to say that linux is not easy at all but a lot more fun than windows

billymayday 05-19-2007 05:57 PM

Perhaps this will give you some hints

http://www.bobpeers.com/linux/firefox2_on_fedora_core_6

Nylex 05-20-2007 12:15 AM

Quote:

Originally Posted by riganta
I couldn't even get to the directory firefox.

Why not?

Sigh, you don't use "configure", "make", "make install" for pre-built packages.

riganta 05-20-2007 04:06 AM

I think I have messed badly my system. I had only firefox.1.5.0.3 preinstalled on it. Since it has become firefox.old it is not working anymore.
I have now managed to download and decompresse firefox.2.0.0.3. It is in my directory /usr/local but I don't how to make it work.

please help

riganta

Nylex 05-20-2007 04:12 AM

Again, all you need to do is decompress the archive, cd to "firefox" (or whatever the directory is called) and run "./firefox". Okie pretty much told you this..

billymayday 05-20-2007 04:38 AM

Actually Nylex, the instructions that come with firefox are crap (and that's being complimentary). Even looking at their installation instructions (which is all the readme.txt says to do) tells you nothing about running firefox. Okie didn't even really hint at that (he says to look for it), and having installed plenty of precompiled packages, I'd have thought that I had to copy the firefox executable to some other directory (which from my quick read was implied from the link I posted before). I can see if you know that's what you need to do, Okie's comment makes sense, but not otherwise.


My 2c

riganta 05-20-2007 04:42 AM

Yes exactly. Doing so, I get the error message as follow
"error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

Cheers

Nylex 05-20-2007 07:47 AM

You need to install the C++ library package that provides that file, though I'm not sure what that package is called under Red Hat. It may simply be called "libstdc++-<version>", but I don't know. I assume Red Hat has some kind of tool you can use to search for packages, have a look there and tell us what you find (or if another RH user sees this thread, they'll be able to guide you).

1337_penguin 05-20-2007 02:42 PM

You mentioned you're using Red Hat 5, which is years out of date (and probably explains that error), so it would be worth upgrading to a current distro (if you want to carry on with Red Hat type stuff you could use Fedora or CentOS). These will also likely include the latest version of Firefox as a binary package, which you can just install via the package manager.

eg.
Code:

# yum install firefox
(I think, I don't really use Fedora)

1337_penguin

Nylex 05-20-2007 03:10 PM

I assumed the OP was using Red Hat Enterprise Linux 5.

riganta 05-21-2007 03:35 AM

Hi Guys,

Yes the op is running Red Hat ES V 5. Which is the latest version (hopefully so). I tried to install the librairy but it told that it was already there. i tried the yum install command. It didn't work either.

Cheers,

riganta 05-21-2007 03:40 AM

I am running RH ES V 5 for x86 32bits. I have downloaded firefox-2.0.0.3.tar.gz for i686 from the firefox website. COuld that be the problem? Is there a compatitbility problem?

Cheers

riganta 05-21-2007 03:49 AM

When I tried to install firefox 2.0.0.3 the error says
"No Match for argument: firefox-2.0.0.3"
"Nothing to do".
Does this mean it is already install? though it is not running at all. Most of all, I messed up the older version preinstalled in the distro.

Cheers

billymayday 05-21-2007 04:09 AM

Do you mean from yum? If so, don't use a version number, just

yum install firefox

riganta 05-21-2007 04:21 AM

for the install, I didn't use the numbers.

Cheers

billymayday 05-21-2007 04:23 AM

You might need to do

yum remove firefox

then

yum install firefox

geek1234 05-21-2007 08:30 AM

I had similar problems a few weeks back. I tried all that you did. what finally did the trick was I ran ./firefox from the firefox directory created for new version installed. Running this once or twice across reboots replaced the old firefox for me and now I can just use it normally. Probably the right version to use is stored in a cache or something later.

G

riganta 05-21-2007 01:37 PM

I have removed firefox 1.5 but cannot install firefox 2. I have looked into the packages and I found firefox 1.5. In order to be able to have firefox 2 running shouldn't I find firefox 2 in those packages?

Cheers

geek1234 05-21-2007 04:03 PM

i couldnt find a firefox 2 package.So just installed from firefox websit in tar.gz format. After install just ran ./firefox-bin I think until after a reboot my FC4 just picket that new version then on.

riganta 05-22-2007 05:17 AM

Hi all,

I finally managed to install firefox 2. The trick was to completly firefox 1.5 and then install firefox 2. It worked. Thank you all for your support.
Though I still have problems with plug ins. I need to install Java plugin. I have got the plugin on my pc but firefox is not catching it. What should I do? Should I manually run the plugin into firefox or is there a command I could use so firefox would read those plugins?

Cheers to all.

Riganta

billymayday 05-22-2007 06:39 AM

riganta, I don't know the answer to the plug-in question, but would you be able to edit the previous post in case others are looking for a solution.

Did you mean completely install ff 1.5 or completely uninstall ff 1.5 before installing 2.0?


Rgds

riganta 05-22-2007 12:49 PM

Well, I just acquired my Distro Red Hat E/S v 5 with firefox 1.5 preinstalled in it. I needed to upgrade to firefox 2.0.0.3. The trick was that I needed to uninstall firefox 1.5 before I could manage to use firefox 2.0.0.3. I had the idea that I could do an upgrade from 1.5 to 2.0 which wasn't the case. the process went as follow.

cd into the diretory of firefox 1.5

$ yum remove firefox

cd into the newly created folder firefox 2.0.0.3 that you have just untared. Then proceed as follow.

$ yum install firefox

It took me two days to figure that simple command because there is no possibility to do a major upgrade (ie firefox 1.5 to firefox 2). The possibility in upgrading are minors such as 1.5.3 to 1.5.4.

I hope that clarifies everything. If you have any questions, I will glad to help

Cheers

Riganta

mpalude 05-25-2007 10:08 PM

Impossible to install
 
I'm in the same situation.... RedHat Linux ES (Enterprise System) Version 5 -- is the brand new release from RedHat (released last month) -- any help will be great, I'm stucked in crap of msg libstdc++.so.5: cannot open shared object file

tks,

Mauro

riganta 05-26-2007 03:59 AM

Hi Mauro,

What you have to do first if you want to install firefox 2 is to remove firefox 1.5. You have to completly remove from your packages.

# yum remove firefox

Once you remove firefox 1.5 you can install "libstdc++so.5" as such

# yum install libstdc++so.5.

Then you can install firefox-2.0.0.3 as such

# yum install firefox-2.0.0.3

That should do it. Just remember that there is no upgrade possible for the moment as you change from 1.5 to 2.0

Come back to me if doesn't work but it should

PS: The problem with the librairy "libstdc++so.5" is that it was shared between firefox 1.5 and firefox 2.0. If you completly remove firefox 1.5 normally you shouldn't have to install this librairy.

Good luck. Linux is worth the effort


All times are GMT -5. The time now is 08:51 AM.