Try "CC=gcc ./configure" before you run 'Make'. The autoconfig tool uses
cc, which is an alias for the 'clang' compiler frontend.


On Mon, Mar 25, 2013 at 11:14 AM, Stephen De Gabrielle <
stephen.degabrie...@acm.org> wrote:

> Thanks, I did install the CL tools, but something is clearly awry if its
> working for others. A reinstall should sort it.
>
> Thanks again,
>
> Stephen
>
>
> On Monday, March 25, 2013, Clive Hayward wrote:
>
>> 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
>>
>
>
> --
>
> --
> Stephen De Gabrielle
> stephen.degabrie...@acm.org
> Telephone +44 (0)20 85670911
> Mobile        +44 (0)79 85189045
> http://www.degabrielle.name/stephen
> ----
> Professor: Oh God! I clicked without reading!
> Cubert: And I slightly modified something I own!
> Professor: We're monsters!
>
>
> _______________________________________________
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
>


-- 
Gé
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to