Thanks for the tip, making from a different directory made everything go
through to 100%. However, I am still getting the same error:

##################################################################################################################
$ python
Python 2.7.5 (default, Jul  8 2013, 09:48:59)
[GCC 4.8.1 20130603 (Red Hat 4.8.1-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from dolfin import *
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib64/python2.7/site-packages/dolfin/__init__.py", line
16, in <module>
    import cpp
  File "/usr/local/lib64/python2.7/site-packages/dolfin/cpp/__init__.py",
line 40, in <module>
    exec("import %s" % module_name)
  File "<string>", line 1, in <module>
ImportError: No module named common
>>>
##################################################################################################################

In the CMakeCache.txt, I read

##################################################################################################################
//Python extension module installation directory.
DOLFIN_INSTALL_PYTHON_MODULE_DIR:PATH=lib64/python2.7/site-packages

//Python module installation directory.
DOLFIN_INSTALL_PYTHON_PURE_MODULE_DIR:PATH=lib/python2.7/site-packages
##################################################################################################################

There seems to be more stuff in the dolfin directory. Am I missing some
prerequisite? Should I reinstall ufc?

##################################################################################################################
$ source /usr/local/share/dolfin/dolfin.conf
$ echo $PYTHONPATH
/usr/local/lib64/python2.7/site-packages:/usr/local/lib/python2.7/site-packages:
$ ls /usr/local/lib/python2.7/site-packages
dolfin_utils  ufc_utils
$ ls /usr/local/lib64/python2.7/site-packages/dolfin
common          cpp             fem        importhandler  mesh
compilemodules  deprecation.py  functions  __init__.py    multistage
##################################################################################################################

Thanks a ton again!


On 15 August 2013 13:08, Johannes Ring <[email protected]> wrote:

> On Thu, Aug 15, 2013 at 11:44 AM, A. Lapraitis <[email protected]>
> wrote:
> > Unfortunately, this does not look good any more:
> >
> > ##########################################################
> >
> > Linking CXX shared library libdolfin.so
> > [ 95%] Built target dolfin
> > Scanning dependencies of target copy_swig_files
> > [ 95%] Built target copy_swig_files
> > ##########################################################
> >
> > is still OK but then I get an error
> >
> > ##########################################################
> > make[2]: *** No rule to make target
> >
> `dolfin/swig/modules/mesh/fenics-project-dolfin-36860144ca08/../../../../dolfin/ale/ALE.h',
> > needed by `dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx'.  Stop.
> > make[1]: *** [dolfin/swig/modules/mesh/CMakeFiles/_mesh.dir/all] Error 2
> > make: *** [all] Error 2
> > ##########################################################
>
> This looks like a bug. I get the same error if the source dir is a
> subdir of the build dir. Also, if the source dir is given as a full
> path to cmake, I get the following error:
>
> -- Generating SWIG interface.
> -- --------------------------
> Traceback (most recent call last):
>   File "/tmp/src/dolfin/cmake/scripts/generate-swig-interface", line
> 583, in <module>
>     regenerate_swig_interface(module_to_submodules, excludes, dest_dir)
>   File "/tmp/src/dolfin/cmake/scripts/generate-swig-interface", line
> 533, in regenerate_swig_interface
>     raise NotImplemented("Need some love...")
> TypeError: 'NotImplementedType' object is not callable
>
>
> Johan?
>
> Johannes
>
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to