LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   unable to build firefox 25 on slackware 14.0 (https://www.linuxquestions.org/questions/slackware-14/unable-to-build-firefox-25-on-slackware-14-0-a-4175483432/)

vonbiber 11-05-2013 03:15 AM

unable to build firefox 25 on slackware 14.0
 
I tried to build firefox 25 with a slackbuild that I used successfully in previous versions.
This time it stopped with an error (the link stage) and complaining
about a lack of memory.

I have a lenovo T430s with 4GB RAM.
I ran configure with the following options:
Code:

--enable-official-branding --prefix=/usr --libdir=/usr/lib$LIB \
--sysconfdir=/etc --localstatedir=/var \
--infodir=$PREFIX/info --mandir=$PREFIX/man \
--with-default-mozilla-five-home=/usr/lib$LIB/firefox-$VERSION \
--with-system-zlib --enable-application=browser \
--enable-default-toolkit=cairo-gtk2 --enable-startup-notification \
--enable-crypto --enable-svg --enable-canvas --enable-logging \
--enable-xft --enable-webm --enable-xinerama --enable-optimize \
--enable-reorder --enable-strip --enable-cpp-rtti \
--enable-single-profile --disable-ldap \
--disable-accessibility --disable-crashreporter \
--disable-debug --disable-tests --disable-pedantic \
--disable-installer --disable-mailnews --disable-composer \
--disable-profilesharing

Has anybody ran into a similar problem?

jtsn 11-05-2013 03:29 AM

Quote:

Originally Posted by vonbiber (Post 5058606)
This time it stopped with an error (the link stage) and complaining
about a lack of memory.

It's a well known problem and already hit the windows build years earlier:

http://www.h-online.com/open/news/it...s-1393772.html

Firefox is now to bloated to build on 32 bit systems. That's the definition of bloat per se. ;)

You can try using a 64 bit kernel (not Slackware64, kernel only) to get around it. It gives you one additional GB of virtual address space.

ponce 11-05-2013 04:03 AM

you can create a swapfile ad use it as additional swap memory, like this
Code:

fallocate -l 10G /swapfile
mkswap /swapfile
swapon /swapfile


mjjzf 11-05-2013 07:12 AM

I ran the Latest Firefox script by Ruari, and that worked as it should.


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