LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 10-13-2004, 03:02 AM   #1
Kaninchen
LQ Newbie
 
Registered: May 2004
Location: Wormer @ The Netherlands
Distribution: Mandrake
Posts: 13

Rep: Reputation: 0
Firefox Installation Error


I get the following error when i try to install firefox i also tried a older version of fire fox but it gave the same results. Dit i forget someting to install?

os = mandrake 10.1

Code:
[root@Joris firefox-installer]# ./firefox-installer
SCIM: im_module_init
free(): invalid pointer 0x8241520!
free(): invalid pointer 0x82414f8!
./firefox-installer: line 56:  5545 Segmentation fault      (core dumped) ./${BINNAME}-bin $@
[root@Joris firefox-installer]#
Thanx alot
 
Old 10-13-2004, 03:59 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
I don't know the error, but why are you installing it as root?

I've successfully installed several versions, on several systems,
and this works flawlessly. Put the tarball in your /home/<username>
directory and follow these instructions:

mingdao@james:~$ tar zxvf firefox-1.0PR-i686-linux-gtk2+xft-installer.tar.gz
mingdao@james:~$ cd firefox-installer/
mingdao@james:~/firefox-installer$ ./firefox-installer
(which sets up the program and imports your old settings)
mingdao@james:~/firefox-installer$ firefox
(which runs the program - this post is the proof

You probably don't want to run it from a terminal, so shut it down
and run it from where you normally run programs.
 
Old 10-13-2004, 10:36 PM   #3
Ravager
LQ Newbie
 
Registered: Oct 2004
Posts: 22

Rep: Reputation: 15
Well so much for your instructions....
I followed the instructions below myself except putting it in my home location... This is the error I get...

[root@localhost Desktop]# ls
apt-0.5.15cnc6-0.fdr.11.2.i386.rpm starthere.desktop firefox-1.0PR-i686-linux-gtk2+xft-installer.tar.gz
[root@localhost Desktop]# tar zxvf firefox-1.0PR-i686-Linux-gtk2+xft-installer.tar.gz
tar (child): firefox-1.0PR-i686-Linux-gtk2+xft-installer.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors

So now what???

Quote:
Originally posted by Chinaman
follow these instructions:

mingdao@james:~$ tar zxvf firefox-1.0PR-i686-linux-gtk2+xft-installer.tar.gz
mingdao@james:~$ cd firefox-installer/
mingdao@james:~/firefox-installer$ ./firefox-installer
(which sets up the program and imports your old settings)
mingdao@james:~/firefox-installer$ firefox
(which runs the program - this post is the proof

You probably don't want to run it from a terminal, so shut it down
and run it from where you normally run programs. [/B]
 
Old 10-13-2004, 10:40 PM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Thanks for posting your output. That let's us see that you ran
it as root, and not as normal user. A # in your prompt indicates
root, and a $ indicates normal user. Try at the # prompt to issue
"exit" (w/out quotes) and then login as normal user.
 
Old 10-13-2004, 10:44 PM   #5
Ravager
LQ Newbie
 
Registered: Oct 2004
Posts: 22

Rep: Reputation: 15
My Bad....

I noticed the Linux should have been linux changed it and it ran... FFS= fat finger syndrome...
It installed... Excellent instructions too bad I can't get my fingers and eyes to work together... must eb the old age
 
Old 10-13-2004, 10:47 PM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Ravager,

Good eyes! Mine are 45 going on 90 and miss a lot ;)

But why are you installing it as root?
You're not running your system as root, are you?
 
Old 10-13-2004, 10:49 PM   #7
Ravager
LQ Newbie
 
Registered: Oct 2004
Posts: 22

Rep: Reputation: 15
Well I logged in as root when I couldn't get it to install under usr and just figured my permissions wouldn't allow me to install it.

Now all I gotta do is figure out how to install rpm's..
 
Old 10-13-2004, 11:26 PM   #8
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 31
I imagine he'd want to install it as root (to get it in a more typical location, like /usr/local) so other users could use it, and for organizational purposes. I personally wouldn't want all my apps installed in my ~. Seems silly to me, but to each his own.

And for RPMs

Code:
$ rpm -ihv name_of.rpm
Make sure you're root when you do the installation of the RPM, since most (if not all) install in places normal users don't have access to.

Last edited by GT_Onizuka; 10-13-2004 at 11:28 PM.
 
Old 10-14-2004, 12:57 AM   #9
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Tarballs don't usually install much to the build directory,
though there are exceptions to every rule.

To see where the files are going before you install, just
open mc and navigate to the file and enter on it's name.
That will let you see what is going to happen when you
actually untar and compile it.

Here's a good read on installing programs ->
http://www.linuxquestions.org/questi...threadid=45094
 
Old 10-14-2004, 10:55 AM   #10
Ravager
LQ Newbie
 
Registered: Oct 2004
Posts: 22

Rep: Reputation: 15
Installing RPM's

Instead of logging in as root, would it be just as well using superuser to do the installs?
 
Old 10-14-2004, 01:36 PM   #11
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098

Rep: Reputation: 54
Quote:
Instead of logging in as root, would it be just as well using superuser to do the installs
absolutely!!! in fact thats probably the preferred method... it's the only way i install stuff.
 
Old 10-14-2004, 06:48 PM   #12
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Re: Installing as root

Quote:
Originally posted by Ravager
Well I logged in as root when I couldn't get it to install under usr and just figured my permissions wouldn't allow me to install it.
When I read this the first time, I thought you had misspelled user as usr. Now I see that usr should have been /usr, indicating the directory /usr. The location of your user directory is /home/<username>/ - so, for example, on your box if you added a normal user it might be /home/ravager/ or whatever you choose to name him.

Firefox has been designed to run and install as a normal user, with no need for root priviledges at all. But it is a PC (Personal Computer), and you may install it wherever you wish. If you stick around long enough, you'll learn not to login as root until it's for system maintenance. ;-) This is the first line of defense in regards to security on a Linux box.

Quote:
Originally posted by Ravager
Instead of logging in as root, would it be just as well using superuser to do the installs?
They are the same user - root is the superuser. From "man su"
Quote:
su - change user ID or become super-user. Invoked without a username,
su defaults to becoming the super user.
Logging into your system as root is not the preferred method, or even necessary to install programs. I have never logged into this system as root, and have plenty of programs installed. ;-)

Quote:
Originally posted by GT_Onizuka
I imagine he'd want to install it as root (to get it in a more typical location, like /usr/local) so other users could use it, and for organizational purposes.
Mozilla didn't consider /usr/local a "typical" location to install the browser, and notice that in Slackware none of the browsers are installed there.

If you install Firefox in your ~/ directory, other users on a multiuser system can still use it. They only need to run the command from your install path. For example, on my multiuser desktop system I have two users plus root. Firefox was installed in /home/mingdao/firefox/ by the user mingdao. When user james logs in, all that he has to do is issue "/home/mingdao/firefox/firefox" and it starts Firefox and creates a new user profile in /home/james/.mozilla/firefox for that user. Where you organize your apps, as GT_Onizuka pointed out, is a personal opinion.

No matter where you choose to install Firefox, everything is placed in an install directory called "firefox" or "firefox-installer" under that build directory. Your personal profile is placed in the ~/.mozilla/firefox directory for the user who runs the app. It's done that way so that you can easily uninstall Firefox without losing your personal data, such as bookmarks, extensions, etc. Remember, Firefox is an app in development and constant flux, and as such, they hope we'll run the latest version and report any bugs.

When you compile programs from source, it is not necessary to be logged in as root - if you build in a directory where the normal user has priviledge. That's because the tarball will install to it's own install directory, no matter where you unpack and compile it from.

Since it's not good practice to login to a Linux system as root, I've created a build directory named /home/mingdao/tarballs where I unpack and compile them. You can issue "./configure" and "make" as a normal user, and then issue su -c "make install" and it will prompt you for root's password. That -c indicates a command to follow. Afterwards, you can "rm -rf" the subdirectory created in the build directory when you unpacked the tarball, which is now installed in it's given install directory.

Rather than using "make install" I like to use the program CheckInstall because it allows me to create a Slackpack which I can easily uninstall. From the CheckInstall website:
Quote:
A lot of people has asked me how can they remove from their boxes a program they compiled and installed from source. Some times -very few- the program's author adds an uninstall rule to their Makefile, but that's not usually the case. This is my primary reason to write CheckInstall. After you ./configure; make your program, CheckInstall will run make install (or whatever you tell it to run) and keep track of every file modified by this installation, using the excelent installwatch utility written by Pancrazio 'Ezio' de Mauro (p@demauro.net).

When make install is done, CheckInstall will create a Slackware, RPM or Debian compatible package and install it with Slackware's installpkg, "rpm -i" or Debian's "dpkg -i" as appropriate, so you can view it's contents with pkgtool ("rpm -ql" for RPM users or "dpkg -l" for Debian) or remove it with removepkg ("rpm -e"|"dpkg -r"). Aditionally, this script will leave you a copy of the installed package in the source directory so you can install it wherever you want, which is my second motivation: I don't have to compile the same software again and again every time I need to install it on another box :-).
Long post, but my hope is that it clears up some things for you...
 
Old 10-14-2004, 06:51 PM   #13
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Re: Firefox Installation Error

Quote:
Originally posted by Kaninchen
I get the following error when i try to install firefox...
Just noticed that this was your thread, and it was hijacked.
Did you ever get Firefox properly installed?
 
Old 10-21-2004, 10:47 AM   #14
amon
Member
 
Registered: May 2004
Location: UK
Distribution: Debian, Ubantu, CentOS
Posts: 146

Rep: Reputation: 17
wasn't my thread initially. I've had the same problem. the installer worked fine under Mandrake 10.0 but it gets the same error on mine which is also 10.1 so i'm assuming its something to do with mandrake 10.1

the installation program starts to run for me. when you click on the forward button (the first thing on the installer) it then just exits with the error message:
[amon@amon1 firefox-installer]$ ./firefox-installer
SCIM: im_module_init
free(): invalid pointer 0x823dfa8!
free(): invalid pointer 0x823df80!
./firefox-installer: line 56: 11274 Segmentation fault ./${BINNAME}-bin $@

I've tried running this as root and as myself. I've also tried downloading the file again to make sure its not corrupted. and i have attempted to find RPMs(which didn't work at all after installation.
 
Old 10-21-2004, 05:11 PM   #15
lmubluejay
LQ Newbie
 
Registered: Oct 2004
Posts: 4

Rep: Reputation: 0
I'm running Mandrake 10.1 (kde, gnome)
I have the same problem. The initial install "Welcome to Mozilla Firefox." I click Forward, the gui dissappears and the following error:

[myname@localhost firefox-installer]$ ./firefox-installer
SCIM: im_module_init
free(): invalid pointer 0x81f44e0!
free(): invalid pointer 0x81f44b8!
./firefox-installer: line 56: 7279 Segmentation fault ./${BINNAME}-bin $@
[myname@localhost firefox-installer]$

I've tried everything that I can think of (being a noob of course)....installing as root, extracting into the home directory and running from there, etc.
I looked in installer.ini and line 56 is UNKNOWN=Unknown

I've tried Firefox 0.9.3 and 1.0PR and the same thing happens on each.
I've installed almost everything under Development. I can't seem to get this to work either. It's the first program I tried installing.....and I feel horrible that I can't even install a simple web browser.

TIA for any help.
 
  


Reply



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
Error on firefox installation from port. melopll *BSD 2 09-18-2005 11:03 PM
Firefox installation error Micro420 Ubuntu 9 09-13-2005 01:13 PM
Two million error lines in .xsession-error file from FireFox acanton Linux - Software 4 08-28-2005 09:53 AM
Firefox Installation hubabuba Slackware 8 04-08-2005 12:54 PM
Firefox Installation foxy123 SUSE / openSUSE 5 12-20-2004 04:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:01 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
Open Source Consulting | Domain Registration