dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #12659
Re: pkg-config is not installed on the system
I have done this (again?). I have also checked .profile where I
already had the line suggested by Ilmar. However, there are still
several demos not working. And I still have the same error, e.g. for
stokes/stabilized/python/demo.py (while stokes/taylor-hood/python/
demo.py works):
matcent18:~/Work/FEniCS/dolfin-0.9.0/demo/pde/stokes/stabilized/
python aronwahlberg$ python demo.py
Checking mesh ordering (finished).
Calling FFC just-in-time (JIT) compiler, this may take some time... done
Creating Python extension (compiling and linking), this may take some
time...
Traceback (most recent call last):
File "demo.py", line 23, in <module>
vector = VectorFunctionSpace(mesh, "CG", 1)
File "/Users/aronwahlberg/Work/FEniCS/build/lib/python2.5/site-
packages/dolfin/functionspace.py", line 253, in __init__
MixedFunctionSpace.__init__(self, spaces)
File "/Users/aronwahlberg/Work/FEniCS/build/lib/python2.5/site-
packages/dolfin/functionspace.py", line 215, in __init__
FunctionSpaceBase.__init__(self, spaces[0].mesh(), element)
File "/Users/aronwahlberg/Work/FEniCS/build/lib/python2.5/site-
packages/dolfin/functionspace.py", line 45, in __init__
self.__ufc_element, self.__ufc_dofmap = jit(self._element)
File "/Users/aronwahlberg/Work/FEniCS/build/lib/python2.5/site-
packages/dolfin/jit.py", line 43, in jit
return jit_compile(form, options)
File "/Users/aronwahlberg/Work/FEniCS/build/lib/python2.5/site-
packages/ffc/jit/jit.py", line 52, in jit
return jit_element(object, options)
File "/Users/aronwahlberg/Work/FEniCS/build/lib/python2.5/site-
packages/ffc/jit/jit.py", line 115, in jit_element
(compiled_form, module, form_data) = jit_form(form, options)
File "/Users/aronwahlberg/Work/FEniCS/build/lib/python2.5/site-
packages/ffc/jit/jit.py", line 82, in jit_form
(cppargs, path, ufc_include) = extract_instant_flags(options)
File "/Users/aronwahlberg/Work/FEniCS/build/lib/python2.5/site-
packages/ffc/jit/jit.py", line 167, in extract_instant_flags
(path, dummy, dummy, dummy) =
instant.header_and_libs_from_pkgconfig("ufc-1")
File "/Users/aronwahlberg/Work/FEniCS/build/lib/python2.5/site-
packages/instant/config.py", line 13, in header_and_libs_from_pkgconfig
raise OSError("The pkg-config package is not installed on the
system.")
OSError: The pkg-config package is not installed on the system.
Make sure your PKG_CONFIG_PATH contains the path to where your FEniCS
pkgconfig files go. Running 'source dolfin.conf' in the DOLFIN folder
ought to set this for you.
Harish
Follow ups
References