On Sun, Oct 12, 2014 at 8:37 PM, Oscar Martinez
<oscar.martinez.m...@gmail.com> wrote:
> I'm trying to compile the HubNet Web Extension, to use ti included web
> client with HubNet/NetLogo. I'm on mac. I get this error:
>
> $ sudo make -f Makefile

You definitely should not use `sudo` for this. It should not help and may hurt.

> ./bin/sbt update compile
> make: ./bin/sbt: Permission denied

Is the execute bit set on ./bin/sbt? If not, set it with `chmod +x
bin/sbt`. Though, I don't know why it wouldn't be set; it is set in
the repository on GitHub. I checked just now that if I do a fresh
checkout, the execute bit is set. (Perhaps you moved the files from
one machine to another in a manner that didn't preserve file metadata?
Just guessing.)

I just pushed some changes to the build files and verified that `git
clone` followed by `make` works successfully on my Mac without having
to modify anything. The SCALA_HOME and NETLOGO_HOME stuff in the
Makefile is now gone. You don't need to install any version of Scala;
sbt will download the Scala jars it needs.

So, try again after `git pull`.

Note that I haven't tested whether the extension actually works. Only
that it builds.

Seth

-- 
You received this message because you are subscribed to the Google Groups 
"netlogo-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to netlogo-devel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to