nickdiego / compiledb

Tool for generating Clang's JSON Compilation Database files for make-based build systems.
GNU General Public License v3.0
1.38k stars 123 forks source link

compiledb attempts to create parsetab.py? #106

Open ykoehler opened 4 years ago

ykoehler commented 4 years ago

ykoehler@dev-ykoehler $ compiledb -n make Unable to create '/usr/lib/python2.7/site-packages/bashlex/parsetab.py' [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/bashlex/parsetab.py'

While would compiledb try to create new .py files inside site-packages?

gnikivmj commented 3 years ago

I have the same issue here, solved it by using root to call this command once(compiledb -n make), after that the parsetab.py will be created and you can continue with regular user

ykoehler commented 3 years ago

ok, yeah, running once as sudo, then without works, but that is to me still a bug to be fixed.