2016年06月19日 firefox-47.0 and autoconf-2.13 [長年日記]
_ firefox-47.0 and autoconf-2.13
I have tried to build firefox-47.0, but it failed :<
$ nice make -f client.mk build ... snip ... js/src> Could not find autoconf 2.13 *** Fix above errors and then restart with\
but I have already installed autoconf.
$ autoconf --version autoconf (GNU Autoconf) 2.69 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+/Autoconf: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David J. MacKenzie and Akim Demaille.
I don't know why, but firefox-47.0 (or later?) require just autoconf-2.13 to build itself. so, I have installed autoconf-2.13 to only build firefox-47.0 in /usr/local/autoconf-2.13.
$ tar xvvf autoconf-2.13.tar.gz $ cd autoconf-2.13 $ ./configure --prefix=/usr/local/autoconf-2.13 $ make # make install # cd /usr/local/autoconf-2.13/bin # ln -s autoconf autoconf-2.13
and then I have edited .mozconfig like this.
export LDFLAGS="-latomic" . $topsrcdir/browser/config/mozconfig ac_add_options --enable-optimize ac_add_options --enable-default-toolkit=cairo-gtk2 ac_add_options --disable-debug ac_add_options --disable-tests ac_add_options --disable-mochitest ac_add_options --enable-gstreamer=1.0
and build & install like this.
$ PATH=${PATH}:/usr/local/autoconf-2.13/bin/; export PATH $ nice make -f client.mk build && cd obj-i686-pc-linux-gnu/ && nice make package # mkdir /usr/local/firefox-47.0 # cd /usr/local/firefox-47.0 # tar xvvf /home/m-ito/tmp/firefox-47.0/obj-i686-pc-linux-gnu/dist/firefox-47.0.en-US.linux-i686.tar.bz2 # mkdir /usr/local/gecko-sdk-47.0 # cd /usr/local/gecko-sdk-47.0 # cp -rL /home/m-ito/tmp/firefox-47.0/obj-i686-pc-linux-gnu/dist/sdk . # cd sdk # cp -rL /home/m-ito/tmp/firefox-47.0/obj-i686-pc-linux-gnu/dist/idl . # cp -rL /home/m-ito/tmp/firefox-47.0/obj-i686-pc-linux-gnu/dist/include .
Finally I have succeeded to build and install :)