Firefox Installer/Thunderbird not Running
|
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. |
Quote:
|
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 |
I can't seem to be able to save .mozconfig. Can someone tell me how to get into KWrite as su?
|
Nevermind the above, I actually got CHMOD to work.
Now, why does this happen? Code:
checking whether the C++ compiler (gcc ) works... no |
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. |
Quote:
|
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.. |
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. |
Definitely worth a try. I would look for it in the Mandrake package utility
|
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.
|
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. |
Quote:
|
All times are GMT -5. The time now is 11:02 AM. |