When attempting to bootstrap fink-0.31.0 on a fresh 10.7 install it consistently fails in the ncurses config with:
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
### execution of /var/tmp/tmp.3.vrfal0 failed, exit code 1
phase compiling: ncurses-5.9-20110507-1 failed
But, it configures fine using if I untar the ncurses-5.9 archive, apply the
patches it contains, and run ./configure manually with exactly the same
options. So it's probably an environment-related issue, but I don't know what.
Does anyone know what I'm missing? Clearly /lib/cpp is not the correct path for
CXXPP on OS X, but I'm not sure why it's detecting that or how to make it find
the correct path -- it can find the regular c preprocessor without any issue,
so I don't understand why it fails here, or what's different between the run
inside fink and the run I do manually.
Zach
This is the command sequence that works manually but not inside the bootstrap:
gzip -dc /sw/src/ncurses-5.9-20110507.tgz | /usr/bin/gnutar -xf -
cd ncurses-5.9
for p in patches/*.patch.gz; do gzip -cd "${p}" | patch -p1; done
perl -pi -e 's/hp70092a\|//; s/hp2621a\|//; s/2621a\|//' misc/terminfo.src
./configure --prefix=/sw --without-ada --without-pkg-config --with-shared
--with-debug --enable-termcap --mandir=/sw/share/man
--with-terminfo-dirs="/sw/share/terminfo:/usr/share/terminfo"
--with-default-terminfo-dir="/sw/share/terminfo" --enable-no-padding
--enable-sigwinch --enable-tcap-names --enable-hard-tabs --enable-overwrite
--disable-mixed-case --libdir=/sw/lib/ncurses cf_cv_typeof_chtype=long
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey
_______________________________________________ Fink-users mailing list [email protected] List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
