|
From: Mikhail K. <mko...@gm...> - 2012-12-26 19:59:28
|
Thanks for suggestions, Ethan, i shall give it a try. yes i do get a compiler when executing "c++" or "g++", like: $ c++ --version c++ (GCC) 4.7.1 [snip] $ g++ --version g++ (GCC) 4.7.1 [snip] on my system "c++" is a symlink to "g++", and "g++" is a symlink to the actual compiler binary: $ ls -l `which c++` lrwxrwxrwx 1 root root 3 Dec 24 23:45 /usr/bin/c++ -> g++* $ ls -l `which g++` lrwxrwxrwx 1 root root 13 Dec 24 23:45 /usr/bin/g++ -> g++-gcc-4.7.1* $ ls -l `which g++-gcc-4.7.1` -rwxr-xr-x 1 root root 542132 Jun 20 2012 /usr/bin/g++-gcc-4.7.1* thanks again Mikhail On 26/12/2012 20:46, sfeam (Ethan Merritt) wrote: > On Wednesday, 26 December 2012, Mikhail Kononets wrote: >> Ethan, thank you for spending time on me. >> >> I think i do have C++ compiler properly installed and in the default >> path for execution, because gnuplot 4.4.4 can detect C++ compiler and >> can be successfully compiled with wxt support on my system (i am now >> using gnuplot 4.4.4 with wxt terminal). Can anything else be wrong? > > So when you type "c++" at the command line you do get a compiler? > Note that the usual name for the gcc C++ compiler is "g++" not "c++". > > I don't know why your system might be confused, but if "g++" works > and "c++" does not, then you can probably proceed by doing > (csh/tcsh) > setenv CXX g++ > ./configure > or (bash/sh) > export CXX=g++ > ./configure > >> >> Mikhail >> >> >> On 26/12/2012 20:00, sfeam (Ethan Merritt) wrote: >>>> configure:YYYYY: -c++ -c -g -O2 -I/usr/include conftest.cpp>&5 >>>>> ./configure: line XXXXX: -c++: command not found >>> [snip] >>>>> configure:12223: WARNING: No C++ compiler found. The wxWidgets terminal >>>>> will not be compiled. >>>>> Am i doing anything wrong? GCC is 4.7.1. >>> The error message is perfectly clear. >>> You do not have a C++ compiler installed (or if you do then it's not in >>> the default path for execution). >>> >>> Ethan >>> >>> >> >> > |