Hi all,

I am attempting to build v8 from source by following the directions here
<https://github.com/v8/v8/wiki/Building-from-Source>.

However, I am receiving an error on step 4, "Generate the necessary build
files by executing the following in your terminal/shell:". When executing

`tools/dev/v8gen.py x64.release`

I receive an error saying that pkg_config.gni returned with some non-zero
exit code.

Complete error log is attached.

Has anyone encountered this error before / know how to resolve?

Thanks,
Benny

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.
################################################################################
/usr/bin/python -u tools/mb/mb.py gen -f infra/mb/mb_config.pyl -m 
developer_default -b x64.release out.gn/x64.release
  
  Writing """\
  is_debug = false
  target_cpu = "x64"
  """ to /home/benny/v8/out.gn/x64.release/args.gn.
  
  /home/benny/v8/buildtools/linux64/gn gen out.gn/x64.release --check
    -> returned 1
  ERROR at //build/config/linux/pkg_config.gni:103:17: Script returned non-zero 
exit code.
      pkgresult = exec_script(pkg_config_script, args, "value")
                  ^----------
  Current dir: /home/benny/v8/out.gn/x64.release/
  Command: python -- /home/benny/v8/build/config/linux/pkg-config.py -s 
/home/benny/v8/build/linux/debian_jessie_amd64-sysroot -a x64 glib-2.0 
gmodule-2.0 gobject-2.0 gthread-2.0
  Returned 1.
  stderr:
  
  Traceback (most recent call last):
    File "/home/benny/v8/build/config/linux/pkg-config.py", line 219, in 
<module>
      sys.exit(main())
    File "/home/benny/v8/build/config/linux/pkg-config.py", line 138, in main
      prefix = GetPkgConfigPrefixToStrip(options, args)
    File "/home/benny/v8/build/config/linux/pkg-config.py", line 80, in 
GetPkgConfigPrefixToStrip
      "--variable=prefix"] + args, env=os.environ)
    File "/usr/lib/python2.7/subprocess.py", line 567, in check_output
      process = Popen(stdout=PIPE, *popenargs, **kwargs)
    File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
      errread, errwrite)
    File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
      raise child_exception
  OSError: [Errno 2] No such file or directory
  
  See //build/config/linux/BUILD.gn:83:3: whence it was called.
    pkg_config("glib") {
    ^-------------------
  See //build/config/compiler/BUILD.gn:179:18: which caused the file to be 
included.
      configs += [ "//build/config/linux:compiler" ]
                   ^------------------------------
  GN gen failed: 1

Reply via email to