# Project build practices

**URL:** <https://discourse.julialang.org/t/project-build-practices/1483>\
**Category:** General Usage\
**Tags:** question\
**Created:** [January 14, 2017, 6:20pm UTC](https://discourse.julialang.org/t/project-build-practices/1483 "2017-01-14T18:20:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![trans](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/trans/32/345_2.png) [@trans](https://discourse.julialang.org/u/trans)\
**Post date:** [January 14, 2017, 6:20pm UTC](https://discourse.julialang.org/t/project-build-practices/1483/1 "2017-01-14T18:20:35Z")

</div>

Can’t seem to find any good overviews on setting up a Julia project that talks about handling dependencies, compiling, build scripts, etc. So I’m groping my way through it. Presently I am trying to use the BuildExecutable package. When I run the script:

```
using BuildExecutable
build_executable("neapolitan", "src/neapolitan-command.jl", "bin", "native")

```

I get this error:

```
ERROR: LoadError: Unable to modify /usr/lib/x86_64-linux-gnu/libneapolitan.ji

```

So it is trying to write to `/usr/lib`!

How do I fix? And even better, are there best practices for this stuff and any good docs explaining it?

---

<div class="post-metadata">

**Author:** ![tkelman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tkelman/32/692_2.png) [@tkelman](https://discourse.julialang.org/u/tkelman)\
**Post date:** [January 14, 2017, 9:41pm UTC](https://discourse.julialang.org/t/project-build-practices/1483/2 "2017-01-14T21:41:57Z")

</div>

Are you talking about compiling binary dependencies or compiling Julia code into an executable? The latter is doable but not the most user friendly at the moment. For the former, the tools have some issues but they mostly work - see my workshop from JuliaCon 2016.

---

<div class="post-metadata">

**Author:** ![trans](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/trans/32/345_2.png) [@trans](https://discourse.julialang.org/u/trans)\
**Post date:** [January 14, 2017, 10:21pm UTC](https://discourse.julialang.org/t/project-build-practices/1483/3 "2017-01-14T22:21:16Z")

</div>

Well, both.

[![](https://global.discourse-cdn.com/julialang/original/3X/d/2/d25db98424ff3c44741edf6bd3c026d1a8f32c95.jpeg "JuliaCon 2016 | CI and Julia Packages (Workshop) | Tony Kelman") ](https://www.youtube.com/watch?v=XKdKdfHB2KM)

Looks helpful. Thanks.
