chrisdickinson / nojs

:cloud::cloud: nothing to see, a PLAN, and the ability to load lodash :cloud::cloud:
BSD 3-Clause "New" or "Revised" License
73 stars 3 forks source link

hacking instructions #2

Open dominictarr opened 8 years ago

dominictarr commented 8 years ago

are those instructions completely correct?

I think you might need to run gclient config https://github.com/chrisdickinson/nojs.git or at least gclient sync from inside nojs repo

dominictarr commented 8 years ago

okay no that ran into problems, for some reason it didn't seem to download v8. i deleted my nojs dir and am trying again...

dominictarr commented 8 years ago

ah, no the problem was that since I am running on a simple docker image it didn't have things that scripts expected to exist (like curl) but they didn't error in a friendly way.

dominictarr commented 8 years ago

ah, and now there is another problem just like that one...

ERROR at //build/config/linux/pkg_config.gni:86:17: Script returned non-zero exit code.
    pkgresult = exec_script(pkg_config_script, args, "value")
                ^----------
Current dir: /home/nojs/out/Default/
Command: python -- /home/nojs/build/config/linux/pkg-config.py -s /home/nojs/build/linux/debian_wheezy_amd64-sysroot -a x64 --system_libdir lib freetype2
Returned 1.
stderr:

Traceback (most recent call last):
  File "/home/nojs/build/config/linux/pkg-config.py", line 219, in <module>
    sys.exit(main())
  File "/home/nojs/build/config/linux/pkg-config.py", line 138, in main
    prefix = GetPkgConfigPrefixToStrip(args)
  File "/home/nojs/build/config/linux/pkg-config.py", line 80, in GetPkgConfigPrefixToStrip
    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 1340, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

why is it //build is that right?

chrisdickinson commented 8 years ago

I'm hacking through this concurrently on a trusty box. The build bits are from chromium, so there's cruft to rip out — in this case, pkg-config is totally unnecessary.

I just got it building on trusty five minutes ago and am retracing my steps to make sure I've got it.

dominictarr commented 8 years ago

Sounds great! On Jun 2, 2016 20:11, "Chris Dickinson" notifications@github.com wrote:

I'm hacking through this concurrently on a trusty box. The build bits are from chromium, so there's cruft to rip out — in this case, pkg-config is totally unnecessary.

I just got it building on trusty five minutes ago and am retracing my steps to make sure I've got it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/chrisdickinson/nojs/issues/2#issuecomment-223224566, or mute the thread https://github.com/notifications/unsubscribe/AAP1LobfILlB285xE4JQQEy92u7PxHR6ks5qHpBLgaJpZM4IsQoM .