Comments (8)
Added in 56835aa
Could you test?
from luatrace.
Does not work with LR 2.0.4.1 (this may be LuaRocks issue)
Instead of /usr/local/bin/luatrace.profile
, /usr/local/bin/luatrace/luatrace.profile
is installed. (I blame the period in the executable name.)
from luatrace.
LuaRocks issue: luarocks/luarocks#39
from luatrace.
Acknowledged the LuaRocks issue. I'll work on a fix.
from luatrace.
Found an alternative way to specify this in the rockspec. This bug in luatrace can be closed.
from luatrace.
eee0264 copies Hisham's fix for the rockspec, and sets the executable bit on luatrace.profile. Hopefully that's enough?
from luatrace.
Seems to be working. Output when executable is called without arguments could be improved though...
$ sudo luarocks make rockspec/luatrace-scm-1.rockspec gcc -O2 -fPIC -I/usr/include/lua5.1 -c c/c_hook.c -o c/c_hook.o gcc -shared -o luatrace/c_hook.so -L/usr/lib c/c_hook.o Updating manifest for /usr/local/lib/luarocks/rocks luatrace scm-1 is now built and installed in /usr/local/ (license: MIT/X11) $ luatrace.profile lua: /usr/local/share/lua/5.1/luatrace/trace_file.lua:123: Couldn't open trace file stack traceback: [C]: in function 'assert' /usr/local/share/lua/5.1/luatrace/trace_file.lua:123: in function 'read' /usr/local/share/lua/5.1/luatrace/profile.lua:459: in function 'go' (command line):1: in main chunk [C]: ?
Thanks!
from luatrace.
So I'll call this one fixed. The issue of luatrace not being very nice is a whole different bag of worms. But now that I have not less than one other user, I'll start tidying up a bit.
from luatrace.
Related Issues (11)
- make fails on Ubuntu HOT 10
- What should I do when I got this numbers? HOT 1
- Make fail about dirname and -I mssing path
- luatrace is not compatible with strict because unintended global variable
- build on msvc HOT 1
- Intermittent errors HOT 4
- Error compiling git head (db7fb4ef3ad7a544aeab4b2786a905af47fdd409) HOT 4
- Errors when tracing LuLPeg HOT 5
- How to use for embedded luajit2 HOT 2
- luatrace.profile crashes trying to index a local 'thread' HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from luatrace.