Closed tommymarshall closed 9 years ago
V8js depends on libv8, run sudo apt-get install libv8-dev libv8-dbg g++ cpp
before installing it with pecl
(source).
Say me if that worked !
Thanks for opening the issue, I'm gonna update it at the README !
Thanks for the quick response! There must be something funky with the Vagrant Box, because:
vagrant@homestead:~$ sudo apt-get install libv8-dev libv8-dbg g++ cpp
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libv8-dbg is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libv8-dbg' has no installation candidate
I installed libv8 using gem install libv8
. That got me further into the process, then:
vagrant@homestead:~$ sudo apt-get install libv8-dev libv8-dbg g++ cpp
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libv8-dbg is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libv8-dbg' has no installation candidate
vagrant@homestead:~$ sudo apt-get install libv8-dev g++ cppf
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package cppf
vagrant@homestead:~$ sudo apt-get install libv8-dev g++
Reading package lists... Done
Building dependency tree
Reading state information... Done
g++ is already the newest version.
libv8-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
But then I don't have libv8-dpg or cppf :/ #tears
I'm not sure thar libv8-dbg is really necessary (gotta check it later and them update the REAME me again, sorry by the inconvenient).
And I guess you commited a typo there, it's cpp
, not cppf
!
Try just this: sudo apt-get install libv8-dev g++
.
Edit:
Just installed it in homestead using sudo apt-get install libv8-dev g++
:D
When asked for libv8 location, use /opt/v8
.
Thank you so much. /opt/v8 is the path I have been looking for.
God bless you.
Any ideas what to do when /opt/v8 doesn't exist? I have all the packages installed.
Follow the steps in this article:
http://wiki.dreamfactory.com/DreamFactory/APT/Ubuntu_16.04/Modules/v8js
On Fri, Jul 20, 2018, 08:01 Daniel Pasch notifications@github.com wrote:
Any ideas what to do when /opt/v8 doesn't exist? I have all the packages installed.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/talyssonoc/react-laravel/issues/10#issuecomment-406507818, or mute the thread https://github.com/notifications/unsubscribe-auth/AA2FZgTEp8U1774-CtpcAoCCoYBsvyI5ks5uIYAxgaJpZM4D9SHl .
I know this is only loosely related to your repo, but I thought getting an issue up would be a good reference for those of us debugging getting v8js installed.
Most of us use Laravel's Homestead vagrant box environment. I have a newly provisioned VM and, when I run the installation for v8js, I get the below error/output:
I ran
pecl channel-update pecl.php.net
, but the error persists. Any ideas?