I'm trying to get the latest cadabra to build on 10.8, and these efforts have 
run afoul of a configure failure with gcc47.

Cadabra 1.31 won't compile with the Fink's default compilers - g++ complains 
about a syntax error.  I tried gcc47 to see if that would work.  I put "SetCXX: 
g++-4.7" in the info file, and added Depends and BuildDepends on gcc47-shlibs 
and gcc47 respectively.  

configure fails with:

checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
### execution of /tmp/fink.ySYFx failed, exit code 1
### execution of /tmp/fink.zSk50 failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-cadabra-1.31-1
(Reading database ... 197960 files and directories currently installed.)
Removing fink-buildlock-cadabra-1.31-1 ...
Failed: phase compiling: cadabra-1.31-1 failed

===========
config.log has:
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_prog_CXXCPP=/lib/cpp

## ----------------- ##
## Output variables. ##
## ----------------- ##
CXXCPP='/lib/cpp'

|                    Syntax error
configure:3505: /lib/cpp -I/sw/lib/pango-ft219/include/pango-1.0 
-I/sw/lib/pango-ft219/include -I/sw/lib/freetype219/include/freetype2 
-I/sw/lib/freetype219/include -I/sw/lib/fontconfig2/include -I/sw/include 
-DX_LOCALE -fnested-functions conftest.cpp
./configure: line 3506: /lib/cpp: No such file or directory


===========
I don't have a /lib/cpp.  I've got /usr/bin/cpp.  Why is configure looking for 
/lib/cpp?

Any advice is appreciated.

Thanks,

--
Kevin Horton
Ottawa, Canada




------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to