Deno: Failed to open 'v8.pc': No such file or directory

Created on 2 Jun 2018  路  6Comments  路  Source: denoland/deno

go get -u github.com/ry/deno/...
# pkg-config --cflags v8.pc
Failed to open 'v8.pc': No such file or directory
No package 'v8.pc' found
pkg-config: exit status 1

This looked similar to https://github.com/ry/v8worker/issues/23 however the fix recommended there did not fix the problem at hand.

All 6 comments

@samccone did you try this:

go get github.com/ry/v8worker2
cd `go env GOPATH`/src/github.com/ry/v8worker2
./build.py # Will take ~30 minutes to compile.
go test

Yes, everything ended up working just fine, I opened a README change (see linked PR) to clarify that you expect to see this error on initial install.

Thank you.

I get this error when building it (https://github.com/ry/v8worker2/issues/7).

Anything I can do to fix it?

@nikitavoloboev I build successfully using this:

$ brew install ccache
$ mkdir -p $GOPATH/src/github.com/ry
$ git clone --recursive -j8 [email protected]:ry/v8worker2.git
$ cd $GOPATH/src/github.com/ryv8worker2
$ pyenv use 2.7.13
$ ./build.py --use_ccache

I think the key is to download submodules and to use python2.

Hope this will help.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

davidbarratt picture davidbarratt  路  3Comments

xueqingxiao picture xueqingxiao  路  3Comments

justjavac picture justjavac  路  3Comments

metakeule picture metakeule  路  3Comments

ry picture ry  路  3Comments