[BuildTools-tickets] [BuildTools] #67: Running configure without g++ => cryptic error

BuildTools coin-trac at coin-or.org
Mon Sep 1 05:24:07 EDT 2008


#67: Running configure without g++ => cryptic error
--------------------------+-------------------------------------------------
Reporter:  plb            |        Owner:  andreasw           
    Type:  enhancement    |       Status:  new                
Priority:  trivial        |    Component:  configuration tests
 Version:  0.5            |   Resolution:                     
Keywords:  configure g++  |  
--------------------------+-------------------------------------------------
Comment (by stefan):

 Replying to [comment:7 plb]:
 > {{{
 > $ whereis cpp
 > cpp: /usr/bin/cpp /lib/cpp /usr/share/man/man1/cpp.1.gz
 > $ diff /lib/cpp /usr/bin/cpp
 > $
 > }}}
 > Both files are identical, and I manually rechecked /lib/cpp . I'm no
 expert but it seems to
 > work.

 But strange that /lib/cpp then does not work when called from inside
 configure.[[BR]]
 I don't know what to do about the {{{execvp: No such file or directory}}}
 problem.
 I don't think it is a problem with configure in this case.[[BR]]
 Could $PATH be different when cpp is called from inside configure? Maybe a
 different shell is used where environment variables are different?

 > If configure works with g++, it means than cpp works too, right?

 Yes, but you don't even have g++. ;-)

 Stefan

-- 
Ticket URL: <https://projects.coin-or.org/BuildTools/ticket/67#comment:8>
BuildTools <http://projects.coin-or.org/BuildTools>
Tools for configuring and compiling COIN-OR codes



More information about the BuildTools-tickets mailing list