Suddenly I can't add Sundials, the ODE solver package!

110 views
Skip to first unread message

Henri Laurie

unread,
May 21, 2015, 6:52:32 AM5/21/15
to julia...@googlegroups.com
Sorry for the tone, screaming loudly here despite sore throat, because

--- I was very happy when Debian Jessie became the stable distribution, because I could then simply install julia. I particularly want to use the Sundials and PyPlot packages, for preference running most of it in the IJulia notebook interface.

--- This worked fine on my laptop (don't have it here, it's an oldish low-spec Lenovo)

--- So put Jessie on my desktop, installed julia. No problem. Installed IJulia, no problem (though I don't like the inelegant shutting down, have to kill ipython separately, it's the same on the laptop).

--- BUT I can't install Sundials. I get (skipping a lot of messages that all seem to indicate the process is going fine)

"""
...

----------------------------------
Finished SUNDIALS Configure Script
----------------------------------

INFO: Changing Directory to /home/henri/.julia/v0.3/Sundials/deps/src/sundials-2.5.0
==============================[ ERROR: Sundials ]===============================

could not spawn `make install`: no such file or directory (ENOENT)
while loading /home/henri/.julia/v0.3/Sundials/deps/build.jl, in expression starting on line 37

...
"""

and skipping a short summary in the tail.

I can't work out where the problem might be. Thought it might be that I didn't have fortran or other compilers, so by overkill I installed everything I could find in my Jessie distribution, deleted julia with Pkg.rm and also by removing all of .julia in my home directory. Didn't help. BTW this fixed PyPlot which at first would build and give no error when running "using PyPlot" but then would say in response to a "plot" command that pltm could not be found.

Alex

unread,
May 21, 2015, 7:31:27 AM5/21/15
to julia...@googlegroups.com
Hi Henri,

This sounds a bit like you don't have `make` in your PATH? You can check if Sundials was downloaded and unpacked into ~/.julia/v0.3/src/sundials-2.5.0/. In that directory you can manually run `make install`. If that works you might be able to run `Pkg.build("Sundials")` again. If you still have problems it might be good to create an issue for Sundials.jl.

Best,

Alex.

Henri Laurie

unread,
May 21, 2015, 7:51:55 AM5/21/15
to julia...@googlegroups.com
Hi Alex, thanks for quick response!

I seem to have  different dirrectory structure, namely

henri@HLaurie:~$ cd .julia/v0.3/
henri@HLaurie:~/.julia/v0.3$ ls
BinDeps  Compat  FixedPointNumbers  LaTeXStrings  PyCall  REQUIRE  Sundials
Color    Dates   Graphics           METADATA      PyPlot  SHA      URIParser

and if i search for sundials-2.5.0 I find a directory under Sundials/deps/src:

ls Sundials/deps/src/sundials-2.5.0/
acinclude.m4    config      config.log     configure.ac  include        LICENSE      README
bin             config.h    config.status  doc           INSTALL_NOTES  Makefile     src
CMakeLists.txt  config.hin  configure      examples      libtool        Makefile.in  sundialsTB

which has a Makefile and config library and a configure input file, maybe try to run make there?

Alex

unread,
May 21, 2015, 7:57:00 AM5/21/15
to julia...@googlegroups.com
Hi,

Sorry, my bad. I forgot "Sundials" in the path!

Just try `make install` there and see what happens. Afterwards you can run `Pkg.build("Sundials")` from Julia.

Best,

Alex.

Henri Laurie

unread,
May 21, 2015, 8:07:50 AM5/21/15
to julia...@googlegroups.com
Alright, thought it might be the case. Your advice revealed the make was never installed with Debian Jessie on my desktop, and that was the difference with the laptop, not sure why that is, probably chose a different option somewhere. Anyway, installed it and Bob's my uncle!

Thanks for the help!
Reply all
Reply to author
Forward
0 new messages