Am 29. Aug, 2006 schwätzte Robert N. Eaton so:
> der.hans wrote:
>
>> You need g++, which is the GNU C++ compiler.
>>
>> Your distro should have some base devel package that will grab everything
>> you need.
>
> I have /usr/bin/g++-3.3. That is in PATH, but it didn't seem to grab
> anything,
You can make a softlink to /usr/bin/g++-3.3 from /usr/bin/g++, but that's
something your package management system should handle.
What distro are you running?
Seems foolish to try to check for the version of a program you know isn't
installed...
ciao,
der.hans
> Keneth wrote:
>
> gcc handles C++ as well as C and a few others. Was there anything before the
> line that said it didn't find a C++ compiler? Did it say what command it
> tried to use?
>
> configure:2689: checking for g++
> configure:2718: result: no
> configure:2689: checking for c++
> configure:2718: result: no
> configure:2689: checking for gpp
> configure:2718: result: no
> configure:2689: checking for aCC
> configure:2718: result: no
> configure:2689: checking for CC
> configure:2718: result: no
> configure:2689: checking for cxx
> configure:2718: result: no
> configure:2689: checking for cl
> configure:2718: result: no
> configure:2689: checking for FCC
> configure:2718: result: no
> configure:2689: checking for KCC
> configure:2718: result: no
> configure:2689: checking for RCC
> configure:2718: result: no
> configure:2689: checking for xlC_r
> configure:2718: result: no
> configure:2689: checking for xlC
> configure:2718: result: no
> configure:2731: checking for C++ compiler version
> configure:2734: g++ --version </dev/null >&5
> ./configure: line 1: g++: command not found
> configure:2737: $? = 127
> configure:2739: g++ -v </dev/null >&5
> ./configure: line 1: g++: command not foundconfigure:2689: checking for cl
> configure:2718: result: no
> configure:2689: checking for FCC
> configure:2718: result: no
> configure:2689: checking for KCC
> configure:2718: result: no
> configure:2689: checking for RCC
> configure:2718: result: no
> configure:2689: checking for xlC_r
> configure:2718: result: no
> configure:2689: checking for xlC
> configure:2718: result: no
> configure:2731: checking for C++ compiler version
> configure:2734: g++ --version </dev/null >&5
> ./configure: line 1: g++: command not found
> configure:2737: $? = 127
> configure:2739: g++ -v </dev/null >&5
> ./configure: line 1: g++: command not found
> configure:2742: $? = 127
> configure:2744: g++ -V </dev/null >&5
> ./configure: line 1: g++: command not found
> configure:2747: $? = 127
> configure:2770: checking for C++ compiler default output file name
> configure:2773: g++ conftest.cc >&5
> ./configure: line 1: g++: command not found
> configure:2776: $? = 127
> configure: failed program was:
> | /* confdefs.h. */
>
> configure:2742: $? = 127
> configure:2744: g++ -V </dev/null >&5
> ./configure: line 1: g++: command not found
> configure:2747: $? = 127
> configure:2770: checking for C++ compiler default output file name
> configure:2773: g++ conftest.cc >&5
> ./configure: line 1: g++: command not found
> configure:2776: $? = 127
> configure: failed program was:
> | /* confdefs.h. */
>
> Seems like it asked for a number of possible compilers. Why it couldn't find
> and invoke g++, I don't know. Couldn't find |/*confdefs.h. */ ???
>
> Bob Eaton
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
--
# https://www.LuftHans.com/ http://www.CiscoLearning.org/
# Join the League of Professional System Administrators! https://LOPSA.org/
# When you are tired of choosing the lesser of two evils,
# Vote Cthulhu for President!
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss