Hi Jonathan,

On Tue, Oct 22, 2013 at 4:14 AM, Jonathan Mynard
<[email protected]> wrote:
> I am have some trouble getting dolfin to build with libxml. I am building
> the development version with dorsal.  I have built hdf5 and libxml2 packages
> with no errors.  However, when I build dolfin I get
>
> fatal error: libxml/parser.h: No such file or directory
> #include <libxml/parser.h>
>                           ^
> compilation terminated.
>
> I'm guessing I need to set a path somewhere, but not sure how/where to do
> this.

After installing Libxml2, there should be a pkg-config file
libxml-2.0.pc in ~/Work/FEniCS/lib/pkgconfig. This will be used when
DOLFIN/CMake looks for Libxml2. I'm guessing that you don't have
pkg-config and thats why it can't find Libxml2. In that case you can
simply add pkg-config at the top of list of packages that Dorsal
should build.

Johannes
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to