Skip to content
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

Installation on Mac 10.9 #75

Open
sononix opened this issue Jan 21, 2014 · 2 comments
Open

Installation on Mac 10.9 #75

sononix opened this issue Jan 21, 2014 · 2 comments

Comments

@sononix
Copy link

sononix commented Jan 21, 2014

just wondering is there anyone else having trouble with the installation of this package

tried running on ST 2 and 3 and still cant get it to work - I see a single error in the console
is there any way to check

Traceback (most recent call last): File "./sublime_plugin.py", line 175, in on_load File "./sublime_plugin.py", line 154, in run_timed_function File "./sublime_plugin.py", line 174, in File "./sublimerl_completion.py", line 232, in on_load File "./sublimerl_core.py", line 224, in **init** File "./sublimerl_core.py", line 259, in set_app_name File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/posixpath.py", line 67, in join elif path == '' or path.endswith('/'): AttributeError: 'NoneType' object has no attribute 'endswith'

Any suggestions of being able to compile a simple hello.erl file

-module (hello).
-export ([start/0]).

start() ->
io:format("Hello World").

getting error of

[Errno 2] No such file or directory: 'erl'
[cmd: ['erl', '-compile', '/Users/studio/CODE/Erlang/hello.erl']]
[dir: /Users/studio/CODE/Erlang]
[path: /usr/bin:/bin:/usr/sbin:/sbin]
[Finished]

this is using the base build file in ST2- would it be better to create my own build file

@ostinelli
Copy link
Owner

As the error states, it seems that erl is not in your path. Is it?

@sononix
Copy link
Author

sononix commented Jan 21, 2014

in the mac path - I guess it is as I can easily compile erlang from the command line ...

installed Sublime-Erlang now
https://github.com/fjl/Sublime-Erlang

instead of the default Erlang package and getting strange feedback in the prompt saying the compile is fine ever this there are syntax errors in the code - very strange indeed its almost like the build settings are being ignored - could it be a rebar issue not sure how to test this though...

trying to strip everything back in Sublime to track to see if any other package are causing the conflict

tks
M

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants