Skip to content
This repository has been archived by the owner on Oct 19, 2019. It is now read-only.

README: Use go get -d to retrieve v8worker2 #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dlespiau
Copy link
Contributor

@dlespiau dlespiau commented Nov 2, 2018

The very first time one tries to do a go get, it fails with:

  # 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

because go get will try to build the package and v8 hasn't been built yet and
the cgo pass of the compilation can't find the pkg-config file.

To avoid that, use the -d option: go get will only download the package and not
build it.

The very first time one tries to do a go get, it fails with:

  # 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

because go get will try to build the package and v8 hasn't been built yet and
the cgo pass of the compilation can't find the pkg-config file.

To avoid that, use the -d option: go get will only download the package and not
build it.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant