# Installing a package with source code

**URL:** <https://discourse.julialang.org/t/installing-a-package-with-source-code/7063>\
**Category:** New to Julia\
**Tags:** package, packages\
**Created:** [November 14, 2017, 8:26am UTC](https://discourse.julialang.org/t/installing-a-package-with-source-code/7063 "2017-11-14T08:26:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rahul\_Sharma](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@Rahul\_Sharma](https://discourse.julialang.org/u/Rahul_Sharma)\
**Post date:** [November 14, 2017, 8:26am UTC](https://discourse.julialang.org/t/installing-a-package-with-source-code/7063/1 "2017-11-14T08:26:09Z")

</div>

The `Ipopt` package in it requires BLAS. While running `Pkg.build("Ipopt")` it shows that it is not able to download the BLAS package. I have the source code of BLAS. How should I build the required package by using the downloaded source code?  
Thanks!!

---

<div class="post-metadata">

**Author:** ![mzaffalon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mzaffalon/32/214168_2.png) [@mzaffalon](https://discourse.julialang.org/u/mzaffalon)\
**Post date:** [November 14, 2017, 9:07am UTC](https://discourse.julialang.org/t/installing-a-package-with-source-code/7063/2 "2017-11-14T09:07:39Z")

</div>

Can you please post the error message?

---

<div class="post-metadata">

**Author:** ![Rahul\_Sharma](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@Rahul\_Sharma](https://discourse.julialang.org/u/Rahul_Sharma)\
**Post date:** [November 14, 2017, 9:48am UTC](https://discourse.julialang.org/t/installing-a-package-with-source-code/7063/3 "2017-11-14T09:48:20Z")

</div>

It connects with the proxy and tries downloading the package from [netlib.org](http://netlib.org), [coin-or.org](http://coin-or.org), [netlob.scandia.gov](http://netlob.scandia.gov). Then it shows error 403. I think this might be proxy issue, thus i have already downloaded the source code of the BLAS.

---

<div class="post-metadata">

**Author:** ![mzaffalon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mzaffalon/32/214168_2.png) [@mzaffalon](https://discourse.julialang.org/u/mzaffalon)\
**Post date:** [November 14, 2017, 10:57am UTC](https://discourse.julialang.org/t/installing-a-package-with-source-code/7063/4 "2017-11-14T10:57:22Z")

</div>

The code to build BLAS for `Ipopt.jl` is at [https://github.com/JuliaOpt/Ipopt.jl/blob/master/deps/build.jl#L38](https://github.com/JuliaOpt/Ipopt.jl/blob/master/deps/build.jl#L38), I think, for a Unix system, but probably the best way would be to solve the proxy error.

---

<div class="post-metadata">

**Author:** ![Rahul\_Sharma](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@Rahul\_Sharma](https://discourse.julialang.org/u/Rahul_Sharma)\
**Post date:** [December 15, 2017, 6:12am UTC](https://discourse.julialang.org/t/installing-a-package-with-source-code/7063/5 "2017-12-15T06:12:29Z")

</div>

I downloaded the source codes for BLAS and all other third parties and put it in the respective directories. Then, I changed the shell script to only unpack (removed the lines where it connects to a website and downloads the source code). But when i run `Pkg.build("Ipopt")` it still throws the error that recipe for target Ipopt failed with a numerous different errors. Please tell me how to successfully build the given package.  
Thank you
