On Tue, Mar 25, 2014 at 6:34 PM, Marcelo Rosa (CEFET) <[email protected]> wrote: > I've tried to manually install dolphin in my computer (Fedora 18 linux). > > I havent had problems calling cmake. However after calling make, I've got > the following messages concerning a copy of swig files: > > [ 95%] Built target dolfin > Traceback (most recent call last): > File > "/home/mrosa/Downloads/fenics/dolfin-1.3.0/cmake/scripts/copy-swig-files", > line 58, in <module> > copy_data(sys.argv[-1]) > File > "/home/mrosa/Downloads/fenics/dolfin-1.3.0/cmake/scripts/copy-swig-files", > line 37, in copy_data > "the dolfin source directory") > 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: *** [all] Error 2 > > It seems there is something about a directory parameter passed to > copy-swig-files script (in dolfin/swig/CMakeFiles/) but I'm not so sure what > is the correct parameter make would pass to it.
Are you building in the DOLFIN source directory? It is recommended to create a separate build directory, for instance like this: cd dolfin-1.3.0 mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX:PATH=/foo/bar .. make make install Johannes _______________________________________________ fenics-support mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics-support
