This looks like just a warning to me.

The permission denied error you get when running make install is because it
tries to write to /usr. You probably want to install to a different
directory. Please see the following page for info about how to do that:

http://fenicsproject.org/download/installation_from_source.html#installation-from-source

Johannes
On Oct 9, 2014 10:25 PM, "André Timótheo" <[email protected]> wrote:

> During make phase the error message:
>
> Linking CXX shared module _fem.so
> [100%] Built target _fem
> [100%] Swig source
> Scanning dependencies of target _common
> [100%] Building CXX object
> dolfin/swig/modules/common/CMakeFiles/_common.dir/modulePYTHON_wrap.cxx.o
> /home/parallels/dolfin-master/build/dolfin/swig/modules/common/modulePYTHON_wrap.cxx:2963:21:
> warning: invalid suffix on literal; C++11 requires a space between literal
> and identifier [-Wliteral-suffix]
>    "in method '" name"', argument "argn" of type '"type"'"
>                      ^
> /home/parallels/dolfin-master/build/dolfin/swig/modules/common/modulePYTHON_wrap.cxx:2963:39:
> warning: invalid suffix on literal; C++11 requires a space between literal
> and identifier [-Wliteral-suffix]
>    "in method '" name"', argument "argn" of type '"type"'"
>                                        ^
> /home/parallels/dolfin-master/build/dolfin/swig/modules/common/modulePYTHON_wrap.cxx:2965:3:
> warning: invalid suffix on literal; C++11 requires a space between literal
> and identifier [-Wliteral-suffix]
>    "invalid null reference "SWIG_ArgFail_Fmt(type, name, argn)
>    ^
> /home/parallels/dolfin-master/build/dolfin/swig/modules/common/modulePYTHON_wrap.cxx:2967:3:
> warning: invalid suffix on literal; C++11 requires a space between literal
> and identifier [-Wliteral-suffix]
>    "in method '"name"', output value of type '"type"'"
>    ^
> /home/parallels/dolfin-master/build/dolfin/swig/modules/common/modulePYTHON_wrap.cxx:2967:20:
> warning: invalid suffix on literal; C++11 requires a space between literal
> and identifier [-Wliteral-suffix]
>    "in method '"name"', output value of type '"type"'"
>                     ^
> Linking CXX shared module _common.so
>
>
> 2014-10-09 13:57 GMT-03:00 André Timótheo <[email protected]>:
>
>> I follow the instructions.
>>
>>   cmake -DDOLFIN_ENABLE_CGAL:BOOL=OFF ..
>>   make
>>   make install
>>
>> After the make install another bug
>>
>> 100%] Built target _fem
>> [100%] Built target _common
>> Install the project...
>> -- Install configuration: "RelWithDebInfo"
>> -- Installing: /usr/lib/python2.7/dist-packages/dolfin
>> CMake Error at cmake_install.cmake:44 (FILE):
>>   file INSTALL cannot set permissions on
>>   "/usr/lib/python2.7/dist-packages/dolfin"
>>
>>
>> make: *** [install] Error 1
>>
>>
>> 2014-10-09 3:33 GMT-03:00 Johannes Ring <[email protected]>:
>>
>> In the build directory, run
>>>
>>>   cmake -DDOLFIN_ENABLE_CGAL:BOOL=OFF ..
>>>   make
>>>   make install
>>>
>>> Johannes
>>>
>>> On Wed, Oct 8, 2014 at 11:45 PM, André Timótheo <[email protected]>
>>> wrote:
>>> > I have to put this comand  - DDOLFIN_ENABLE_CGAL:BOOL=OFF
>>> > on make install?
>>> >
>>> > On [ 89%] Building CXX object
>>> > dolfin/CMakeFiles/dolfin.dir/generation/CSGCGALMeshGenerator3D.cpp.
>>> there is
>>> > another bug:
>>> >
>>> > c++: internal compiler error: Killed (program cc1plus)
>>> > Please submit a full bug report,
>>> > with preprocessed source if appropriate.
>>> > See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
>>> > make[2]: ***
>>> > [dolfin/CMakeFiles/dolfin.dir/generation/CSGCGALMeshGenerator3D.cpp.o]
>>> Error
>>> > 4
>>> > make[1]: *** [dolfin/CMakeFiles/dolfin.dir/all] Error 2
>>> > make: *** [all] Error 2
>>> >
>>> > 2014-10-08 12:51 GMT-03:00 Johannes Ring <[email protected]>:
>>> >
>>> >> Yes, you need more to compile with CGAL. To disable CGAL, run
>>> >>
>>> >> cmake - DDOLFIN_ENABLE_CGAL:BOOL=OFF..
>>> >>
>>> >> Johannes
>>> >>
>>> >> On Oct 8, 2014 5:46 PM, "André Timótheo" <[email protected]>
>>> wrote:
>>> >>>
>>> >>> I put 3.5 gb of RAM in ubuntu 14 virtual machine inside os x. Do you
>>> >>> think that
>>> >>> I need more?
>>> >>>
>>> >>> Where I disable CGAL?
>>> >>>
>>> >>> Thank you very much man.
>>> >>>
>>> >>> A
>>> >>>
>>> >>> Em quarta-feira, 8 de outubro de 2014, Johannes Ring <
>>> [email protected]>
>>> >>> escreveu:
>>> >>>>
>>> >>>> My guess is that you don't have enough memory to compile DOLFIN with
>>> >>>> CGAL support. You can disable CGAL with
>>> -DDOLFIN_ENABLE_CGAL:BOOL=OFF when
>>> >>>> running cmake.
>>> >>>>
>>> >>>> Johannes
>>> >>>>
>>> >>>> On Oct 8, 2014 5:35 PM, "André Timótheo" <[email protected]>
>>> wrote:
>>> >>>>>
>>> >>>>> I try the make install comand...
>>> >>>>>
>>> >>>>> c++: internal compiler error: Killed (program cc1plus)
>>> >>>>> Please submit a full bug report,
>>> >>>>> with preprocessed source if appropriate.
>>> >>>>> See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
>>> >>>>> make[2]: ***
>>> >>>>>
>>> [dolfin/CMakeFiles/dolfin.dir/generation/CSGCGALMeshGenerator3D.cpp.o] Error
>>> >>>>> 4
>>> >>>>> make[1]: *** [dolfin/CMakeFiles/dolfin.dir/all] Error 2
>>> >>>>> make: *** [all] Error 2
>>> >>>>>
>>> >>>>> How can I solve it?
>>> >>>>>
>>> >>>>> Andre Timotheo
>>> >>>>>
>>> >>>>> ---------- Forwarded message ----------
>>> >>>>> From: André Timótheo <[email protected]>
>>> >>>>> Date: 2014-10-08 10:19 GMT-03:00
>>> >>>>> Subject: Fwd: [FEniCS] dolfin Configuring incomplete, errors
>>> occurred!
>>> >>>>> To: [email protected]
>>> >>>>>
>>> >>>>>
>>> >>>>> thank you very much!
>>> >>>>>
>>> >>>>> Andre Machado
>>> >>>>>
>>> >>>>>
>>> >>>>> Subject: Re: [FEniCS] dolfin Configuring incomplete, errors
>>> occurred!
>>> >>>>> To: André Timótheo <[email protected]>
>>> >>>>> Cc: FEniCS Project <[email protected]>
>>> >>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>> On Tue, Oct 7, 2014 at 11:48 PM, André Timótheo <
>>> [email protected]>
>>> >>>>> wrote:
>>> >>>>> >     I am trying to install Dolfin from
>>> >>>>> > https://github.com/FEniCS/dolfin
>>> >>>>> > and there are some problems:
>>> >>>>> >
>>> >>>>> > -- Copying demo and test data to build directory.
>>> >>>>> > -- ----------------------------------------------
>>> >>>>> > CMake Error at CMakeLists.txt:898 (message):
>>> >>>>> >   Copy demo data failed:
>>> >>>>> >
>>> >>>>> >   Traceback (most recent call last):
>>> >>>>> >
>>> >>>>> >     File
>>> >>>>> >
>>> >>>>> >
>>> "/home/parallels/Downloads/dolfin-master/cmake/scripts/copy-test-demo-data",
>>> >>>>> > line 70, in <module>
>>> >>>>> >       copy_data(sys.argv[-1])
>>> >>>>> >     File
>>> >>>>> >
>>> >>>>> >
>>> "/home/parallels/Downloads/dolfin-master/cmake/scripts/copy-test-demo-data",
>>> >>>>> > line 47, in copy_data
>>> >>>>> >       raise RuntimeError("destination directory cannot be the
>>> same as
>>> >>>>> > "\
>>> >>>>> >
>>> >>>>> >   RuntimeError: destination directory cannot be the same as the
>>> >>>>> > dolfin
>>> >>>>> > source
>>> >>>>> >   directory
>>> >>>>> >
>>> >>>>> > -- Configuring incomplete, errors occurred!
>>> >>>>>
>>> >>>>> Create a build directory and run cmake in that directory. For
>>> >>>>> instance, in the DOLFIN source directory, do:
>>> >>>>>
>>> >>>>>   mkdir build
>>> >>>>>   cd build
>>> >>>>>   cmake ..
>>> >>>>>
>>> >>>>> Johannes
>>> >>>>>
>>> >>>>>
>>> >
>>>
>>
>>
>
_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics

Reply via email to