Cristian 'Kit' Paul wrote: [] >> ./configure --prefix=/sw >> Checking C++ compiler... >> no g++-4.0 -no-cpp-precomp -DAUTO_PTR_BROKEN=1 >> Error: Could not find a working C++ compiler. [] > How can I 'convince' Fink that *I have* a working C++ compiler?
You don't need to convince Fink, you need to convince the particular configure script of that particular package. Other configure scripts have different ways of detecting your compilers; if you want to show more details of what this one does, do the following: Copy the file /sw/src/fink.build/html2text-1.3.2a-1022/html2text-1.3.2a/configure to some place where you have write privileges. Edit this file configure and change its line #43 from if $i -c $tmp_file.C 2>/dev/null; then to if $i -c $tmp_file.C ; then Then run the command CXX=g++-4.0 CXXFLAGS="-no-cpp-precomp -DAUTO_PTR_BROKEN=1" ./configure and show the output. The header file whose absence could cause your problem is /usr/include/c++/4.0.0/iostream Do you have it? If not, [re]install DevSDK.pkg as Alex's FAQ suggests. -- Martin _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
