Closed refreshdev closed 4 years ago
Never mind... I found the blurb about Ubuntu and was able to figure out an installation method. For those on Ubuntu/Apache... I've pasted the steps I've used.
Install package(s):
sudo add-apt-repository ppa:stesie/libv8
sudo apt-get update
sudo apt-get install libv8-7.5-dev php7.2-dev
Install v8js extension:
sudo pecl install v8js
When prompted for the installation prefix of libv8
/opt/libv8-7.5
This is the part that has puzzled me forever, the "autodetect" doesn't work during the module installation process. If the "/opt/libv8-7.5" path doesn't work for you, just try using "find" to search for the "libv8-7.5" file.
Open the PHP/Apache configuration INI file:
sudo nano /etc/php/7.2/apache2/php.ini
Append the following lines
[v8js]
; Load the v8js extension
extension=v8js.so
Save and exit
Restart the Apache service:
sudo service apache2 restart
It seems my system consistently stalls on the "ninja" (ninja -C out.gn/x64.release/) command at a step in the 300s. I'm using Putty through SSH to build the module.
How long should I expect the build to take? Is there any minimum hardware requirements?