From: Chuck Hallenbeck <chuckhallenbeck@gmail.com>
To: Kevin Carhart <kevin@carhart.net>
Cc: edbrowse-dev@lists.the-brannons.com
Subject: Re: [Edbrowse-dev] Problem installing git version on debian sid
Date: Mon, 4 Dec 2017 19:47:04 -0500 (EST) [thread overview]
Message-ID: <alpine.DEB.2.21.1712041937320.6760@debian.pulsar.com> (raw)
In-Reply-To: <alpine.LRH.2.03.1712041538240.4336@carhart.net>
[-- Attachment #1: Type: text/plain, Size: 4522 bytes --]
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 \b^[[K\b^[[K\b^[[K\b^[[K\b^[[Kexport 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.
next prev parent reply other threads:[~2017-12-05 0:45 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-04 15:48 Chuck Hallenbeck
2017-12-04 18:19 ` Geoff McLane
2017-12-04 19:48 ` Chuck Hallenbeck
2017-12-04 20:23 ` Geoff McLane
2017-12-04 23:42 ` Kevin Carhart
2017-12-05 0:47 ` Chuck Hallenbeck [this message]
2017-12-05 14:58 ` Chris Brannon
2017-12-05 16:36 ` Chuck Hallenbeck
2017-12-05 16:54 ` Karl Dahlke
2017-12-05 17:26 ` Chuck Hallenbeck
2017-12-05 18:57 ` Geoff McLane
2017-12-05 20:03 ` Chuck Hallenbeck
2017-12-10 6:39 ` [Edbrowse-dev] what is dispatchEvent and is it needed? Kevin Carhart
2017-12-10 6:48 ` Karl Dahlke
2017-12-10 8:28 ` Kevin Carhart
2017-12-05 1:01 ` [Edbrowse-dev] Problem installing git version on debian sid Chuck Hallenbeck
2017-12-04 20:12 ` Chuck Hallenbeck
2017-12-04 20:36 ` Karl Dahlke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.21.1712041937320.6760@debian.pulsar.com \
--to=chuckhallenbeck@gmail.com \
--cc=edbrowse-dev@lists.the-brannons.com \
--cc=kevin@carhart.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).