我正在努力建立一个非常好的麻省理工学院许可的html5台球游戏。
哪个依赖于kbuild:github.com/kevmoo/kbuild
构建这个谷歌关闭应用程序。
Kbuild依赖于brew,我在linux上,所以我正在使用 https://github.com/Homebrew/linuxbrew
每次构建时,我都会遇到不同的命名空间依赖性错误。 我该如何解决这些问题?
请注意,它并不总是相同的错误。 我不认为我在编程生涯中已经看过这个。
james@agape ~/projects/agent8ball $ ll total 72 drwxr-xr-x 10 james james 4096 Oct 22 02:15 ./ drwxr-xr-x 10 james james 4096 Oct 22 01:41 ../ drwxr-xr-x 6 james james 4096 Oct 22 01:30 app/ drwxr-xr-x 3 james james 4096 Oct 22 02:15 compiled/ drwxr-xr-x 4 james james 4096 Oct 22 01:30 config/ -rw-r--r-- 1 james james 549 Oct 22 01:30 config.kb -rw-r--r-- 1 james james 165 Oct 22 01:30 config.ru -rw-r--r-- 1 james james 190 Oct 22 01:30 Gemfile -rw-r--r-- 1 james james 2425 Oct 22 01:30 Gemfile.lock drwxr-xr-x 8 james james 4096 Oct 22 01:30 .git/ -rw-r--r-- 1 james james 71 Oct 22 01:30 .gitignore -rw-r--r-- 1 james james 234 Oct 22 01:30 .gitmodules drwxr-xr-x 3 james james 4096 Oct 22 01:30 lib/ drwxr-xr-x 7 james james 4096 Oct 22 01:30 public/ -rw-r--r-- 1 james james 275 Oct 22 01:30 Rakefile -rw-r--r-- 1 james james 1297 Oct 22 01:30 README.md drwxr-xr-x 2 james james 4096 Oct 22 01:30 script/ drwxr-xr-x 3 james james 4096 Oct 22 01:30 vendor/ james@agape ~/projects/agent8ball $ ../kbuild/bin/kbuild build kbuild: make_deps kbuild: compile public/javascripts/closure/closure/bin/build/closurebuilder.py: Scanning paths... public/javascripts/closure/closure/bin/build/closurebuilder.py: 873 sources scanned. public/javascripts/closure/closure/bin/build/closurebuilder.py: Building dependency tree.. Traceback (most recent call last): File "public/javascripts/closure/closure/bin/build/closurebuilder.py", line 256, in main() File "public/javascripts/closure/closure/bin/build/closurebuilder.py", line 203, in main tree = depstree.DepsTree(sources) File "/home/james/projects/agent8ball/public/javascripts/closure/closure/bin/build/depstree.py", line 56, in __init__ raise NamespaceNotFoundError(require, source) depstree.NamespaceNotFoundError: Namespace "box2d.PolyDef" never provided. Required in Source public/javascripts/eightball/PoolTable.js james@agape ~/projects/agent8ball $ ../kbuild/bin/kbuild build kbuild: make_deps kbuild: compile public/javascripts/closure/closure/bin/build/closurebuilder.py: Scanning paths... public/javascripts/closure/closure/bin/build/closurebuilder.py: 873 sources scanned. public/javascripts/closure/closure/bin/build/closurebuilder.py: Building dependency tree.. Traceback (most recent call last): File "public/javascripts/closure/closure/bin/build/closurebuilder.py", line 256, in main() File "public/javascripts/closure/closure/bin/build/closurebuilder.py", line 203, in main tree = depstree.DepsTree(sources) File "/home/james/projects/agent8ball/public/javascripts/closure/closure/bin/build/depstree.py", line 56, in __init__ raise NamespaceNotFoundError(require, source) depstree.NamespaceNotFoundError: Namespace "box2d.PolyDef" never provided. Required in Source public/javascripts/eightball/PoolTable.js james@agape ~/projects/agent8ball $ ../kbuild/bin/kbuild build kbuild: make_deps kbuild: compile public/javascripts/closure/closure/bin/build/closurebuilder.py: Scanning paths... public/javascripts/closure/closure/bin/build/closurebuilder.py: 873 sources scanned. public/javascripts/closure/closure/bin/build/closurebuilder.py: Building dependency tree.. Traceback (most recent call last): File "public/javascripts/closure/closure/bin/build/closurebuilder.py", line 256, in main() File "public/javascripts/closure/closure/bin/build/closurebuilder.py", line 203, in main tree = depstree.DepsTree(sources) File "/home/james/projects/agent8ball/public/javascripts/closure/closure/bin/build/depstree.py", line 56, in __init__ raise NamespaceNotFoundError(require, source) depstree.NamespaceNotFoundError: Namespace "pl.KeyBinding" never provided. Required in Source public/javascripts/eightball/application.js james@agape ~/projects/agent8ball $ ../kbuild/bin/kbuild build kbuild: make_deps kbuild: compile public/javascripts/closure/closure/bin/build/closurebuilder.py: Scanning paths... public/javascripts/closure/closure/bin/build/closurebuilder.py: 873 sources scanned. public/javascripts/closure/closure/bin/build/closurebuilder.py: Building dependency tree.. Traceback (most recent call last): File "public/javascripts/closure/closure/bin/build/closurebuilder.py", line 256, in main() File "public/javascripts/closure/closure/bin/build/closurebuilder.py", line 203, in main tree = depstree.DepsTree(sources) File "/home/james/projects/agent8ball/public/javascripts/closure/closure/bin/build/depstree.py", line 56, in __init__ raise NamespaceNotFoundError(require, source) depstree.NamespaceNotFoundError: Namespace "pl.images" never provided. Required in Source public/javascripts/eightball/loader.js james@agape ~/projects/agent8ball $ ../kbuild/bin/kbuild build kbuild: make_deps kbuild: compile public/javascripts/closure/closure/bin/build/closurebuilder.py: Scanning paths... public/javascripts/closure/closure/bin/build/closurebuilder.py: 873 sources scanned. public/javascripts/closure/closure/bin/build/closurebuilder.py: Building dependency tree.. Traceback (most recent call last): File "public/javascripts/closure/closure/bin/build/closurebuilder.py", line 256, in main() File "public/javascripts/closure/closure/bin/build/closurebuilder.py", line 203, in main tree = depstree.DepsTree(sources) File "/home/james/projects/agent8ball/public/javascripts/closure/closure/bin/build/depstree.py", line 56, in __init__ raise NamespaceNotFoundError(require, source) depstree.NamespaceNotFoundError: Namespace "pl.images" never provided. Required in Source public/javascripts/eightball/loader.js james@agape ~/projects/agent8ball $
答案 0 :(得分:0)
我认为你错过了agent8ball / public / javascripts
中的“pl”文件夹似乎这是一个单独的回购 - https://github.com/thinkpixellab/pl/tree/27d32c3b47cafb23ffef19ab246107db53a7f02a