On 08/09/15 21:15, Mattias Schlenker wrote:
Am 09.08.2015 um 20:52 schrieb Tim Tassonis:
Hi all
I've successfully built the latest firefox following the BLFS
instruction.
What I want to differently is to install firefox not under
/usr/lib/firefox-39.0.3, but under /opt/firefox.
My first try was to change mozconfig. Instead of
ac_add_options --prefix=/usr
I specified
ac_add_options --prefix=/opt/firefox
Hi Tim,
I am maintaining LessLinux, a distribution loosely (well quite closely)
based on (B)LFS. In LessLinux we build firefox, create a package and
unpack it again. You might take a look at our build definitions here:
https://github.com/mschlenker/lesslinux-builder/blob/master/scripts/stage02.unstable/5800_firefox.xml
This file references a config file that can be found here:
http://distfiles.lesslinux.org/mozconfig-firefox-33.0-20141115
Be aware that some of the parameters in the mozconfig are changed during
the patch/build stage. Building, packaging and unpacking again should
work for your task as well.
Thanks a lot, had a look and gave me some more interesting insights.
In the end, I went for the simple
make -f client.mk DESTDIR=/tmp/ff-inst install INSTALL_SDK=
mv /tmp/ff-inst/opt/firefox/lib/firefox-39.0.3 /opt/firefox
This seems to do the trick as well, it's running fine afterwards.
Kind regards
Tim
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page