-
Notifications
You must be signed in to change notification settings - Fork 263
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
Build on OSX #101
Comments
Your subject refers to a build issue, but then you state that you do not get any errors (hence the build was successful)? Did you do |
I ran make and it built without errors but I guess i was making the assumption that some third party library was not working correctly since syntax highlighting was not showing, and that the build process could be improved upon for OSX. But i guess it could be another issue as well. Feel free to rename it. |
I did do |
Run |
I ran Warning: failed to load theme `default-256' set $VIS_PATH I believe it's because lpeg is not properly installed, and i'm not sure how to install it. The |
I assume you have built lpeg using Anyway, except for the non-existing error reporting this is not a vis issue ... |
Got it working by putting the lpeg.so in the right place. I'm surely lacking some know-how in the linux / unix world, but automating the install process for vis on osx would be sweet. |
@erf Once there is a version we can look at getting it on homebrew. |
@twe4ked Yes let's do that. |
I had a quick look into it over the weekend but I ran out of time. I'll try get around to it soon. |
Thanks, looking forward to it! I had a quick look at the package repository, both libtermkey and Lua 5.2 are already packaged and should not cause any problems. LPeg might be a bit more tricky because homebrew seems to have some issues with Lua dependency management? The sile formula refers to it in some way ... |
I've opened a PR to add vis to homebrew. Edit: It conflicts with an OS X app so hopefully it's allowed. https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/vis.1.html |
There were a few issues with the PR that I've fixed up. Here's what it looks like to install. The lua dependencies and the |
Thanks! So the installation procedure would be:
Better than compiling from source I guess. Not sure why homebrew does not manage to properly handle Lua dependencies. As for the name clash, I was aware of it, but at the time thought it would still be a fitting project name. Partly because of cat -v considered harmful which is the reason the original The other main reason is that the computer science student organization at my university is also called vis, and they "sponsored" development with their free coffee service. Because the starting point for the whole project was a university course covering Project Oberon this reference seemed appropriate. |
The new LUA addition looks exiting. I tried to install the third party libraries manually, but i think i screwed something up, because i can't see syntax highlighting. This is probably due to LUA or LPEG, but i did not get any errors. Anyone successful at building for OSX ?
The text was updated successfully, but these errors were encountered: