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 03-11-2005, 04:05 AM   #1
trasher
LQ Newbie
 
Registered: Mar 2005
Location: Turkey
Distribution: Mandrake 10.1
Posts: 29

Rep: Reputation: 15
Firefox Installation Problem


I installed the Mandrake 10.1 yesterday.
I try to install firefox 1.01 but i have some error messages from the Konsole:

[root@d78221a firefox-installer]# ./firefox-installer
SCIM: im_module_init
free(): invalid pointer 0x81b9888!
free(): invalid pointer 0x81b9860!
./firefox-installer: line 56: 9108 Segmentation fault ./${BINNAME}-bin $@

please help...
 
Old 03-11-2005, 05:44 AM   #2
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
hmm.. I think you have to run firefox as a user (not root) so it can work. Try it. To install 1.01 on my mandrake (one user admitedly) I had the tar in my home folder. I untarred this using a gui (I just can't get the hang of the untar command) and then found the bashscript named firefox. I ran this in the konsole/terminal/whatever and it started the gui install of firefox. I hope this helps.

titanium_geek
 
Old 03-11-2005, 09:56 PM   #3
trasher
LQ Newbie
 
Registered: Mar 2005
Location: Turkey
Distribution: Mandrake 10.1
Posts: 29

Original Poster
Rep: Reputation: 15
[serhan@d78221a firefox-installer]$ ./firefox-installer
SCIM: im_module_init
free(): invalid pointer 0x81b5c48!
free(): invalid pointer 0x81b5c20!
./firefox-installer: line 56: 6956 Segmentation fault ./${BINNAME}-bin $@
[serhan@d78221a firefox-installer]$

I tried as a user, not su

the installation Gui appears but when i click the forward button konsole gives the error above.
 
Old 03-11-2005, 10:00 PM   #4
trasher
LQ Newbie
 
Registered: Mar 2005
Location: Turkey
Distribution: Mandrake 10.1
Posts: 29

Original Poster
Rep: Reputation: 15
By the way, what is segmantation fault?
 
Old 03-12-2005, 02:49 PM   #5
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
oops: I forgot: Welcome to LQ!

hmm... I think you may need to download another version of firefox. It might be a bad file.

What distro are you using? (it helps to fill out your profile )

titanium_geek
 
Old 03-12-2005, 02:50 PM   #6
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
http://catb.org/~esr/jargon/html/S/s...ion-fault.html

should tell you what a segmentation fault is.
 
Old 03-12-2005, 03:05 PM   #7
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 830

Rep: Reputation: 43
You need to run the install script as root. Then, VERY IMPORTANT, run firefox as root so that it can set up some files. After that, run as a user.
 
Old 03-15-2005, 12:18 AM   #8
Jiawen
Member
 
Registered: Aug 2003
Location: Twin Cities, MN, US
Distribution: Mandriva -> Ubuntu
Posts: 106

Rep: Reputation: 15
I get the same error as trasher. I tried installing as root and had the same segfault problem.

I'm going to ask on the SCIM list; that might get more results. I'll post back here if I get something.
 
Old 03-15-2005, 03:26 AM   #9
trasher
LQ Newbie
 
Registered: Mar 2005
Location: Turkey
Distribution: Mandrake 10.1
Posts: 29

Original Poster
Rep: Reputation: 15
I think, i did not install some requirement.
According to mozzilla's site

Linux kernel - 2.2.14 or higher with the following libraries or packages:
glibc 2.3.2 or higher

XFree86-3.3.6 or higher

gtk+2.0 or higher

fontconfig (also known as xft)

libstdc++5

should be installed. I checked them and I realized that some packeages did not installed. Nowadays, i have some exams, i did not deal with Linux.

If I get something, i will inform you.
Thanks for your interest...
 
Old 03-16-2005, 05:14 PM   #10
al5929
LQ Newbie
 
Registered: Mar 2005
Posts: 2

Rep: Reputation: 0
firefox thunderbird install work around

1. download the fire fox package and extract it

2. copy and paste the following into the console:

scim -f x11 -c simple -ns socket -d
export LC_CTYPE=en_US.UTF-8
export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE=xim

3 run ./firefox installer

4 after install edit the "firefox" shell script with a text editor

5 paste the four line showen instage 2 under the opening comments and before "moz_pis_startstop_scripts()"
save and exit

now when you run the firefox shell script firefox should work normally

this method also works for thunderbird

Last edited by al5929; 03-16-2005 at 05:26 PM.
 
Old 03-17-2005, 01:56 AM   #11
Jiawen
Member
 
Registered: Aug 2003
Location: Twin Cities, MN, US
Distribution: Mandriva -> Ubuntu
Posts: 106

Rep: Reputation: 15
Excellent! Thank you, al5929! It worked perfectly.

超好!謝謝,al5929! 都沒有問題!
 
Old 03-17-2005, 10:50 AM   #12
trasher
LQ Newbie
 
Registered: Mar 2005
Location: Turkey
Distribution: Mandrake 10.1
Posts: 29

Original Poster
Rep: Reputation: 15
Thanks for your interest, al5929.
I realized that my problem is c and c++ libraries problem, i uninstall them and reinstall them and installation of Firefox runs correctly.

I have some questions about the way you get rid of the problem.

scim -f x11 -c simple -ns socket -d
export LC_CTYPE=en_US.UTF-8
export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE=xim

what these commands do, can you explain?(The reason i asked, simply i wanna learn Linux )

Thanks for your help again..
 
Old 03-17-2005, 11:33 AM   #13
al5929
LQ Newbie
 
Registered: Mar 2005
Posts: 2

Rep: Reputation: 0
my method

it was a freind that gave me this solution he told me that
if i have selected all the development tools during the mandrake installation
then a back ground service is also installed that can interfear with the operation of
many linux programs.

what the console commands do is to shutdown the service long enough
for the shell commands of certain programs to execute after a certain amount of time the service will
restart that is why it must be added to the console commands of all affected programs

programs that ihave found to be affected
firefox, thunderbird, netscape, real palyer(helix).
 
Old 03-17-2005, 11:37 AM   #14
trasher
LQ Newbie
 
Registered: Mar 2005
Location: Turkey
Distribution: Mandrake 10.1
Posts: 29

Original Poster
Rep: Reputation: 15
Thanks, al5929
 
Old 03-24-2005, 01:19 PM   #15
Petrov Labitzke
LQ Newbie
 
Registered: Mar 2005
Location: Santiago de Chile
Distribution: Mandrake 10.1 PowerPack
Posts: 17

Rep: Reputation: 0
Quote:
Originally posted by Jiawen
Excellent! Thank you, al5929! It worked perfectly.

超好!謝謝,al5929! 都沒有問題!
I want to thank you as well. I have been trying to get Firefox to work for months with no success. It finally works, and it feels so good.
 
  


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
Firefox 1.06 installation problem siuminglinux Linux - Software 1 08-30-2005 09:54 AM
firefox installation problem superxav Mandriva 7 02-16-2005 02:30 PM
Problem with Firefox installation aznluvsmc Linux - Newbie 1 08-24-2004 09:01 PM
Problem with Firefox installation aznluvsmc Linux - Newbie 1 08-24-2004 08:37 PM
FireFox installation problem Daryl Linux - Software 2 07-03-2004 06:07 AM

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

All times are GMT -5. The time now is 03:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration