LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Installing dealii-8.2.1 in Linux Mint 17.1 (https://www.linuxquestions.org/questions/linux-software-2/installing-dealii-8-2-1-in-linux-mint-17-1-a-4175535689/)

hasibme 03-03-2015 06:34 PM

Installing dealii-8.2.1 in Linux Mint 17.1
 
I am trying to install dealii-8.2.1 software in Linux Mint using the Virtual Box in a 32-bit windows desktop. But I am getting the error message regarding the CMAKE_CXX_COMPILER. How to get rid of it? Please follow the error message that appears during installation through terminal window.

Code:

-- This is CMake 2.8.12.2
CMake Error at CMakeLists.txt:61 (INCLUDE):
  include could not find load file:

    setup_external_macros


CMake Error at CMakeLists.txt:86 (INCLUDE):
  include could not find load file:

    setup_cached_variables


-- The CXX compiler identification is unknown
-- The C compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.  Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Error at CMakeLists.txt:92 (ENABLE_LANGUAGE_OPTIONAL):
  Unknown CMake command "ENABLE_LANGUAGE_OPTIONAL".


-- Configuring incomplete, errors occurred!
See also "/home/hasib/Downloads/dealii-8.2.1/build/CMakeFiles/CMakeOutput.log".
See also "/home/hasib/Downloads/dealii-8.2.1/build/CMakeFiles/CMakeError.log".


dijetlo 03-06-2015 05:04 PM

You aren't, by any chance, trying to compile this lib outside of the build directory, are you? If you try to "make" outside the build directory "make install <switches/options> /path/to/build_directory" you anger the compiler gods, and they are a venal bunch.

The reason I'm asking is the only time I can remember seeing this error...

Quote:

Make Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.
I was engaged in such foolishness.

BTW, did you look in " /home/hasib/Downloads/dealii-8.2.1/build/CMakeFiles/CMakeError.log" to see what make was whining about when it died?

knudfl 03-06-2015 09:37 PM

"deal.II" : Latest is https://github.com/dealii/dealii
There may be some updates for version `~8.2.1' ...
$ git clone https://github.com/dealii/dealii


Your issues : Seems to be an incomplete install of "gcc-4.8".
Please do : $ sudo apt-get install g++


-


All times are GMT -5. The time now is 02:58 PM.