On 22.04.2014, at 14:48, Martin Costabel <costa...@wanadoo.fr> wrote:
> On 22/04/14 14:05, Max Horn wrote: >> Hi, >> >> trying to build apt-0.5.4-1061 fails for me. See the attached log. > >> checking build system type... x86_64-apple-darwin12 >> checking for gcc... gcc >> checking whether the C compiler (gcc ) works... yes >> checking whether the C compiler (gcc ) is a cross-compiler... no >> checking whether we are using GNU C... yes >> checking whether gcc accepts -g... no >> checking for POSIXized ISC... no >> checking for c++... c++ >> checking whether the C++ compiler (c++ -O2 -DEMULATE_MMAP -D__USE_MISC >> -fconstant-cfstrings -DHAVE_SOCKLEN_T=1 ) works... yes >> checking whether the C++ compiler (c++ -O2 -DEMULATE_MMAP -D__USE_MISC >> -fconstant-cfstrings -DHAVE_SOCKLEN_T=1 ) is a cross-compiler... no >> checking whether we are using GNU C++... yes >> checking whether c++ accepts -g... no >> checking how to run the C preprocessor... /lib/cpp > > What weird gcc and c++ do you have that don't accept -g? Everything is stock here, nothing weird, and of course it accepts -g -- that test result is bogus. The problem rather seems to be our compiler wrappers. From config.log: ... configure:850: checking whether gcc accepts -g configure:882: checking for POSIXized ISC configure:908: checking for c++ configure:940: checking whether the C++ compiler (c++ -O2 -DEMULATE_MMAP -D__USE_MISC -fconstant-cfstrings -DHAVE_SOCKLEN_T=1 ) works configure:956: c++ -o conftest -O2 -DEMULATE_MMAP -D__USE_MISC -fconstant-cfstrings -DHAVE_SOCKLEN_T=1 conftest.C 1>&5 warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option] 1 warning generated. ... But for completeness: $ which gcc /usr/bin/gcc $ which cc /usr/bin/cc $ cc -v Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) Target: x86_64-apple-darwin12.5.0 Thread model: posix $ gcc --version Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) Target: x86_64-apple-darwin12.5.0 Thread model: posix > And what does config.log say about this?
signature.asc
Description: Message signed with OpenPGP using GPGMail
------------------------------------------------------------------------------ Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform
_______________________________________________ fink-core mailing list fink-core@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.core Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-core