"error "[MKDIR] jslib-modular/" make: *** Access is denied."

36 views
Skip to first unread message

Đạt Diệp

unread,
Apr 24, 2014, 3:05:42 PM4/24/14
to turbulenz-e...@googlegroups.com
I have used all such solutions fail. adminitrator right to use, modify and distribute the UAC right folder, all in vain 

Here is an image I captured

please help me !!!!


James Austin

unread,
Apr 24, 2014, 3:46:53 PM4/24/14
to turbulenz-e...@googlegroups.com
What happens if you are in the Python environment and run:

> maketzjs

This should be in the path setup by the python env.


If you just want to explore the Turbulenz JavaScript library - you can also checkout this repo:



Ian Ballantyne

unread,
Apr 25, 2014, 9:52:48 AM4/25/14
to turbulenz-e...@googlegroups.com
It looks like you've run it from the administrator terminal. 

You shouldn't need to do that for the majority of the commands. I would try removing the turbulenz_engine directory and starting again to remove any files that have been created as Administrator.

The only things you might need to be an Administrator to install would be Python and virtualenv, which it sounds like you already have.
 

James Battersby

unread,
Jan 16, 2015, 10:17:42 AM1/16/15
to turbulenz-e...@googlegroups.com
I'm having a similar problem - everytime I run cmd its always as Administrator (since I'm the sole user of my machine). I've written a small bat file that runs the runas command to force it to run cmd as my user profile but I'm still getting the same error:

(env) C:\Development\turbulenz\turbulenz_engine>python manage.py jslib
BUILD CMD IS:
  C:\Development\turbulenz\turbulenz_engine\external\gnumake-win32\3.81\bin\make.exe -j 5 -C C:\Development\tu
rbulenz\turbulenz_engine MODULAR=1 jslib
Access is denied.
BUILD TOOK: 0.032000 seconds
 >> [ERROR]   - C:\Development\turbulenz\turbulenz_engine\external\gnumake-win32\3.81\bin\make.exe -j 5 -C C:\
Development\turbulenz\turbulenz_engine MODULAR=1 jslib

(env) C:\Development\turbulenz\turbulenz_engine>


Ian Ballantyne

unread,
Jan 16, 2015, 11:17:21 AM1/16/15
to turbulenz-e...@googlegroups.com
You might need to remove that directory and try again from the beginning if it has ever been run as an admin. It's likely the environment installation is the issue. 

If that still fails to run when you are the your user profile, you could try installing it in a user owned directory e.g. C:\Users\USERNAME\Development... etc

James Battersby

unread,
Jan 21, 2015, 7:11:56 AM1/21/15
to turbulenz-e...@googlegroups.com
Hi Ian,

Thanks for the reply but this hasn't worked either.

I have tried the following locations:
  • From my single user account which has admin rights
    • C:\Development\turbulenz
    • C:\Users\James\turbulenz
  • From a specially created non-admin account called TurbulenzDev
    • C:\Development\turbulenz
    • C:\Users\TurbulenzDev\turbulenz
and they all the produce the error as above. C:\Development is a directory created by my single user account. I am attempting this on Windows 7 Professional Service Pack 1. I have managed to get it working on my Macbook fine but I would like to get it working on my Windows machine as well.

Ian Ballantyne

unread,
Jan 21, 2015, 7:51:22 AM1/21/15
to turbulenz-e...@googlegroups.com
Two things to try. Firstly can you check the submodule command was run correctly

git submodule update --init

Secondly can you check to see if 'jslib' and 'jslib-modular' directories exist at Turbulenz root level

James Battersby

unread,
Jan 21, 2015, 8:20:54 AM1/21/15
to turbulenz-e...@googlegroups.com
This was the output from the submodule update:
C:\Development\turbulenz\turbulenz_engine>git submodule update --init
Submodule 'external/definitelytyped' (git://github.com/borisyankov/DefinitelyTyped.git) registered for path 'e
xternal/definitelytyped'
Submodule 'external/tzbuild' (git://github.com/turbulenz/turbulenz_build.git) registered for path 'external/tz
build'
Submodule 'external/uglifyjs' (git://github.com/mishoo/UglifyJS.git) registered for path 'external/uglifyjs'
Submodule 'tools/NvTriStrip' (git://github.com/turbulenz/NvTriStrip.git) registered for path 'tools/NvTriStrip
'
Cloning into 'external/definitelytyped'...
remote: Counting objects: 30757, done.
remote: Compressing objects: 100% (91/91), done.
remote: Total 30757 (delta 30), reused 6 (delta 0)
Receiving objects: 100% (30757/30757), 22.50 MiB | 569 KiB/s, done.
Resolving deltas: 100% (15442/15442), done.
Submodule path 'external/definitelytyped': checked out '8220ab27e78af9845ce3fb16ffb6ceb4d6ec0a1e'
Cloning into 'external/tzbuild'...
remote: Counting objects: 972, done.
Receiving objects:  remote: Total 972 (delta 0), reused 0 (delta 0)50     /972)
Receiving objects: 100% (972/972), 195.93 KiB | 241 KiB/s, done.
Resolving deltas: 100% (663/663), done.
Submodule path 'external/tzbuild': checked out '5af706df2d2771c884530e704893134c1f0d620f'
Cloning into 'external/uglifyjs'...
remote: Counting objects: 2661, done.
remote: Total 2661 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (2661/2661), 860.98 KiB | 533 KiB/s, done.
Resolving deltas: 100% (1091/1091), done.
Submodule path 'external/uglifyjs': checked out '9501219eeee29c701c865c0c9c79c222c56546e1'
Cloning into 'tools/NvTriStrip'...
remote: Counting objects: 93, done.
Receiving objects:  remote: Total 93 (delta 0), reused 0 (delta 0)46    /93)
Receiving objects: 100% (93/93), 37.55 KiB, done.
Resolving deltas: 100% (50/50), done.
Submodule path 'tools/NvTriStrip': checked out '658c0852444a775b10318a3bee250d9671fbcc4f'

But I have noticed that indeed both the jslib and jslib-modular directories are missing.... Shouldn't they be provided by the git clone command?

Ian Ballantyne

unread,
Jan 21, 2015, 9:51:03 AM1/21/15
to turbulenz-e...@googlegroups.com
They get generated by the jslib build commands. My suspicion was that /external submodule was not there, which from the output looks like it wasn't. Can you try the 'jslib' command again. 

James Battersby

unread,
Jan 21, 2015, 10:29:49 AM1/21/15
to turbulenz-e...@googlegroups.com
Which 'jslib' command? I'm following the instructions listed at https://github.com/turbulenz/turbulenz_engine#setup-guide

I've just tried from scratch again and here is the cmd i/o:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\James>cd\

C:\>cd Development

C:\Development>cd turbulenz

C:\Development\turbulenz>git clone git://github.com/turbulenz/turbulenz_engine.git
Cloning into 'turbulenz_engine'...
remote: Counting objects: 10769, done.
Receiving objects:  99% (10662/10769), 34.33 MiB | 596 KiB/sremote: Total 10769 (delta 0), reused 0 (delta 0)

Receiving objects: 100% (10769/10769), 34.53 MiB | 595 KiB/s, done.
Resolving deltas: 100% (7443/7443), done.

C:\Development\turbulenz>cd turbulenz_engine

C:\Development\turbulenz\turbulenz_engine>git submodule update --init
Submodule 'external/definitelytyped' (git://github.com/borisyankov/DefinitelyTyped.git) registered for path 'e
xternal/definitelytyped'
Submodule 'external/tzbuild' (git://github.com/turbulenz/turbulenz_build.git) registered for path 'external/tz
build'
Submodule 'external/uglifyjs' (git://github.com/mishoo/UglifyJS.git) registered for path 'external/uglifyjs'
Submodule 'tools/NvTriStrip' (git://github.com/turbulenz/NvTriStrip.git) registered for path 'tools/NvTriStrip
'
Cloning into 'external/definitelytyped'...
remote: Counting objects: 30757, done.
remote: Compressing objects: 100% (91/91), done.
remote: Total 30757 (delta 30), reused 6 (delta 0)
Receiving objects: 100% (30757/30757), 22.50 MiB | 600 KiB/s, done.
Resolving deltas: 100% (15442/15442), done.
Submodule path 'external/definitelytyped': checked out '8220ab27e78af9845ce3fb16ffb6ceb4d6ec0a1e'
Cloning into 'external/tzbuild'...
remote: Counting objects: 972, done.
Receiving objects: remote: Total 972 (delta 0), reused 0 (delta 0)    (866/
Receiving objects: 100% (972/972), 195.93 KiB | 211 KiB/s, done.
Resolving deltas: 100% (663/663), done.
Submodule path 'external/tzbuild': checked out '5af706df2d2771c884530e704893134c1f0d620f'
Cloning into 'external/uglifyjs'...
remote: Counting objects: 2661, done.
remote: Total 2661 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (2661/2661), 860.98 KiB | 449 KiB/s, done.
Resolving deltas: 100% (1091/1091), done.
Submodule path 'external/uglifyjs': checked out '9501219eeee29c701c865c0c9c79c222c56546e1'
Cloning into 'tools/NvTriStrip'...
remote: Counting objects: 93, done.
Receiving objects:  32% (30/93)   remote: Total 93 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (93/93), 37.55 KiB, done.
Resolving deltas: 100% (50/50), done.
Submodule path 'tools/NvTriStrip': checked out '658c0852444a775b10318a3bee250d9671fbcc4f'

C:\Development\turbulenz\turbulenz_engine>python manage.py env
Executing: C:\Development\Python\27\python.exe -m virtualenv --no-site-packages C:\Development\turbulenz\turbu
lenz_engine\env
Executing: C:\Development\turbulenz\turbulenz_engine\env\scripts\easy_install -Z simplejson>=2.1.5
Executing: C:\Development\turbulenz\turbulenz_engine\env\scripts\easy_install -Z PyYAML>=3.10
Executing: C:\Development\turbulenz\turbulenz_engine\env\scripts\easy_install -Z pylint==1.2.1
Executing: C:\Development\turbulenz\turbulenz_engine\env\scripts\easy_install -Z roman>=1.4.0
Executing: C:\Development\turbulenz\turbulenz_engine\env\scripts\easy_install -Z docutils>=0.9.1
Executing: C:\Development\turbulenz\turbulenz_engine\env\scripts\easy_install -Z Sphinx>=1.1.3
Executing: C:\Development\turbulenz\turbulenz_engine\env\scripts\easy_install -Z turbulenz_tools>=1.0.6
Executing: C:\Development\turbulenz\turbulenz_engine\env\scripts\easy_install -Z turbulenz_local>=1.1.5
Executing: C:\Development\turbulenz\turbulenz_engine\env\scripts\python C:\Development\turbulenz\turbulenz_eng
ine\scripts\install_nodejs.py --prefix C:\Development\turbulenz\turbulenz_engine\env --typescript -f
Installing nodejs-v0.8.14
Downloading: http://nodejs.org/dist/v0.8.14/node.exe -> C:\Development\turbulenz\turbulenz_engine\env/Scripts/
node.exe
Downloading: http://nodejs.org/dist/v0.8.14/node-v0.8.14.tar.gz -> c:\users\james\appdata\local\temp\tmpfbcwl4
.tar.gz
Installing typescript-0.9.1
C:\Development\turbulenz\turbulenz_engine\env\Scripts\tsc -> C:\Development\turbulenz\turbulenz_engine\env\Scr
ipts\node_modules\typescript\bin\tsc
types...@0.9.1 C:\Development\turbulenz\turbulenz_engine\env\Scripts\node_modules\typescript
Executing: C:\Development\turbulenz\turbulenz_engine\env\scripts\npm.cmd install -g tsl...@0.4.9

C:\Development\turbulenz\turbulenz_engine>env\Scripts\activate.bat

(env) C:\Development\turbulenz\turbulenz_engine>python manage.py jslib
BUILD CMD IS:
C:\Development\turbulenz\turbulenz_engine\external\gnumake-win32\3.81\bin\make.exe -j 5 -C C:\Development\tu
rbulenz\turbulenz_engine MODULAR=1 jslib
Access is denied.
BUILD TOOK: 0.026000 seconds

Ian Ballantyne

unread,
Jan 21, 2015, 12:33:14 PM1/21/15
to turbulenz-e...@googlegroups.com
You did it as part of the previous output (python manage.py jslib), but it didn't seem to make a difference.

Can you try running the make command manually. From C:\Development\turbulenz\turbulenz_engine> do:
env\Scripts\activate.bat

Then run:

C:\Development\turbulenz\turbulenz_engine\external\gnumake-win32\3.81\bin\make.exe -j 5 -C C:\Development\turbulenz\turbulenz_engine MODULAR=1 jslib

Can you even run the "make.exe --version" from the terminal?

James Battersby

unread,
Jan 21, 2015, 12:52:32 PM1/21/15
to turbulenz-e...@googlegroups.com
It would appear not - access is denied on make.exe. I tried altering the permissions to read/execute for everyone but running --version with that seemed to create a bad pointer exception and crash.

I have make installed on my machine (v3.82.90) but using that generates the following error:

(env) C:\Development\turbulenz\turbulenz_engine>make -j 5 -C C:\Development\turbulenz\turbulenz_engine MODULAR=1 jslib
cygwin warning:
  MS-DOS style path detected: C:\Development\turbulenz\turbulenz_engine
  Preferred POSIX equivalent is: /cygdrive/c/Development/turbulenz/turbulenz_engine
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
make: Entering directory `/cygdrive/c/Development/turbulenz/turbulenz_engine'
external/tzbuild/config.mk:116: *** Couldnt determine TARGETNAME from TARGET: .  Stop.
make: Leaving directory `/cygdrive/c/Development/turbulenz/turbulenz_engine'


Ian Ballantyne

unread,
Jan 21, 2015, 1:03:22 PM1/21/15
to turbulenz-e...@googlegroups.com
It sounds like the build of cmake is not correct for your platform/architecture.
I'm not sure the cygwin version of make will work.

You could try finding a different build of cmake 3.81 and try that.

Can you let us know your OS edition (Windows 7?), CPU, 32bit/64bit etc.

James Battersby

unread,
Jan 21, 2015, 1:18:18 PM1/21/15
to turbulenz-e...@googlegroups.com
Windows 7 Professional Service Pack 1 64-bit
Intel Core Quad CPU Q6600

Ian Ballantyne

unread,
Feb 24, 2015, 5:55:26 AM2/24/15
to turbulenz-e...@googlegroups.com
James, did you have any luck with cmake 3.81?
Reply all
Reply to author
Forward
0 new messages