Hi Kevin,

Well, g++ was already in /usr/bin, but I followed your recommendation anyway, and got this:

Script started on 2017-12-04 19:25:38-0500
[archie@debian ~]$ sudo aptitude install g++
[  0%] Reading package lists                            [100%] Reading package 
lists                            [  0%] Building dependency tree                
               [100%] Building dependency tree                               [  
0%] Reading state information                                [ 16%] Reading 
state information                                [  0%] Reading extended state 
information                                         [  0%] Initializing package 
states                                  [  0%] Writing extended state 
information                                         [  0%] Building tag 
database                            g++ is already installed at the requested 
version (4:7.2.0-1d1)
g++ is already installed at the requested version (4:7.2.0-1d1)
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
[ 0%] Writing extended state information [100%] Writing extended state information [ 0%] Reading package lists [ 0%] Building dependency tree [100%] Building dependency tree [ 0%] Reading state information [ 16%] Reading state information [ 0%] Reading extended state information [ 0%] Initializing package states [ 0%] Writing extended state information [ 0%] Building tag database [100%] Building tag database [archie@debian ~]$ which g++
/usr/bin/g++
[archie@debian ~]$ cd src/tidy-html5-master/build/cmake/
[archie@debian cmake]$ sudo export 
CMAKE_CXX_COMPILER=/usr/bin/g++
[archie@debian cmake]$ cmake ../..
-- The CXX compiler identification is unknown
-- Check for working CXX compiler: /usr/bin/cpp
-- Check for working CXX compiler: /usr/bin/cpp -- broken
CMake Error at /usr/share/cmake-3.9/Modules/CMakeTestCXXCompiler.cmake:44 
(message):
  The C++ compiler "/usr/bin/cpp" is not able to compile a simple test
  program.

  It fails with the following output:

   Change Dir: 
/home/archie/src/tidy-html5-master/build/cmake/CMakeFiles/CMakeTmp



  Run Build Command:"/usr/bin/make" "cmTC_0f396/fast"

  /usr/bin/make -f CMakeFiles/cmTC_0f396.dir/build.make
  CMakeFiles/cmTC_0f396.dir/build

  make[1]: Entering directory
  '/home/archie/src/tidy-html5-master/build/cmake/CMakeFiles/CMakeTmp'

  Building CXX object CMakeFiles/cmTC_0f396.dir/testCXXCompiler.cxx.o

  /usr/bin/cpp -o CMakeFiles/cmTC_0f396.dir/testCXXCompiler.cxx.o -c
  
/home/archie/src/tidy-html5-master/build/cmake/CMakeFiles/CMakeTmp/testCXXCompiler.cxx


  cpp: fatal error: ā€˜-c’ is not a valid option to the preprocessor

  compilation terminated.

  CMakeFiles/cmTC_0f396.dir/build.make:65: recipe for target
  'CMakeFiles/cmTC_0f396.dir/testCXXCompiler.cxx.o' failed

  make[1]: *** [CMakeFiles/cmTC_0f396.dir/testCXXCompiler.cxx.o] Error 1

  make[1]: Leaving directory
  '/home/archie/src/tidy-html5-master/build/cmake/CMakeFiles/CMakeTmp'

  Makefile:126: recipe for target 'cmTC_0f396/fast' failed

  make: *** [cmTC_0f396/fast] Error 2





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


-- Configuring incomplete, errors occurred!
See also 
"/home/archie/src/tidy-html5-master/build/cmake/CMakeFiles/CMakeOutput.log".
See also 
"/home/archie/src/tidy-html5-master/build/cmake/CMakeFiles/CMakeError.log".
[archie@debian cmake]$ exit

Script done on 2017-12-04 19:34:57-0500


But look at this:

$ g++ --version
g++ (Debian 7.2.0-16) 7.2.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Looks like it's there okay, but cmake can't find it.

Chuck








--
Here In Northeast Ohio, The Moon is Waning Gibbous (97% of Full)
When your only tool is a hammer, everything looks like a nail.
Sent from Stacy's iPhone.
_______________________________________________
Edbrowse-dev mailing list
[email protected]
http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev

Reply via email to