LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Command line install problem (https://www.linuxquestions.org/questions/linux-general-1/command-line-install-problem-679204/)

leafhound 10-26-2008 05:05 PM

Command line install problem
 
i am trying if you can help to install this software

here is where i am at
Code:

user@kubuntu:~$ sudo cd /home/user/prettytasks
[sudo] password for user:                   
sudo: cd: command not found                 
user@kubuntu:~$ cd /home/user/prettytasks   
user@kubuntu:~/prettytasks$ cmake . -DCMAKE_INSTALL_PREFIX=/path/to/your/kde4/installation                                                                     
The program 'cmake' is currently not installed.  You can install it by typing: 
sudo apt-get install cmake                                                     
bash: cmake: command not found                                                 
user@kubuntu:~/prettytasks$ sudo apt-get install cmake                         
Reading package lists... Done                                                 
Building dependency tree                                                       
Reading state information... Done                                             
The following NEW packages will be installed                                   
  cmake                                                                       
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.                 
Need to get 7501kB of archives.                                               
After this operation, 19.1MB of additional disk space will be used.           
Get: 1 http://im.archive.ubuntu.com intrepid/main cmake 2.6.0-4ubuntu2 [7501kB]
Fetched 7501kB in 10s (727kB/s)                                               
Selecting previously deselected package cmake.                                 
(Reading database ... 103868 files and directories currently installed.)       
Unpacking cmake (from .../cmake_2.6.0-4ubuntu2_i386.deb) ...                   
Processing triggers for man-db ...                                             
Setting up cmake (2.6.0-4ubuntu2) ...                                         

user@kubuntu:~/prettytasks$ cmake . -DCMAKE_INSTALL_PREFIX=/path/to/your/kde4/installation                                                                     
-- The C compiler identification is GNU                                       
-- The CXX compiler identification is unknown                                 
-- Check for working C compiler: /usr/bin/gcc                                 
-- Check for working C compiler: /usr/bin/gcc -- works                         
-- Detecting C compiler ABI info                                               
-- Detecting C compiler ABI info - done                                       
-- Check for working CXX compiler: CMAKE_CXX_COMPILER-NOTFOUND                 
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: Internal CMake error, TryCompile configure of cmake failed
-- Check for working CXX compiler: CMAKE_CXX_COMPILER-NOTFOUND -- broken
CMake Error at /usr/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake:25 (MESSAGE):
  The C++ compiler "CMAKE_CXX_COMPILER-NOTFOUND" is not able to compile a
  simple test program.

  It fails with the following output:





  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:2 (project)


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 Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.6)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
user@kubuntu:~/prettytasks$ make
make: *** No targets specified and no makefile found. Stop.
user@kubuntu:~/prettytasks$ cd /home/user/prettytasks/CMakeFiles
user@kubuntu:~/prettytasks/CMakeFiles$ make
make: *** No targets specified and no makefile found. Stop.
user@kubuntu:~/prettytasks/CMakeFiles$

is it an hopeless case?

leafhound 10-26-2008 05:57 PM

my mistake, all sorted now @)


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