Firefox on Busybox
walter harms
wharms at bfs.de
Thu Jun 15 11:49:17 UTC 2006
i did some googling:
result:
recompiling firefox was a solution for one guy:
http://ubuntuforums.org/showthread.php?p=921557#post921557
an other hint in an solaris forum was to look at libiconv, that is
reponsible for char conversion. maybe you can check that.
re,
wh
Michael Marriott wrote:
> Hi Rob,
> More details:
> CPU Intel Pentium 2.4GHz on MSI P4MAM-V motherboard (P4M266A + 8235
> Chipset)
> No HDD
> 256Mb RAM
> Using PXE Booting
>
> I have solved the segmentation fault issue but firefox window does not
> appear.
>
> The system boots 2.6.9 kernel (I know it's old but that's OK)
> I have built a 100Mb File System including BusyBox.
> I will move firefox back to nfs eventually and reduce the size of fs.gz
> I have a /firefox dir and an ldd /firefox/firefox-bin yields the
> following:
>
> libmozjs.so => /firefox/libmozjs.so (0x008de000)
> libxpcom.so => /firefox/libxpcom.so (0x00b2c000)
> libxpcom_core.so => /firefox/libxpcom_core.so (0x00494000)
> libplds4.so => /firefox/libplds4.so (0x00a70000)
> libplc4.so => /firefox/libplc4.so (0x00a75000)
> libnspr4.so => /firefox/libnspr4.so (0x00202000)
> libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00111000)
> libdl.so.2 => /lib/libdl.so.2 (0x00def000)
> libgtk-x11-2.0.so.0 => /firefox/libgtk-x11-2.0.so.0 (0x07a2a000)
> libgdk-x11-2.0.so.0 => /firefox/libgdk-x11-2.0.so.0 (0x00aaa000)
> libatk-1.0.so.0 => /firefox/libatk-1.0.so.0 (0x00996000)
> libgdk_pixbuf-2.0.so.0 => /firefox/libgdk_pixbuf-2.0.so.0
> (0x00124000)
> libpangoxft-1.0.so.0 => /firefox/libpangoxft-1.0.so.0
> (0x00139000)
> libpangox-1.0.so.0 => /firefox/libpangox-1.0.so.0 (0x00989000)
> libpango-1.0.so.0 => /firefox/libpango-1.0.so.0 (0x0013e000)
> libgobject-2.0.so.0 => /firefox/libgobject-2.0.so.0 (0x007bb000)
> libgmodule-2.0.so.0 => /firefox/libgmodule-2.0.so.0 (0x007f9000)
> libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x0073e000)
> libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x0022f000)
> libm.so.6 => /lib/tls/libm.so.6 (0x00175000)
> libsmime3.so => /firefox/libsmime3.so (0x008bb000)
> libssl3.so => /firefox/libssl3.so (0x00198000)
> libnss3.so => /firefox/libnss3.so (0x00c42000)
> libsoftokn3.so => /firefox/libsoftokn3.so (0x00831000)
> libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x001b8000)
> libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00678000)
> libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x06ed9000)
> libxpcom_compat.so => /firefox/libxpcom_compat.so (0x001c1000)
> libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x002f6000)
> libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x001d8000)
> libc.so.6 => /lib/tls/libc.so.6 (0x00cc6000)
> libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x001e1000)
> libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x006e1000)
> /lib/ld-linux.so.2 (0x00566000)
> libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x001f3000)
> libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x001f6000)
> libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1 (0x001fe000)
> libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0x003b2000)
> libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x003bb000)
> libpangoft2-1.0.so.0 => /firefox/libpangoft2-1.0.so.0
> (0x003c9000)
> libz.so.1 => /usr/lib/libz.so.1 (0x00666000)
> libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x00df5000)
> libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x003ef000)
> libexpat.so.0 => /usr/lib/libexpat.so.0 (0x00709000)
>
> When I run the shell script: /bin/firefox -g I get the following:
> /firefox/run-mozilla.sh -g /firefox/firefox-bin
> MOZILLA_FIVE_HOME=/firefox
>
> LD_LIBRARY_PATH=/firefox:/firefox/plugins:/usr/local/lib/mre/mre-1.5.0.4:/firefox:/firefox
> DISPLAY=:0.0
> FONTCONFIG_PATH=/etc/fonts:/firefox/res/Xft
> DYLD_LIBRARY_PATH=/firefox:/usr/local/lib/mre/mre-1.5.0.4
>
> LIBRARY_PATH=/firefox:/firefox/components:/usr/local/lib/mre/mre-1.5.0.4
> SHLIB_PATH=/firefox:/usr/local/lib/mre/mre-1.5.0.4
> LIBPATH=/firefox:/usr/local/lib/mre/mre-1.5.0.4
> ADDON_PATH=/firefox
> MOZ_PROGRAM=/firefox/firefox-bin
> MOZ_TOOLKIT=
> moz_debug=1
> moz_debugger=
> Could not find a debugger on your system.
>
> So the env looks OK to run firefox. But.....running firefox nothing
> happens. No window opens.
>
> Running /firefox/firefox-bin results in the following:
>
> (firefox-bin:652): Gdk-WARNING **: Error converting from UTF-8 to
> STRING: Could not open converter from 'UTF-8' to 'ISO-8859-1'
>
> (firefox-bin:652): Gdk-WARNING **: Error converting from UTF-8 to
> STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not
> supported
>
> (firefox-bin:652): Gdk-WARNING **: Error converting from UTF-8 to
> STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not
> supported
>
> (firefox-bin:652): Gdk-WARNING **: Error converting from UTF-8 to
> STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not
> supported
>
> (firefox-bin:652): Gdk-WARNING **: Error converting from UTF-8 to
> STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not
> supported
>
> (firefox-bin:652): Gdk-WARNING **: Error converting from UTF-8 to
> STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not
> supported
>
> (firefox-bin:652): Gdk-WARNING **: Error converting from UTF-8 to
> STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not
> supported
>
> (firefox-bin:652): Gdk-WARNING **: Error converting from UTF-8 to
> STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not
> supported
>
> (firefox-bin:652): Gdk-WARNING **: Error converting from UTF-8 to
> STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not
> supported
>
> (firefox-bin:652): Gdk-WARNING **: Error converting from UTF-8 to
> STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not
> supported
>
> (firefox-bin:652): Gdk-WARNING **: Error converting from UTF-8 to
> STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not
> supported
>
> Any ideas as to why the firefox window is not appearing?
>
> Mike
>
> On Tue, 2006-06-13 at 15:24 -0400, Rob Landley wrote:
>> On Sunday 11 June 2006 7:36 am, Michael Marriott wrote:
>>> Can someone point me in the right direction as to how I can get the
>>> Firefox browser running in my busybox system?
>> You tell me how to run busybox on firefox and I'll tell you how to run FireFox
>> on busybox.
>>
>> BusyBox is one part of a system. At the very least you also need a kernel and
>> a C library. In order to mess with something like FireFox you also need X11
>> and gtk and probably a lot of other stuff.
>>
>> This is a bit like saying "I'm using your brand of tires on my car, and the
>> engine's making funny noises". Sorry to hear it. Not much we can do about
>> it.
>>
>>> So far I have installed the firefox directory onto an NFS system mounted
>>> on the busybox device.
>>> I get a bunch of warnings about fonts and oh
>>> yeah...................getpwuid_r(): failed due to unknown user id (0).
>>> I guess firefox is trying to get user info from /etc/passwd but I don't
>>> know if any of these warnings are directly related to the SEGMENTATION
>>> FAULT I am getting.
>> Do you _have_ an /etc/passwd?
>>
>> I have no idea why your firefox is segfaulting. I have no idea where your
>> firefox came from. I don't know what version it is, whether your built it
>> from source or extracted it from some other environment (you mention FC3,
>> which I've never used). I don't know what "your busybox system" is. I don't
>> know what processor it has (it's x86?), what shared library you're using
>> (glibc or uClibc, let alone version), what other packages are installed (like
>> X.org), how much memory is in it...
>>
>> You never even told me which version of busybox you're using, not that this is
>> even likely to be relevant since the problem you're having really sounds like
>> it has nothing to do with BusyBox...
>>
>>> My kernel is 2.6.9
>> Seven releases of out date, coming up on eight. (We may support the old
>> stuff, but we don't encourage new deployments on it.)
>>
>>> and the libraries are coming from a FC3 system.
>> Why?
>>
>>> Are there specific kernel paramters that need to be set in order to
>>> support firefox?
>> Do you mean kernel configuration, or kernel command line in the bootloader,
>> or...?
>>
>>> Can I simply use the existing FC3 libraries?
>> Doesn't sound like it so far.
>>
>>> Are there specific busybox parameters that need to be configured prior
>>> to compiling?
>> Is BusyBox involved in your compilation at all? Last I heard I had the only
>> truly BusyBox-based development environment I know of, and I really doubt
>> you're using Firmware Linux. (For one thing, I haven't updated its web page
>> in months. Or for that matter, had time to work on it...)
>>
>>> Thanks in advance.
>> What on earth are you trying to do?
>>
>> Back up from busybox a bit:
>>
>> You need to know what specific questions to ask before we can give you answers
>> that mean anything, and doesn't help to wander into a florist with questions
>> about bricklaying. If FireFox is segfaulting for you, you might want to ask
>> why on the firefox list...
>>
>> Rob
>
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://busybox.net/cgi-bin/mailman/listinfo/busybox
>
>
>
More information about the busybox
mailing list