astrojuanlu / fenics-recipes

This repository contains conda recipes for the FEniCS libraries
The Unlicense
13 stars 15 forks source link

link with PETSc fails #26

Closed RafalSkolasinski closed 9 years ago

RafalSkolasinski commented 9 years ago

Hi, I just tried to do local build as readme says and I have following error:

ERROR: Unable to link with PETSc
ERROR: See "arch-linux2-c-debug/conf/configure.log" file for details

Also I had to do `conda instal jinja2' first.

astrojuanlu commented 9 years ago

Hi! Could you specify which OS are you trying, attach arch-linux2-c-debug/conf/configure.log (maybe to http://gist.github.com) and at which step of the process did this happen? You can also try to build the packages individually, but I am sure that some of them were built successfully already.

RafalSkolasinski commented 9 years ago

Here are last lines on my terminal: http://pastebin.com/4mvHxHiH And here is 'configure.log file': http://pastebin.com/rnFEF91r

My operating system is ubuntu 14.04

On Sat, Aug 29, 2015 at 11:38 AM, Juan Luis Cano Rodríguez < notifications@github.com> wrote:

Hi! Could you specify which OS are you trying, attach arch-linux2-c-debug/conf/configure.log (maybe to http://gist.github.com) and at which step of the process did this happen? You can also try to build the packages individually, but I am sure that some of them were built successfully already.

— Reply to this email directly or view it on GitHub https://github.com/Juanlu001/fenics-recipes/issues/26#issuecomment-135969900 .

astrojuanlu commented 9 years ago

So the problem is with SLEPc, I will have to check that. I see in the config file that the PETSc directory is wrong, so perhaps that's the issue.

astrojuanlu commented 9 years ago

Oh no, it was more subtle than that... See at the bottom of the config file:

make: /usr/bin/sh: Command not found

https://bitbucket.org/fenics-project/dolfin/issues/550/make-usr-bin-sh-command-not-found-in-fresh

If you have the time, would you please send a corresponding email to fenics-support@fenicsproject.org? I guess many people will encounter this issue... Closing.