Bug 36633 - cannot compile spice - "../../depcomp: line 611: exec: g++: not found"
Summary: cannot compile spice - "../../depcomp: line 611: exec: g++: not found"
Status: RESOLVED WONTFIX
Alias: None
Product: Spice
Classification: Unclassified
Component: spicec (deprecated) (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Spice Bug List
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-27 06:02 UTC by Yaniv Kaul
Modified: 2015-06-19 18:00 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Yaniv Kaul 2011-04-27 06:02:45 UTC
Trying to compile latest spice, on F15 beta/x86_64, I'm getting:
make[5]: Entering directory `/home/ykaul/spice/client/x11'
  CXX    event_sources_p.o
../../depcomp: line 611: exec: g++: not found
make[5]: *** [event_sources_p.o] Error 127
Comment 1 Yaniv Kaul 2011-04-27 06:09:57 UTC
Note: installing gcc-c++.x86_64 solves it.
Comment 2 Christophe Fergeau 2011-04-27 06:21:52 UTC
I got it by this one yesterday too, but spice/configure.ac has AC_PROG_CXX
 which I expected to test for the availability of a c++ compiler, so I'm a bit surprised here. Needs more investigation...
Comment 3 Marc-Andre Lureau 2011-06-16 08:52:33 UTC
From http://www.gnu.org/s/hello/manual/autoconf/C_002b_002b-Compiler.html:
[...] If none of those checks succeed, then as a last resort set CXX to g++.

People seem to do contrived tricks to check if there is a C++ compiler around, see http://www.google.com/codesearch#o2eFMadVrTo/configure.in&q=AC_PROG_CXX%20compiler%20missing&type=cs&l=834...

m4_pushdef([AC_MSG_ERROR],[cxxerror=yes])
AC_PROG_CXX
m4_popdef([AC_MSG_ERROR])

if test "x${cxxerror}" != "xyes"; then
...
Comment 4 Marc-Andre Lureau 2011-06-16 08:55:59 UTC
lowering severity, as it is pretty harmless...
Comment 5 Victor Toso 2015-06-19 18:00:47 UTC
spicec is deprecated.

If you hit this bug, we highly recommended virt-viewer

http://virt-manager.org/download/
http://www.spice-space.org/download.html


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.