[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: octave 3.6.2 build error: invalid preprocessing directive #!
From: |
Richard Crozier |
Subject: |
Re: octave 3.6.2 build error: invalid preprocessing directive #! |
Date: |
Fri, 17 Aug 2012 09:57:46 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 |
On 16/08/2012 21:43, Mike Miller wrote:
Richard, try running
g++ -v -E foo.c++
with the same file as above. The -v should print what directories g++
is searching for header files in, right near the top of the output,
here's what I see:
#include "..." search starts here:
#include<...> search starts here:
/usr/include/c++/4.7
/usr/include/c++/4.7/x86_64-linux-gnu
/usr/include/c++/4.7/backward
/usr/lib/gcc/x86_64-linux-gnu/4.7/include
/usr/local/include
/usr/lib/gcc/x86_64-linux-gnu/4.7/include-fixed
/usr/include/x86_64-linux-gnu
/usr/include
End of search list.
This should confirm whether it's a built-in misconfiguration of the
compiler or something else in your environment.
-- mike
Hi Mike, here is the output of the command you suggested
#include "..." search starts here:
#include <...> search starts here:
/home/s0237326/bin/share
/usr/lib64/qt-3.3/bin
/usr/lib64/ccache
/usr/local/share/bin
/usr/local/bin
/bin
/usr/bin
/usr/NX/bin
/usr/openwin/bin
/usr/local/sbin
/usr/sbin
/sbin
/home/s0237326/bin/include
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/x86_64-redhat-linux
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/backward
/usr/local/include
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/include
/usr/include
End of search list.
As I said in an email to Jordi (but forgot to copy to the list), I will
contact my IT department about this, it would be good though to be able
to give them a good diagnosis of the problem though. Am I right in
thinking that all the directories with 'bin' in them should not really
be in this list?
Thanks for the help.
Richard
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
- octave 3.6.2 build error: invalid preprocessing directive #!, Richard Crozier, 2012/08/16
- Re: octave 3.6.2 build error: invalid preprocessing directive #!, Jordi Gutiérrez Hermoso, 2012/08/16
- Re: octave 3.6.2 build error: invalid preprocessing directive #!, Richard Crozier, 2012/08/16
- Re: octave 3.6.2 build error: invalid preprocessing directive #!, Jordi Gutiérrez Hermoso, 2012/08/16
- Re: octave 3.6.2 build error: invalid preprocessing directive #!, Richard, 2012/08/16
- Re: octave 3.6.2 build error: invalid preprocessing directive #!, Jordi Gutiérrez Hermoso, 2012/08/16
- Re: octave 3.6.2 build error: invalid preprocessing directive #!, Mike Miller, 2012/08/16
- Re: octave 3.6.2 build error: invalid preprocessing directive #!,
Richard Crozier <=
- Re: octave 3.6.2 build error: invalid preprocessing directive #!, Sergei Steshenko, 2012/08/17
- Re: octave 3.6.2 build error: invalid preprocessing directive #!, Richard Crozier, 2012/08/17
- Re: octave 3.6.2 build error: invalid preprocessing directive #!, Sergei Steshenko, 2012/08/17
- Re: octave 3.6.2 build error: invalid preprocessing directive #!, Martin Helm, 2012/08/17
- Re: octave 3.6.2 build error: invalid preprocessing directive #!, Richard Crozier, 2012/08/17