On Tue, Jun 3, 2014 at 10:37 AM, Chris Richardson <[email protected]> wrote:
>
> I just had a go at compiling the release 1.4.0 and noticed a couple of
> things...
>
> If you follow the instructions in the README.rst :
>
> cmake .
> make install

Building in the source directory should be avoided. We should update
the instructions to build in a separate build directory.

> you get the following error:
>
> Traceback (most recent call last):
>   File
> "/home/chris/code/FEniCS/src/dolfin-1.4.0/cmake/scripts/copy-swig-files",
> line 58, in <module>
>     copy_data(sys.argv[-1])
>   File
> "/home/chris/code/FEniCS/src/dolfin-1.4.0/cmake/scripts/copy-swig-files",
> line 36, in copy_data
>     raise RuntimeError("destination directory cannot be the same as "\
> RuntimeError: destination directory cannot be the same as the dolfin source
> directory
> make[2]: *** [dolfin/swig/CMakeFiles/copy_swig_files] Error 1
> make[1]: *** [dolfin/swig/CMakeFiles/copy_swig_files.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....
> ^Cmake[1]: *** [dolfin/CMakeFiles/dolfin.dir/all] Interrupt
> make: *** [all] Interrupt
>
> -------
> I suggest the copy-swig-files.py script should just have:
>
>  if abs_destdir == dolfin_dir:
>      return
>
> -------
> Also, there are some old files in dolfin/swig/modules/common/*/CMakeFiles
> which should be removed, I think.

In the tarball? I cannot find them.

Johannes
_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics

Reply via email to