Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hacking instructions #2

Open
dominictarr opened this issue Jun 2, 2016 · 5 comments
Open

hacking instructions #2

dominictarr opened this issue Jun 2, 2016 · 5 comments

Comments

@dominictarr
Copy link

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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
Copy link
Owner

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
Copy link
Author

Sounds great!
On Jun 2, 2016 20:11, "Chris Dickinson" [email protected] 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
#2 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AAP1LobfILlB285xE4JQQEy92u7PxHR6ks5qHpBLgaJpZM4IsQoM
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants