demeter
demeter copied to clipboard
Installation on Ubuntu 18.04
Hi, I'm now trying to install Demeter on Ubuntu 18.04 (I got now surprised how old it is, I'll probably update to 20.04 soon).
First minor comments:
I have updated the first step of the installation procedure to:
sudo apt-get install build-essential git gfortran gnuplot ifeffit liblocal-lib-perl libx11-dev libncurses5-dev libpng16-16 libpng-dev libgif7 libwxgtk3.0-dev
and then before perl Builld.PM I had to
export PERL5LIB=/home/michal/demeter/
That was ok, but while
./Build installdeps
I got the infinite complain of
Can't stat `../apache_x.x/src'
Please tell me where I can find your apache src
[../apache_x.x/src] ../apache_x.x/src
Can't stat `../apache_x.x/src'
Please tell me where I can find your apache src
[../apache_x.x/src] ../apache_x.x/src
....
There are some people discussing this issue on some forums, but I haven't found an 'easy' solution, and I am not sure that going to install apache from source is the way I need to go. Do you have any experience or advice for this?
Thanks! Michal
I also do not know the solution to this. Hitting Ctrl-C to escape that subprocess allows the build to continue without, as far as I can tell, further problem. You are certainly right that Apache is not needed in this case.
Now I've tried to update to Ubuntu 20.04 and here already the package ifeffit is not available, and the older version is missing some dependencies. So seems like no easy way, and I'll have to use it on Windows :-( But that works great and shows me how excellent program it is, thanks!
@michalsmid I recently ran into this issue on 18.04, IIRC installing apache2
and apache2-dev
resolved it. The root cause was some perl XML library. I think only apache2-dev
is actually necessary, but I didn't test it out.
specifically, here are all the dependencies I installed:
sudo apt-get install build-essential git gfortran gnuplot ifeffit liblocal-lib-perl libx11-dev libncurses5-dev libpng-dev libwxgtk3.0-gtk3-dev libmodule-build-perl libwx-perl apache2 apache2-dev xauth xterm