Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation on Ubuntu 18.04 #63

Open
michalsmid opened this issue Jun 17, 2021 · 3 comments
Open

Installation on Ubuntu 18.04 #63

michalsmid opened this issue Jun 17, 2021 · 3 comments

Comments

@michalsmid
Copy link

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

@bruceravel
Copy link
Owner

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.

@michalsmid
Copy link
Author

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!

@bdecost
Copy link

bdecost commented Jul 23, 2021

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants