Johannes Ring wrote:
>> I know it has been a while, but could you try this (or show me what I
>> must change to only pass -L/sw/lib, -I/sw/lib)? I run into this problem
>> every time I clone a fresh copy of dolfin.
> 
> You need to make sure that none of the pkg-config files used by DOLFIN
> contains -I/usr/include or -L/usr/lib. Remove /usr/lib/pkgconfig from
> $PKG_CONFIG_PATH (if present) and make sure that pkg-config from fink is
> first in $PATH. If you still have -I/usr/include or -L/usr/lib on the
> compile line you need to figure out where they are added. It might be
> added by mpic++. Try to disable MPI. Maybe you also need to use a
> different compiler. On the mac buildslave we use gcc 4.3.3 from fink.

I will try this, but I would like to use mpic++ so I'll see what I can do.

Thanks!
Harish
_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@fenics.org
http://www.fenics.org/mailman/listinfo/dolfin-dev

Reply via email to