Re: [crux-arm] Compiling web browser on RPI2
Hey Guido, to build firefox (I haven't tested midori but if it needs qt you'll hit the same problem while building that beast) you need a big amount of swap. I've built firefox and chromium on the cubieboard2 without problems but I'm using 14GB of swap file. Probably only ~8-9GB are needed. If you can give a try and report it'd be great. Regards, Victor Martinez Learning bit by bit | http://vjml.es El 04/06/2016 11:31, Guido Caliandro <guido.caliandro@gmail.com> escribió:
Hi all, I'm trying to compile a web browser on my RPI2 on crux-arm 3.2, but every time I try (Firefox or Midori), the build fails killing cc1plus because of a low memory issue. I freed the GPU ram to leave all available memory to the build process, but I had same result.
I also tried to cross compile them using pkgutils-cross and toolchain but no success
I'm considering qemu and a virtual system... what do you think about that? Is there any guide to this kind of processes?
Thank you for your help
Best regards
Guido
Hi Victor, Thanks for your suggestion, I'm sure you found one of my problems, because I had no swap at all on my system, and now the build process works longer than before. I'm having another problem now: After many hours of work, it freeze.... I'm considering the fact that my sdcard could be too much stressed, so at this moment I booted from root=/dev/sda1 (an external usb HDD) and it's working at the moment... I'm waiting for the build to complete and I let you know... Thanks again Regards, Guido 2016-06-04 15:04 GMT+02:00 Víctor Martínez <pitillo@crux-arm.nu>:
Hey Guido, to build firefox (I haven't tested midori but if it needs qt you'll hit the same problem while building that beast) you need a big amount of swap. I've built firefox and chromium on the cubieboard2 without problems but I'm using 14GB of swap file. Probably only ~8-9GB are needed.
If you can give a try and report it'd be great.
Regards,
Victor Martinez Learning bit by bit | http://vjml.es
El 04/06/2016 11:31, Guido Caliandro <guido.caliandro@gmail.com> escribió:
Hi all, I'm trying to compile a web browser on my RPI2 on crux-arm 3.2, but
I freed the GPU ram to leave all available memory to the build process, but I had same result.
I also tried to cross compile them using pkgutils-cross and toolchain but no success
I'm considering qemu and a virtual system... what do you think about
every time I try (Firefox or Midori), the build fails killing cc1plus because of a low memory issue. that?
Is there any guide to this kind of processes?
Thank you for your help
Best regards
Guido
Hello i've also been trying to build Firefox and Icecat on pi without success; -- libxul linking crashes to 'read only segment has dynamic relocations' ... -- i have about 16GB swap on usb stick -- my configure attached Comments ? /mc Quoting Víctor Martínez <pitillo@crux-arm.nu>:
Hey Guido, to build firefox (I haven't tested midori but if it needs qt you'll hit the same problem while building that beast) you need a big amount of swap. I've built firefox and chromium on the cubieboard2 without problems but I'm using 14GB of swap file. Probably only ~8-9GB are needed.
If you can give a try and report it'd be great.
Regards,
Victor Martinez Learning bit by bit | http://vjml.es
El 04/06/2016 11:31, Guido Caliandro <guido.caliandro@gmail.com> escribió:
Hi all, I'm trying to compile a web browser on my RPI2 on crux-arm 3.2, but every time I try (Firefox or Midori), the build fails killing cc1plus because of a low memory issue. I freed the GPU ram to leave all available memory to the build process, but I had same result.
I also tried to cross compile them using pkgutils-cross and toolchain but no success
I'm considering qemu and a virtual system... what do you think about that? Is there any guide to this kind of processes?
Thank you for your help
Best regards
Guido
_______________________________________________ crux-arm mailing list crux-arm@crux-arm.nu https://crux-arm.nu/mailman/listinfo/crux-arm
keep-IT-simple
Hi all, Please excuse me I forgot to describe my results: After moving my root partition from scard to an USB hdd, modifying /boot/cmdline.txt and /etc/fstab, and adding 16GB of swap file on hdd, I successfully compiled Firefox, chromium and midori (the fastest browser in my system). I had to install another font (I don't remember exactly which one... Dejavu?) to permit Firefox to run.... Thank you for your suggestions Guido Il 04/ago/2016 08:59 PM, "matti christensen" <mattic@iki.fi> ha scritto:
Hello
i've also been trying to build Firefox and Icecat on pi without success;
-- libxul linking crashes to 'read only segment has dynamic relocations' ...
-- i have about 16GB swap on usb stick
-- my configure attached
Comments ?
/mc
Quoting Víctor Martínez <pitillo@crux-arm.nu>:
Hey Guido,
to build firefox (I haven't tested midori but if it needs qt you'll hit the same problem while building that beast) you need a big amount of swap. I've built firefox and chromium on the cubieboard2 without problems but I'm using 14GB of swap file. Probably only ~8-9GB are needed.
If you can give a try and report it'd be great.
Regards,
Victor Martinez Learning bit by bit | http://vjml.es
El 04/06/2016 11:31, Guido Caliandro <guido.caliandro@gmail.com> escribió:
Hi all, I'm trying to compile a web browser on my RPI2 on crux-arm 3.2, but every time I try (Firefox or Midori), the build fails killing cc1plus because of a low memory issue. I freed the GPU ram to leave all available memory to the build process, but I had same result.
I also tried to cross compile them using pkgutils-cross and toolchain but no success
I'm considering qemu and a virtual system... what do you think about that? Is there any guide to this kind of processes?
Thank you for your help
Best regards
Guido
_______________________________________________ crux-arm mailing list crux-arm@crux-arm.nu https://crux-arm.nu/mailman/listinfo/crux-arm
keep-IT-simple
_______________________________________________ crux-arm mailing list crux-arm@crux-arm.nu https://crux-arm.nu/mailman/listinfo/crux-arm
participants (3)
-
Guido Caliandro
-
matti christensen
-
Víctor Martínez