nikhilm / node-taglib

Simple taglib bindings to Javascript using node.js
http://nikhilm.github.com/node-taglib
MIT License
147 stars 25 forks source link

Symlink in lib for taglib_binding.node points into build/Release, but build artifacts go into build/default #11

Closed orospakr closed 12 years ago

orospakr commented 12 years ago

I got around it in my local tree by doing:

cd build
ln -s default Release

Admittedly, I don't know much about waf, so I may be missing something trivial here.

orospakr commented 12 years ago

In the interest of searchability, the build error produced by this problem is:

Traceback (most recent call last):
  File "/usr/local/bin/node-waf", line 16, in <module>
    Scripting.prepare(t, os.getcwd(), VERSION, wafdir)
  File "/usr/local/bin/../lib/node/wafadmin/Scripting.py", line 145, in prepare
    prepare_impl(t, cwd, ver, wafdir)
  File "/usr/local/bin/../lib/node/wafadmin/Scripting.py", line 135, in prepare_impl
    main()
  File "/usr/local/bin/../lib/node/wafadmin/Scripting.py", line 188, in main
    fun(ctx)
  File "/usr/local/bin/../lib/node/wafadmin/Scripting.py", line 386, in build
    return build_impl(bld)
  File "/usr/local/bin/../lib/node/wafadmin/Scripting.py", line 411, in build_impl
    bld.post_build()
  File "/usr/local/bin/../lib/node/wafadmin/Build.py", line 1003, in post_build
    m(self)
  File "/home/orospakr/code/others/node-taglib/wscript", line 21, in post_build
    os.symlink( '../build/Release/taglib_binding.node', 'lib/taglib_binding.node')
OSError: [Errno 17] File exists