help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: config error message


From: Sergei Steshenko
Subject: Re: config error message
Date: Mon, 28 May 2012 13:30:10 -0700 (PDT)

>________________________________
> From: Doug Stewart <address@hidden>
>To: Help-Octave List <address@hidden> 
>Sent: Monday, May 28, 2012 6:00 PM
>Subject: config error message
> 
>
>I am trying to set up a 3rd laptop for compiling octave.
>autogen.sh went ok but configure gave me
>
>
>| #ifdef __STDC__
>| # include <limits.h>
>| #else
>| # include <assert.h>
>| #endif
>|      Syntax error
>configure:7633: /lib/cpp  conftest.cpp
>cpp: error trying to exec 'cc1plus': execvp: No such file or directory
>configure:7633: $? = 1
>configure: failed program was:
>| /* confdefs.h */
>| #define PACKAGE_NAME "GNU Octave"
>| #define PACKAGE_TARNAME "octave"
>| #define PACKAGE_VERSION "3.7.0+"
>| #define PACKAGE_STRING "GNU Octave 3.7.0+"
>
>
>snip
>
>
>| # include <assert.h>
>| #endif
>|      Syntax error
>configure:7663: error: in `/home/jen/oct-com/octave':
>configure:7665: error: C++ preprocessor "/lib/cpp" fails sanity check
>See `config.log' for more details
>
>
>## ---------------- ##
>## Cache variables. ##
>## ---------------- ##
>
>
>ac_cv_build=x86_64-unknown-linux-gnu
>
>
>
>
>Could someone give me a clue as to what is wrong.
>
>
>Doug-- 
>
>DAS
>
>https://linuxcounter.net/user/206392.html
>
>_______________________________________________
>Help-octave mailing list
>address@hidden
>https://mailman.cae.wisc.edu/listinfo/help-octave
>


It often happens that 'gcc' proper ("C", not C++) compiler is installed, but 
'g++' (the C++ compiler) is not.

Make sure 'g++' is also installed.

Regards,
  Sergei.




>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]