I use Julia from archive for OS X on Lion.
Server doesn't listen to localhost:2000. Also there are wrong absolute path to library "liblightcomp.dylib".
MacBook-Air-Mihail-Zatin:bin sitin$ ./launch-julia-webserver
Connect to http://localhost:2000/ for the web REPL.
dyld: Library not loaded: /Users/viral/julia/usr/lib/liblightcomp.dylib
Referenced from: /Users/sitin/Downloads/Julia/julia/bin/../sbin/lighttpd
Reason: image not found
SCGI server started on port 2001.
0 open sessions.
What version of Julia are you using? Viral's name, while it has snuck into a few earlier versions, is nowhere in our codebase right now. This seems like it might be a binary install issue, assuming that Viral built the binary? Since otherwise I can't see how his home directory would get in there.
Confirmed on my machine as well, looks like the .so files from lighttpd use the full path to liblightcomp.dylib.
liblightcomp.dylib is not included in the binary installation, (Viral will probably fix this soon), but if you have lighttpd installed elsewhere, you can copy it into the lib directory, then do these commands inside the julia-5f1c43ec43 directory (This fixed this specific issue for me):
for f in `ls *.so`; do install_name_tool -change /Users/viral/julia/usr/lib/liblightcomp.dylib @executable_path/../lib/liblightcomp.dylib $f; done
install_name_tool -change /Users/viral/julia/usr/lib/liblightcomp.dylib @executable_path/../lib/liblightcomp.dylib lighttpd
Alternatively, you can just download my repackaged version which has these fixes bundled up (note that the lighttpd version is slightly newer). Also note that I am experiencing difficulties of my own with the web REPL, see Issue #1299.
I'd like to try out the nginx stuff from @loladiro, is there a way I can get just the nginx changes? It doesn't look like there's a topic branch in his repo. Is there a specific commit I should look for?
@staticfloat. I loaded you archive and launched webserver. Error disapeared but localhost:2000 still doesn't responds.
Can you post the output you see when you launch the server?
Web repl works now in OS X Lion from source. Probably a couple more things are required to make sure that it works out of the distribution created by make install.
Update lighttpd dependent library paths to be relative.