Alexander Hansen-2 wrote
> Probably.  Mucking around with things under the hood can indeed make it
> difficult to build new packages  unless you neutralize the changes, and
> this is especially true when using a package manager since it expects
> things to be a certain way.

Yeah...it was a pre-release needed for a specific course which needed a
workaround for a bug in the Apple compiler. I thought I'd undone all of the
changes, but it looks like perhaps not.


Alexander Hansen-2 wrote
> ^ is not standard for your listed Xcode CLI tools.  That’s supposed to be
> a real file (and I don’t know of any ‘llvn-g++’ :-) )

I had completely reinstalled Xcode and the CLI tools and found that gcc
worked but g++ wasn't linked to anything. The llvn-g++ was the only g++ I
could find on the system and set a quick symlink to it.


Alexander Hansen-2 wrote
> I get the following different outputs when building nurses on 10.9 with
> the Xcode 6.1 tools:
> 
> checking whether gcc understands -c and -o together... yes
> checking how to run the C preprocessor... gcc -E
> 
> You may well _have_ a /lib/cpp from something you installed earlier, along
> with some non-Xcode compiler elsewhere in your PATH.
> 
> What do you get from the following (before doing any changes):
> 
> /sw/var/lib/fink/path-prefix-libcxx/g++ --version
> /lib/cpp --version
> 
> ?  It would also be useful to see a relevant portion of the config.log
> file from your ncurses build directory.

/sw/var/lib/fink/path-prefix-libcxx/g++ --version
/sw/var/lib/fink/path-prefix-libcxx/g++: line 23: exec: g++: not found

/lib/cpp --version
-bash: /lib/cpp: No such file or directory

So this looks problematic!

Extract from the config.log:
%%%%
Syntax error
configure:17345: /lib/cpp   -D_DARWIN_C_SOURCE -DNDEBUG conftest.cc
./configure: line 17346: /lib/cpp: No such file or directory
configure:17351: $? = 127
configure: failed program was:
#line 17340 "configure"
#include "confdefs.h"
#include <assert.h>
                     Syntax error
configure:17412: error: C++ preprocessor "/lib/cpp" fails sanity check
%%%%

All of the errors throughout the log are it not being able to find g++ or
/lib/cpp...

Thank you for your extremely rapid response!







--
View this message in context: 
http://fink.9193.n7.nabble.com/Fink-install-fail-cpp-fails-sanity-check-tp47031p47033.html
Sent from the fink-beginners mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to