Hi Ilmar,
Trying to rebuild, I get a strange problem -- it can't seem to find
ufc.h during compilation, just doing
scons prefix=/Users/kirby/FEniCS
All of the other fenics packages are also installed in this directory.
Looking at the compiler commands scons generates gives the following
(notice the
-Idolfin/~/FEnics/include, which seems to be the culprit.
c++ -o dolfin/elements/ElementLibrary.os -c -Wall -pipe -ansi -DDEBUG -g
-Werror
-DNDEBUG -O2 -DPACKAGE_VERSION=\"0.7.2\" -DHAS_UMFPACK=1 -DHAS_GTS=1
-fPIC -I.
-Idolfin/~/FEniCS/include -I/sw/include -I/sw/include/libxml2
-I/sw/include -I/s
w/include/suitesparse -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include
-I/sw/in
clude dolfin/elements/ElementLibrary.cpp
In file included from dolfin/elements/element_library.inc:6,
from dolfin/elements/ElementLibrary.cpp:1:
dolfin/elements/ffc_00.h:9:17: error: ufc.h: No such file or directory
dolfin/elements/ffc_00.h:13: error: 'ufc' has not been declared
On Tue, Apr 29, 2008 at 5:01 AM, Ilmar Wilbers <ilmarw@xxxxxxxxx
<mailto:ilmarw@xxxxxxxxx>> wrote:
Robert Kirby wrote:
> Hi all,
> I just successfully built dolfin (including python bindings) on my
> MacBook Pro. However, when trying to run any of the demos,
> I get
> Fatal Python error: Interpreter not initialized (version mismatch?)
> (long pause)
> Abort trap
>
> The system defaults to using /sw/bin/python (fink python),
>
> However, if I run the demo with /usr/bin/python, it mostly works. By
> mostly, it dies when attempting to plot (going out to viper), because
> those modules point to the other version of python. It seems that
> scons is picking a different python than the system default based on
> my path?
>
> Is there a way to force scons to use /sw/bin/python?
>
> BTW , which scons gives /sw/bin/scons, so this shouldn't be the
issue.
>
> Thanks,
> Rob
>
Hi Rob,
Are you still having these problems? I have the same setup on my Macbook
as you do, and I don't experience these problems. Since you have built
scons with fink, really is should use the fink version of python. They
are supposed to be the same python version. What happens if you install
scons manually?
ilmar
_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@xxxxxxxxxx <mailto:DOLFIN-dev@xxxxxxxxxx>
http://www.fenics.org/mailman/listinfo/dolfin-dev