Coder Social home page Coder Social logo

Comments (16)

modeswitch avatar modeswitch commented on May 23, 2024

Which platform are you on?

from node-webrtc.

mparisi76 avatar mparisi76 commented on May 23, 2024

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.

mparisi76 avatar mparisi76 commented on May 23, 2024

Oh, and I have XCode 3.2.6 installed.

from node-webrtc.

modeswitch avatar modeswitch commented on May 23, 2024

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.

mparisi76 avatar mparisi76 commented on May 23, 2024

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.

piranna avatar piranna commented on May 23, 2024

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.

piranna avatar piranna commented on May 23, 2024

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.

modeswitch avatar modeswitch commented on May 23, 2024

I'm leaning more in favour of source controlling all our deps.

from node-webrtc.

piranna avatar piranna commented on May 23, 2024

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.

modeswitch avatar modeswitch commented on May 23, 2024

Yeah, something like that. If we also have prebuilt binaries for common platforms then it won't be so bad.

from node-webrtc.

piranna avatar piranna commented on May 23, 2024

+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.

mparisi76 avatar mparisi76 commented on May 23, 2024

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.

modeswitch avatar modeswitch commented on May 23, 2024

In third_party/libwebrtc, run ninja -C trunk/out/Release and see what you get.

from node-webrtc.

mparisi76 avatar mparisi76 commented on May 23, 2024

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.

mparisi76 avatar mparisi76 commented on May 23, 2024

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.

modeswitch avatar modeswitch commented on May 23, 2024

Closing. Please track build failures in #72 for now.

from node-webrtc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.