LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-01-2005, 10:07 PM   #1
Kenji Miyamoto
Member
 
Registered: Dec 2004
Distribution: Mandrake 10.1; Fedora Core 3; FreeBSD 5.3; Slackware 10.1 (2.6.10);
Posts: 234

Rep: Reputation: 30
Firefox Installer/Thunderbird not Running


  • Whenever I try to execute the Firefox 1.0 installer on Mandrakelinux, it exits and leaves this in the Konsole:
    Code:
    [root@localhost firefox-installer]# "./firefox-installer"
    SCIM: im_module_init
    free(): invalid pointer 0x821b828!
    free(): invalid pointer 0x821b800!
    ./firefox-installer: line 56:  6854 Segmentation fault      ./${BINNAME}-bin $@
  • Also, whenever I try to execute the Thunderbird shell, it returns only this, then the "[root @ localhost]#" disappears:
    Code:
    SCIM: im_module_init
 
Old 01-01-2005, 10:56 PM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
Don't know why its seg faulting, but another 10.1 user had problems with libs (precompiled firefox binaries are compiled with a older version of libstdc++ than 10.1 comes with)

You might be able to get around this if you get a precompiled and put it into the firefox-installer directory
(since the run-mozilla.sh file sets the firefox-installer directory up in LD_LIBRARY_PATH).

otherwise you would have to compile it from source using a .mozconfig file.
 
Old 01-01-2005, 11:33 PM   #3
Kenji Miyamoto
Member
 
Registered: Dec 2004
Distribution: Mandrake 10.1; Fedora Core 3; FreeBSD 5.3; Slackware 10.1 (2.6.10);
Posts: 234

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by __J
otherwise you would have to compile it from source using a .mozconfig file.
Well, how would I do this? I've never had much luck with compiling programs, so I'd like a step-by-step instruction set, if you'd be so kind.
 
Old 01-01-2005, 11:53 PM   #4
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
Mozilla is a little different than other packages.

1) get the firefox-1.0-source from the mozilla ftp site and extract it ( it will create a folder name 'mozilla'

2) cd into the mozilla directory and do 'touch .mozconfig' (without the single quotes) and make a dir called firefox-objects

3) open up the .mozconfig file with the text editor of your choice

4) in this file you put the options that will be passed to configure. Here is mine:

#########
# .mozconfig
#########

mk_add_options MOZ_OBJDIR=$TOPSRCDIR@/firefox-objects
. $topsrcdir/browser/config/mozconfig
ac_add_options --enable-optimize
ac_add_options --disable-debug
ac_add_options --disable-tests
ac_add_options --enable-default-toolkit=gtk2
ac_add_options --enable-xft
ac_add_options --disable-freetype2

#########
# end
#########

5) make -f client.mk build

6) make -C firefox-objects/browser/installer

the above command will make a folder called firefox move that to you home folder, /usr, or /usr/local and create a symlink in you path (for ex. if you move it to /usr/ do: (as root) ln -s /usr/firefox /usr/bin/firefox)

NOTE: you will need some -devel packages as well as libIDL-0.8.x (and libIDL-0.8.x-devel) and the build takes a long time depending on the speed of your machine. Also, if you use freetype instead of xft then above substitute:

ac_add_options --disable-xft
ac_add_options --enable-freetype2

You can only use one or the other.

All that being said, you may try to find the binary lib libstdc++.so.5 from a mandrake 10.0 package somewhere (gcc-g++-3.3.x is what package it comes from) and try that with the binary firefox-installer before trying to compile it yourself might save you alot of trouble.

Hope all this helps out post back if you need anything else
 
Old 01-02-2005, 12:22 AM   #5
Kenji Miyamoto
Member
 
Registered: Dec 2004
Distribution: Mandrake 10.1; Fedora Core 3; FreeBSD 5.3; Slackware 10.1 (2.6.10);
Posts: 234

Original Poster
Rep: Reputation: 30
I can't seem to be able to save .mozconfig. Can someone tell me how to get into KWrite as su?
 
Old 01-02-2005, 12:34 AM   #6
Kenji Miyamoto
Member
 
Registered: Dec 2004
Distribution: Mandrake 10.1; Fedora Core 3; FreeBSD 5.3; Slackware 10.1 (2.6.10);
Posts: 234

Original Poster
Rep: Reputation: 30
Nevermind the above, I actually got CHMOD to work.

Now, why does this happen?
Code:
checking whether the C++ compiler (gcc  ) works... no
configure: error: installation or configuration problem: C++ compiler cannot create executables.
Why doesn't the GCC work?
 
Old 01-02-2005, 12:35 AM   #7
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
open an xterm and cd to wherever the mozilla dir is. type 'chown -R <your user name> mozilla. that will change the ownership of the mozilla dir to you and you can save it.

I must stress 2 things:

1) the build of firefox takes a long time to complete

2) due to the way mandrake is set up, compiling is sometimes a pain due to the packages being split into lib and lib-devel. make sure you have all the development tools installed (gcc, g++, automake, autoconf etc...) and the necessary -devel packages in order for things to compile.
 
Old 01-02-2005, 12:38 AM   #8
Kenji Miyamoto
Member
 
Registered: Dec 2004
Distribution: Mandrake 10.1; Fedora Core 3; FreeBSD 5.3; Slackware 10.1 (2.6.10);
Posts: 234

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by __J
open an xterm and cd to wherever the mozilla dir is. type 'chown -R <your user name> mozilla. that will change the ownership of the mozilla dir to you and you can save it.

I must stress 2 things:

1) the build of firefox takes a long time to complete

2) due to the way mandrake is set up, compiling is sometimes a pain due to the packages being split into lib and lib-devel. make sure you have all the development tools installed (gcc, g++, automake, autoconf etc...) and the necessary -devel packages in order for things to compile.
I selected every development package when I installed it, yet the GCC still doesn't seem to work.
 
Old 01-02-2005, 12:43 AM   #9
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
hmmm... somethings missing in the system. config.log has the details on why it failed but it's not the easiest file to read. Try to post that section of config.log. Also, have you gotten the binary firefox-installer to get past the segmentation fault to where it complains about libstdc++.so.5?

The workaround might be the best way to go. Unfortunately, Mandrake isn't the easiest distro to use if you want to compile things due to the way it splits packages.

make sure you have gcc, g++, binutils, autoconf, automake m4 make libtool etc..
 
Old 01-02-2005, 12:47 AM   #10
tisource
Member
 
Registered: Feb 2002
Posts: 322

Rep: Reputation: 30
I had a very similar error on Fedora Core 3 when trying to install firefox or run thunderbird. I had to install an additional rpm called compat-libstdc++ and both worked fine again. I'm not sure about Mandrake - its obviously different.

Hope this info helps.
 
Old 01-02-2005, 12:56 AM   #11
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
Definitely worth a try. I would look for it in the Mandrake package utility
 
Old 01-02-2005, 01:11 AM   #12
Kenji Miyamoto
Member
 
Registered: Dec 2004
Distribution: Mandrake 10.1; Fedora Core 3; FreeBSD 5.3; Slackware 10.1 (2.6.10);
Posts: 234

Original Poster
Rep: Reputation: 30
After following a trail or RPMs all of the way to the GlibC-Core, I found out that it'd never work. The files won't install, so all of this was for nothing... I wish that someone could give me a list of packages that I'd have to install, so I wouldn't have to go through all of this. Also, it'd be nice if the built-in Mandrake development packages actually worked. Where the biggest problem is lies within GCC 3.4.3-2, which requires several packages indirectly.
 
Old 01-02-2005, 05:05 AM   #13
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
Just read on another site about someone with the same problem with you (the segmentation fault) with 10.1 official. He used urpmi to install firefox and it worked.
hope this helps.
 
Old 01-02-2005, 09:35 AM   #14
Kenji Miyamoto
Member
 
Registered: Dec 2004
Distribution: Mandrake 10.1; Fedora Core 3; FreeBSD 5.3; Slackware 10.1 (2.6.10);
Posts: 234

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by __J
Just read on another site about someone with the same problem with you (the segmentation fault) with 10.1 official. He used urpmi to install firefox and it worked.
hope this helps.
What's the site URL?
 
  


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 and Thunderbird raysr Mandriva 3 09-04-2005 07:53 AM
Please!!!!Help with Firefox-Thunderbird Lier Linux - Software 3 01-27-2005 08:32 AM
Problems with Profiles on Firefox and Thunderbird running on Suse 9.2 maelstrom209 Suse/Novell 1 01-10-2005 12:53 AM
Firefox and Thunderbird together Ephracis Linux - Software 6 11-10-2004 03:55 PM
Thunderbird and Firefox, Thunderbird doesnt launch firefox? sovietpower Slackware 1 11-01-2004 12:51 PM


All times are GMT -5. The time now is 04:40 AM.

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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration