dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #03672
Re: issues (?) with 0.6.3
On Sun, Oct 29, 2006 at 08:30:15PM +0100, Garth N. Wells wrote:
>
> Quoting Dag Lindbo <dag@xxxxxxxx>:
>
> > Hi all,
> >
> > Since updating to 0.6.3 I've run into
> >
> > 1) The install scripts do not seem to set PKG_CONFIG_PATH. I had to do
> > export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ after installing dolfin.
> >
>
> Configure now produces a file dolfin.conf. You just need to do
>
> source dolfin.conf
>
> This sets more that just PKG_CONFIG_PATH, so it may help with the below problems.
Just a comment: As far as I know, there is no way for a script (like a
bash script) to set environment variables in the shell that executes
the script. Therefore, there is no way for DOLFIN to set the values of
variables that are needed to compile against a DOLFIN installed in a
non-standard location. (But in your case it's standard so it shouldn't
be needed.)
It would also not be very nice to silently set some environment
variables for the user who compiles DOLFIN. So sourcing the
dolfin.conf must be done manually.
/Anders
> > 2) Link problems in my solvers. In 0.6.2x the linking was fine. But now I
> > get link errors like
> > ClassX.cpp: multiple definition of
> > 'dolfin::formX::BilinearForm::interior_contribution() const'
> > (...)
> >
> > I have form-headers that get included all over the place, i.e.
> > "Class1.hpp" includes "formX.h"
> > "Class2.hpp" includes "formX.h"
> > "Class3.hpp" includes "formX.h"
> > and
> > "main.cpp" includes Class1.hpp, Class2.hpp ...
> >
> > Why has this become a problem since 0.6.2? I guess the error is on my
> > side, though...
> >
>
> Could be because of the problem outlined above. Have you recompiled all your
> forms with FFC?
>
> Garth
>
> > Thanks a lot!
> > Dag Lindbo
> >
> > _______________________________________________
> > DOLFIN-dev mailing list
> > DOLFIN-dev@xxxxxxxxxx
> > http://www.fenics.org/mailman/listinfo/dolfin-dev
> >
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
References