← Back to team overview

dolfin team mailing list archive

Re: pkg-config files

 



johannr@xxxxxxxxx wrote:
On Mon, Mar 17, 2008 Garth N. Wells wrote:
Where can I find the pkg-config files that are generated during the
build process, e.g. numpy.pc?

They are located under the scons/pkgconfig subfolder. When installing
DOLFIN, they will be copied to $prefix/lib/pkgconfig (unless pkgConfDir is
given).

I need these to use

   pkg-config dolfin

The dolfin.pc file is located under the dolfin subfolder. To use

    pkg-config dolfin

you should first do

    scons install prefix=<somewhere>


I'm seeing some strange behaviour when PETSc is enabled. Only the dolfin.pc file is being installed correctly when I do

  scons install prefix=<somewhere>

A directory called '$prefix$ is begin created, which I guess shouldn't be there. When just doing 'scons', the directory scons/pkgconfig is empty.

When using enablePetsc=no, things look ok (except for there still being a directory $prefix).

Garth

and then update the PKG_CONFIG_PATH variable (e.g. by running 'source
dolfin.conf').

Johannes


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



Follow ups

References