Comments (16)
Which platform are you on?
from node-webrtc.
MAC 10.6.8
I did attempt to build webrtc first using the instructions found here: http://www.webrtc.org/reference/getting-started
Not sure if that would cause something to be out of whack.
Then I did more research and found that I could use npm and since I'd like to use webrtc in a node.js SPA, I thought that would work out really well.
from node-webrtc.
Oh, and I have XCode 3.2.6 installed.
from node-webrtc.
I haven't officially added support for osx yet. That said, I'm surprised it's failing during sync. Can you jump into node_modules/wrtc/third_party/libwebrtc/
and run gclient sync
and see what you get?
from node-webrtc.
Ok, that took a while, I'm not sure what to post here so I'll just do the tail end of the output:
Hook '/usr/bin/python trunk/tools/clang/scripts/update.py --mac-only' took 3040.51 secs
________ running '/usr/bin/python trunk/build/win/setup_cygwin_mount.py --win-only' in '/Users/matt/work/nextgen/studioGit/mp-studio/node_modules/wrtc/third_party/libwebrtc'
________ running '/usr/bin/python trunk/build/gyp_chromium --depth=trunk trunk/all.gyp -Dextra_gyp_flag=0' in '/Users/matt/work/nextgen/studioGit/mp-studio/node_modules/wrtc/third_party/libwebrtc'
Generating gyp files from GN...
Traceback (most recent call last):
File "trunk/build/gyp_chromium", line 309, in
if not RunGN(supplemental_includes):
File "trunk/build/gyp_chromium", line 258, in RunGN
return subprocess.call(args) == 0
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 444, in call
return Popen(_popenargs, *_kwargs).wait()
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 595, in init
errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 1106, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Error: Command /usr/bin/python trunk/build/gyp_chromium --depth=trunk trunk/all.gyp -Dextra_gyp_flag=0 returned non-zero exit status 1 in /nextgen/studioGit/mp-studio/node_modules/wrtc/third_party/libwebrtc
$
Hope that helps.
from node-webrtc.
I was having just the same error on LinuxMint 16
2014/1/24 mparisi76 [email protected]
Ok, that took a while, I'm not sure what to post here so I'll just do the
tail end of the output:Hook '/usr/bin/python trunk/tools/clang/scripts/update.py --mac-only' took
3040.51 secs________ running '/usr/bin/python trunk/build/win/setup_cygwin_mount.py
--win-only' in
'/Users/matt/work/nextgen/studioGit/mp-studio/node_modules/wrtc/third_party/libwebrtc'________ running '/usr/bin/python trunk/build/gyp_chromium --depth=trunk
trunk/all.gyp -Dextra_gyp_flag=0' in
'/Users/matt/work/nextgen/studioGit/mp-studio/node_modules/wrtc/third_party/libwebrtc'
Generating gyp files from GN...
Traceback (most recent call last):
File "trunk/build/gyp_chromium", line 309, in
if not RunGN(supplemental_includes):
File "trunk/build/gyp_chromium", line 258, in RunGN
return subprocess.call(args) == 0
File
"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py",
line 444, in call
return Popen(_popenargs, *_kwargs).wait()
File
"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py",
line 595, in init
errread, errwrite)
File
"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py",
line 1106, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Error: Command /usr/bin/python trunk/build/gyp_chromium --depth=trunk
trunk/all.gyp -Dextra_gyp_flag=0 returned non-zero exit status 1 in
/Users/matt/work/nextgen/studioGit/mp-studio/node_modules/wrtc/third_party/libwebrtc
$Hope that helps.
Reply to this email directly or view it on GitHubhttps://github.com//issues/58#issuecomment-33255909
.
"Si quieres viajar alrededor del mundo y ser invitado a hablar en un monton
de sitios diferentes, simplemente escribe un sistema operativo Unix."
- Linus Tordvals, creador del sistema operativo Linux
from node-webrtc.
Seems there's a bug on the depot tools:
https://groups.google.com/forum/#!topic/discuss-webrtc/Y7DQL_YpueE
https://code.google.com/p/webrtc/issues/detail?id=2790
from node-webrtc.
I'm leaning more in favour of source controlling all our deps.
from node-webrtc.
What do you mean? Local copy of all deps on our repo?
2014-01-27 Alan K [email protected]
I'm leaning more in favour of source controlling all our deps.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/58#issuecomment-33399157
.
"Si quieres viajar alrededor del mundo y ser invitado a hablar en un monton
de sitios diferentes, simplemente escribe un sistema operativo Unix."
– Linus Tordvals, creador del sistema operativo Linux
from node-webrtc.
Yeah, something like that. If we also have prebuilt binaries for common platforms then it won't be so bad.
from node-webrtc.
+1, compiling times are really long, but I admit a huge part of this time
is downloading... We can check about having local copies of the code and
tools and if the time/size is still huge, go for prebuilt binaries.
2014-01-27 Alan K [email protected]
Yeah, something like that. If we also have prebuilt binaries for common
platforms then it won't be so bad.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/58#issuecomment-33410773
.
"Si quieres viajar alrededor del mundo y ser invitado a hablar en un monton
de sitios diferentes, simplemente escribe un sistema operativo Unix."
– Linus Tordvals, creador del sistema operativo Linux
from node-webrtc.
I just tried this again and it got a little further.
npm install wrtc made it all the way to:
ninja_build
..................................................................................
ninja_build failed: 1 null
Anything I can do here to debug this?
Thanks.
from node-webrtc.
In third_party/libwebrtc
, run ninja -C trunk/out/Release
and see what you get.
from node-webrtc.
I had quite a long FAIL trace so I will post the very end of it:
SyntaxError: invalid syntax
[3/2735] LIBTOOL-STATIC libtest.a, POSTBUILDS
FAILED: rm -f libtest.a && ./gyp-mac-tool filter-libtool libtool -static -o libtest.a obj/webrtc/test/libtest/helpers/libtest.bit_flip_encryption.o obj/webrtc/test/libtest/helpers/libtest.random_encryption.o
File "./gyp-mac-tool", line 507
return {k: self._ExpandVariables(data[k], substitutions) for k in data}
^
SyntaxError: invalid syntax
[3/2735] CC obj/third_party/opus/src/celt/opus.celt_encoder.o
ninja: build stopped: subcommand failed.
$
Let me know if you'd like the other info as well.
from node-webrtc.
Not sure if this helps. It was in npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/Cellar/node/0.10.21/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'test' ]
2 info using [email protected]
3 info using [email protected]
4 error Error: ENOENT, open '/work/nextgen/studioGit/mp-studio/node_modules/wrtc/third_party/libwebrtc/package.json'
5 error If you need help, you may report this log at:
5 error http://github.com/isaacs/npm/issues
5 error or email it to:
5 error [email protected]
6 error System Darwin 10.8.0
7 error command "/usr/local/Cellar/node/0.10.21/bin/node" "/usr/local/bin/npm" "test"
8 error cwd /work/nextgen/studioGit/mp-studio/node_modules/wrtc/third_party/libwebrtc
9 error node -v v0.10.21
10 error npm -v 1.3.11
11 error path /work/nextgen/studioGit/mp-studio/node_modules/wrtc/third_party/libwebrtc/package.json
12 error code ENOENT
13 error errno 34
14 verbose exit [ 34, true ]
from node-webrtc.
Closing. Please track build failures in #72 for now.
from node-webrtc.
Related Issues (20)
- Nonstandard APIs (RTCAudioSource) : Multiple tracks created from same source, all tracks do not get audio. only latest track gets audio. HOT 1
- Forcing a fixed samplerate when using `nonstandard.RTCAudioSink`
- change video quality HOT 9
- streaming video and audio with dely
- `npm i -S wrtc` —> `node-pre-gyp` error HOT 4
- Does it support v4l2 source? HOT 1
- Is this still maintained? HOT 1
- Is Programmatic Video not the real media stream?
- Error in Build from Source
- electron >= 20 crashes if receiving a buffer with simple-peer
- ncmake build failed for wrtc (darwin arm64) HOT 1
- is TURNS (Turn over TLS) supported? HOT 1
- 'npm install wrtc' always failed with http error 503, but wget the tarball succeeded.
- High CPU usage on raspberry pi HOT 2
- Is this repo stale / abandoned? HOT 3
- Cannot download binaries - Darwin m2 Pro 14.0 HOT 4
- i am unable to install on nodejs windows 10 HOT 2
- Is there an easy way to use it for node 18|20 HOT 1
- The dependency to `msdmo.dll` for Windows is not documented HOT 1
- No longer able to install modul wrtc on Macos (M3 Pro) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-webrtc.