Hi Jeremy, I missed that you had replied on GitHub. Thanks! I'll move the follow ups there.
On Tuesday, November 7, 2023 at 12:08:46 PM UTC-6 jeremy...@northwestern.edu wrote: > Hey Elizabeth, > > Did you also open an issue on the NetLogo GitHub about this? > https://github.com/NetLogo/NetLogo/issues/2189 I left this reply there > but didn't get a response: > > It's definitely odd, if you're able to update the submodule extensions > using git, you should be able to build them. Root permissions should not be > required to run sbt. One way to check is to just open a terminal in the > NetLogo repository, cd `extensions/array`, and then run `sbt package` to > see if you can run the extension packaging standalone. If that fails then > probably there is some odd file permissions issue. If it works, then the > problem would have to be with how NetLogo's sbt session is creating the > sub-processes to build the extensions. > > > Is there a way to manually set where to build? > > By default sbt builds to a `target/` folder for each sub-project in the > repo, so, for example, array will build to `extensions/array/target/` There > may be a way to change that, but I've never had to before. > > One thing to note, depending on why you're trying to build NetLogo you may > not need the extensions. If you're just making changes to the UI or adding > a new primitive or something you can just use `netlogo/run` to test your > work, or something like `netlogo/Test/language` to run language tests. > Building the extensions, as happens with running `dist/buildNetLogo` is > necessary when packaging a NetLogo release and sometimes when you're > testing out an extension from within the NetLogo repository. > > Thanks. > > -Jeremy > > On Tuesday, November 7, 2023 at 11:34:14 AM UTC-6 koninge...@gmail.com > wrote: > >> I am trying to build NetLogo from source on a Linux cluster. The error >> I'm running into is on the array extension when I run `./sbt all`: >> [error] (netlogo / extensions) java.io.IOException: Cannot run program >> "sbt" (in directory "/u/ekoning2/NetLogo/NetLogo/extensions/array"): >> error=13, Permission denied >> >> What are the probable causes of an error like this? >> >> Thanks for your help. >> > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/netlogo-devel/4dc4a797-2a43-4559-ba75-954200fd07a7n%40googlegroups.com.