christian-oudard / jsl Goto Github PK
View Code? Open in Web Editor NEWJavascript Lint (unofficial mirror/fork)
Home Page: http://www.javascriptlint.com/
License: GNU General Public License v2.0
Javascript Lint (unofficial mirror/fork)
Home Page: http://www.javascriptlint.com/
License: GNU General Public License v2.0
I receive the errors below. I'm running Ubuntu 10.04 LTS server with build-essential and python (package default versions). I ran
sudo python setup.py install 2>errors
Here it is:
cat: ../../dist/Linux_All_OPT.OBJ/nspr/Version: No such file or directory
cat: ../../dist/Linux_All_OPT.OBJ/nspr/Version: No such file or directory
make[1]: Circular jscpucfg.h <- Linux_All_OPT.OBJ/jsautocfg.h dependency dropped.
make[1]: Circular Linux_All_OPT.OBJ/jsautocfg.h <- Linux_All_OPT.OBJ/jsautocfg.h dependency dropped.
javascriptlint/pyspidermonkey/pyspidermonkey.c:3:20: error: Python.h: No such file or directory
In file included from spidermonkey/src/jsatom.h:48,
from javascriptlint/pyspidermonkey/pyspidermonkey.c:7:
spidermonkey/src/jsapi.h:217: warning: function declaration isn’t a prototype
spidermonkey/src/jsapi.h:974: warning: function declaration isn’t a prototype
spidermonkey/src/jsapi.h:975: warning: function declaration isn’t a prototype
spidermonkey/src/jsapi.h:976: warning: function declaration isn’t a prototype
spidermonkey/src/jsapi.h:977: warning: function declaration isn’t a prototype
spidermonkey/src/jsapi.h:978: warning: function declaration isn’t a prototype
spidermonkey/src/jsapi.h:1965: warning: function declaration isn’t a prototype
In file included from javascriptlint/pyspidermonkey/pyspidermonkey.c:18:
javascriptlint/pyspidermonkey/nodepos.h:7: error: expected ‘)’ before ‘*’ token
javascriptlint/pyspidermonkey/pyspidermonkey.c:54: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
javascriptlint/pyspidermonkey/pyspidermonkey.c:57: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
javascriptlint/pyspidermonkey/pyspidermonkey.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘module_methods’
javascriptlint/pyspidermonkey/pyspidermonkey.c:71: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘initpyspidermonkey’
javascriptlint/pyspidermonkey/pyspidermonkey.c:116: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘initpyspidermonkey_d’
javascriptlint/pyspidermonkey/pyspidermonkey.c:125: error: expected specifier-qualifier-list before ‘PyObject’
javascriptlint/pyspidermonkey/pyspidermonkey.c: In function ‘to_pyjsl_lineno’:
javascriptlint/pyspidermonkey/pyspidermonkey.c:134: error: ‘JSContextData’ has no member named ‘first_lineno’
javascriptlint/pyspidermonkey/pyspidermonkey.c: In function ‘to_pyjsl_index’:
javascriptlint/pyspidermonkey/pyspidermonkey.c:141: error: ‘JSContextData’ has no member named ‘first_index’
javascriptlint/pyspidermonkey/pyspidermonkey.c: In function ‘error_reporter’:
javascriptlint/pyspidermonkey/pyspidermonkey.c:167: warning: implicit declaration of function ‘PyObject_CallFunction’
javascriptlint/pyspidermonkey/pyspidermonkey.c:167: error: ‘JSContextData’ has no member named ‘error_callback’
javascriptlint/pyspidermonkey/pyspidermonkey.c: At top level:
javascriptlint/pyspidermonkey/pyspidermonkey.c:171: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
javascriptlint/pyspidermonkey/pyspidermonkey.c:185: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
javascriptlint/pyspidermonkey/pyspidermonkey.c:194: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
javascriptlint/pyspidermonkey/pyspidermonkey.c:415: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
javascriptlint/pyspidermonkey/pyspidermonkey.c:499: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
error: command 'gcc' failed with exit status 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.