compile error with fenics-dev ubuntu package

Asked by Andrew McRae

Example program:
==============================
from dolfin import *
mesh = UnitSquareMesh(8,8)
E = FunctionSpace(mesh, 'Lagrange', 1)
==============================

On the third line, execution halts with
==============================
atm112@ae-amcrae:~/Dropbox/FEniCS/scratch$ python broken.py
Calling FFC just-in-time (JIT) compiler, this may take some time.
In instant.recompile: The module did not compile with command 'make VERBOSE=1 ', see '/home/atm112/.instant/error/c3be3cee106b5a2439f7acf1be6ad7c9927b762b/compile.log'
Traceback (most recent call last):
<snip>
==============================

Inside the compile.log file is...
==============================
<snip>
/usr/include/ufc.h:17:26: fatal error: ufc_geometry.h: No such file or directory
compilation terminated.
make[2]: *** [CMakeFiles/_c3be3cee106b5a2439f7acf1be6ad7c9927b762b.dir/c3be3cee106b5a2439f7acf1be6ad7c9927b762bPYTHON_wrap.cxx.o] Error 1
make[2]: Leaving directory `/tmp/tmpaXqfRC2013-3-2-18-38_instant/c3be3cee106b5a2439f7acf1be6ad7c9927b762b'
make[1]: *** [CMakeFiles/_c3be3cee106b5a2439f7acf1be6ad7c9927b762b.dir/all] Error 2
make[1]: Leaving directory `/tmp/tmpaXqfRC2013-3-2-18-38_instant/c3be3cee106b5a2439f7acf1be6ad7c9927b762b'
make: *** [all] Error 2
==============================

I can post the full logs if needed, but it would appear that the problem is simply that ufc_geometry.h is not present inside /usr/include ?

Question information

Language:
English Edit question
Status:
Answered
For:
FEniCS Project Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Johannes Ring (johannr) said :
#1

fenics-dev is currently broken. I started working on it last week and I will continue to work on it tomorrow.

Can you help with this problem?

Provide an answer of your own, or ask Andrew McRae for more information if necessary.

To post a message you must log in.