Skip to content
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

ACE needs working build and/or instructions. (Part 2) #341

Closed
iebuggy opened this issue Jul 12, 2011 · 3 comments
Closed

ACE needs working build and/or instructions. (Part 2) #341

iebuggy opened this issue Jul 12, 2011 · 3 comments

Comments

@iebuggy
Copy link
Contributor

iebuggy commented Jul 12, 2011

The updated Wiki instructions are still not working. Here's what I executed:

guest@ubuntu:~$ git clone git://github.com/ajaxorg/ace.git
Initialized empty Git repository in /home/guest/ace/.git/
remote: Counting objects: 12347, done.
remote: Compressing objects: 100% (3554/3554), done.
remote: Total 12347 (delta 8259), reused 11627 (delta 7639)
Receiving objects: 100% (12347/12347), 4.92 MiB | 494 KiB/s, done.
Resolving deltas: 100% (8259/8259), done.
guest@ubuntu:~$ cd ace
guest@ubuntu:~/ace$ git submodule update --init --recursive
Submodule 'support/cockpit' (git://github.com/ajaxorg/cockpit.git) registered for path 'support/cockpit'
Submodule 'support/dryice' (git://github.com/ajaxorg/dryice.git) registered for path 'support/dryice'
Submodule 'support/pilot' (git://github.com/ajaxorg/pilot.git) registered for path 'support/pilot'
Initialized empty Git repository in /home/guest/ace/support/cockpit/.git/
remote: Counting objects: 6530, done.
remote: Compressing objects: 100% (1764/1764), done.
remote: Total 6530 (delta 4251), reused 6472 (delta 4209)
Receiving objects: 100% (6530/6530), 1.35 MiB | 518 KiB/s, done.
Resolving deltas: 100% (4251/4251), done.
Submodule path 'support/cockpit': checked out '33f02ab3af5d755c98b3c58309ac2c62fc6de736'
Initialized empty Git repository in /home/guest/ace/support/dryice/.git/
remote: Counting objects: 120, done.
remote: Compressing objects: 100% (84/84), done.
remote: Total 120 (delta 41), reused 0 (delta 0)
Receiving objects: 100% (120/120), 35.32 KiB, done.
Resolving deltas: 100% (41/41), done.
Submodule path 'support/dryice': checked out '526081177013d46d6a80c0e581412e4279296360'
Initialized empty Git repository in /home/guest/ace/support/pilot/.git/
remote: Counting objects: 5556, done.
remote: Compressing objects: 100% (1539/1539), done.
remote: Total 5556 (delta 3655), reused 5470 (delta 3578)
Receiving objects: 100% (5556/5556), 1.11 MiB | 386 KiB/s, done.
Resolving deltas: 100% (3655/3655), done.
Submodule path 'support/pilot': checked out '1442bd4d574686c5b300daeaaf8fbd0b73c77e21'
guest@ubuntu:~/ace$ make clean
rm -rf build
rm -rf ace-*
rm -f ace-*.tgz
guest@ubuntu:~/ace$ make build
mkdir -p build/src
mkdir -p build/textarea/src
./Makefile.dryice.js normal
using targetDir ' build '

node.js:134
        throw e; // process.nextTick error, or 'error' event on first tick
        ^
Error: Cannot find module 'dryice'
    at Function._resolveFilename (module.js:317:11)
    at Function._load (module.js:262:25)
    at require (module.js:346:19)
    at Object.<anonymous> (/home/guest/ace/Makefile.dryice.js:75:12)
    at Module._compile (module.js:402:26)
    at Object..js (module.js:408:10)
    at Module.load (module.js:334:31)
    at Function._load (module.js:293:12)
    at Array.<anonymous> (module.js:421:10)
    at EventEmitter._tickCallback (node.js:126:26)
make: *** [build] Error 1
guest@ubuntu:~/ace$ 

Which is precisely following the Wiki build instructions. Here's some environment information:

guest@ubuntu:~/ace$ node --version
v0.4.9
guest@ubuntu:~/ace$ npm --version
1.0.15
guest@ubuntu:~/ace$ npm list
npm WARN asyncjs >=0.0.2 Unmet dependency in /home/guest/ace
npm WARN htmlparser >=1.7.2 Unmet dependency in /home/guest/ace
npm WARN jsdom >=0.1.23 Unmet dependency in /home/guest/ace
npm WARN mime >=1.2.1 Unmet dependency in /home/guest/ace
ace@0.1.6 /home/guest/ace
+-- UNMET DEPENDENCY asyncjs >=0.0.2
+-- UNMET DEPENDENCY htmlparser >=1.7.2
+-- UNMET DEPENDENCY jsdom >=0.1.23
+-- UNMET DEPENDENCY mime >=1.2.1
guest@ubuntu:~/ace$ node
> require.paths
[ '/home/guest/.node_modules', '/home/guest/.node_libraries', '/usr/lib/node' ]
@fjakobs
Copy link
Contributor

fjakobs commented Jul 20, 2011

Right, dryice from the submodules is not in the search path. Fixed that.

@fjakobs fjakobs closed this as completed Jul 20, 2011
@iebuggy
Copy link
Contributor Author

iebuggy commented Jul 20, 2011

Hooray! I've successfully built it now. Updated the Wiki with more detailed instructions. Thank you very much.

@fjakobs
Copy link
Contributor

fjakobs commented Jul 20, 2011

nice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants