It looks like your command line c compiler is not configured as expected. Did you install the command line Xcode?
See http://stackoverflow.com/questions/9329243/xcode-4-4-command-line-tools On one of my machines I have no difficulty building fossil from sources. >> which cc /usr/bin/cc >> cc --version i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. On Mon, Mar 25, 2013 at 10:29 AM, Stephen De Gabrielle < spdegabrie...@gmail.com> wrote: > Hi, > > anyone had trouble compiling fossil on osx? > > I've not done it for a while and I'm wondering If I've missed something > important? > > cheers, > > Stephen > > > > sp-laptop:fossil spdegabrielle$ ./configure > Host System...x86_64-apple-darwin12.3.0 > Build System...x86_64-apple-darwin12.3.0 > C compiler... cc -g -O2 > C++ compiler... c++ -g -O2 > Build C compiler...cc > Checking for stdlib.h...not found > Error: Compiler does not work. See config.log > Try: 'configure --help' for options > sp-laptop:fossil spdegabrielle$ xcrun -find gcc > /Applications/Xcode.app/Contents/Developer/usr/bin/gcc > sp-laptop:fossil spdegabrielle$ cat configure > #!/bin/sh > dir="`dirname "$0"`/autosetup" > WRAPPER="$0" exec "`$dir/find-tclsh`" "$dir/autosetup" "$@" > sp-laptop:fossil spdegabrielle$ open . > -- > > > > > > _______________________________________________ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > > -- Clive Hayward
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users