LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux > 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
 
Thread Tools
Old 03-11-2005, 05:05 AM   #1
trasher
LQ Newbie
 
Registered: Mar 2005
Location: Turkey
Distribution: Mandrake 10.1
Posts: 29
Thanked: 0
Firefox Installation Problem


[Log in to get rid of this advertisement]
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...
trasher is offline     Reply With Quote
Old 03-11-2005, 06:44 AM   #2
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,380
Thanked: 4
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
titanium_geek is offline     Reply With Quote
Old 03-11-2005, 10:56 PM   #3
trasher
LQ Newbie
 
Registered: Mar 2005
Location: Turkey
Distribution: Mandrake 10.1
Posts: 29
Thanked: 0

Original Poster
[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.
trasher is offline     Reply With Quote
Old 03-11-2005, 11:00 PM   #4
trasher
LQ Newbie
 
Registered: Mar 2005
Location: Turkey
Distribution: Mandrake 10.1
Posts: 29
Thanked: 0

Original Poster
By the way, what is segmantation fault?
trasher is offline     Reply With Quote
Old 03-12-2005, 03:49 PM   #5
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,380
Thanked: 4
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
titanium_geek is offline     Reply With Quote
Old 03-12-2005, 03:50 PM   #6
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,380
Thanked: 4
http://catb.org/~esr/jargon/html/S/s...ion-fault.html

should tell you what a segmentation fault is.
titanium_geek is offline     Reply With Quote
Old 03-12-2005, 04:05 PM   #7
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 644
Thanked: 0
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.
davcefai is offline     Reply With Quote
Old 03-15-2005, 01:18 AM   #8
Jiawen
Member
 
Registered: Aug 2003
Location: Twin Cities, MN, US
Distribution: Mandriva -> Ubuntu
Posts: 106
Thanked: 0
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.
Jiawen is offline     Reply With Quote
Old 03-15-2005, 04:26 AM   #9
trasher
LQ Newbie
 
Registered: Mar 2005
Location: Turkey
Distribution: Mandrake 10.1
Posts: 29
Thanked: 0

Original Poster
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...
trasher is offline     Reply With Quote
Old 03-16-2005, 06:14 PM   #10
al5929
LQ Newbie
 
Registered: Mar 2005
Posts: 2
Thanked: 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 06:26 PM..
al5929 is offline     Reply With Quote
Old 03-17-2005, 02:56 AM   #11
Jiawen
Member
 
Registered: Aug 2003
Location: Twin Cities, MN, US
Distribution: Mandriva -> Ubuntu
Posts: 106
Thanked: 0
Excellent! Thank you, al5929! It worked perfectly.

超好!謝謝,al5929! 都沒有問題!
Jiawen is offline     Reply With Quote
Old 03-17-2005, 11:50 AM   #12
trasher
LQ Newbie
 
Registered: Mar 2005
Location: Turkey
Distribution: Mandrake 10.1
Posts: 29
Thanked: 0

Original Poster
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..
trasher is offline     Reply With Quote
Old 03-17-2005, 12:33 PM   #13
al5929
LQ Newbie
 
Registered: Mar 2005
Posts: 2
Thanked: 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).
al5929 is offline     Reply With Quote
Old 03-17-2005, 12:37 PM   #14
trasher
LQ Newbie
 
Registered: Mar 2005
Location: Turkey
Distribution: Mandrake 10.1
Posts: 29
Thanked: 0

Original Poster
Thanks, al5929
trasher is offline     Reply With Quote
Old 03-24-2005, 02:19 PM   #15
Petrov Labitzke
LQ Newbie
 
Registered: Mar 2005
Location: Santiago de Chile
Distribution: Mandrake 10.1 PowerPack
Posts: 17
Thanked: 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.
Petrov Labitzke is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


All times are GMT -5. The time now is 09:00 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration