-
Notifications
You must be signed in to change notification settings - Fork 465
Building scripting now uses depot tools from $PATH env variable #75
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
Conversation
…b/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/depot_tools:/usr/local/apache-maven/bin env-varible, resolving "File node-webrtc/tools/depot_tools/gclient.py, line 1926, in <module>" issue. Plus put options to sync following as reported https://code.google.com/p/webrtc/issues/detail?id=2790
…b/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/depot_tools:/usr/local/apache-maven/bin env-varible, resolving "File node-webrtc/tools/depot_tools/gclient.py, line 1926, in <module>" issue. Plus put options to sync following as reported https://code.google.com/p/webrtc/issues/detail?id=2790
i downloaded your code and after executing it, it passed the point of previous tries and started to compile things. Also, it downloaded a lot of useless resources (WebRTC logo? Wav files? WTF?!?!) but at one point I got
After executing the command myself by hand (luckily it now it's shown! :-) ) it told me
After searching on internet, it seems I was missing the libudev-dev package, now the command says
After that I relaunched the command (without removing the files from the previous one) and got similar messages, fixed installing packages libdrm, libgconf2-dev, libgcrypt11-dev, libpci-dev and libxtst-dev... one by one #pleaseKillMe After installing all of them it started to compile everything, and due to the time it wasted I believe it calculated the last digit of Pi too, but finally it finished to compile and the tests passed successfully. The next time I'll invoke to Cthulhu, it will be easier. The great news are, finally I got to exec one of the tests of WebP2P.io, my WebRTC handshake library, on Node.js:
Dude, I own you a 🍺 ;-) |
Hrm, those prereqs aren't listed here http://www.webrtc.org/reference/getting-started/prerequisite-sw. The build script should do a check for those before anything is downloaded. |
The info you've pointed is totally outdated. For example, since several Send from my Samsung Galaxy Note II
|
OK, well my comment about checking during the build process before we start downloading stuff is still relevant. Also, I'm not sure how to get rid of those extraneous files (images, etc) but that would be nice also. |
@@ -14,10 +14,11 @@ | |||
, LIB_WEBRTC_DIR = LIB_DIR + '/libwebrtc' | |||
, TOOLS_DIR = PROJECT_DIR + '/tools' | |||
, TOOLS_DEPOT_TOOLS_DIR = TOOLS_DIR + '/depot_tools' | |||
, GCLIENT = TOOLS_DEPOT_TOOLS_DIR + '/gclient' | |||
, GCLIENT = 'gclient' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the script has downloaded depot_tools, will this command find it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, the key fact is that for the build execution environment I append the folder
Yes: look that TOOLS_DEPOT_TOOLS_DIR is being added to the path... In fact, I believe this is the reason why now it works, since now all the depot tools are on the path and can be found (but this doesn't means I doesn't believe this feels hacky, but if it's a gclient issue and there's no other solution...). |
Building scripting now uses depot tools from $PATH env variable
@piranna @modeswitch Thanks for the work on this FYI my final list of deps on Ubuntu 13.10 was :
N.B libdrm-dev not libdrm |
You are welcome :-) |
Hi,
as I stated in #72 here is the fix on the python issue.
I'm open to review my work.