I think you half-built Sage gcc conflicts with Apple gcc. Just "rm 
-rf /usr/local/src/sage/local" and try again.



On Wednesday, April 30, 2014 10:56:11 PM UTC+1, Andrew wrote:
>
> On Thursday, 1 May 2014 00:47:20 UTC+10, Volker Braun wrote:
>>
>> Or just do a "git pull", since you are on the master branch this will 
>> give you 6.1.1 which afaik also builds on OSX 10.9.
>>
>
> As detailed above, I have the latest master branch but for some reason it 
> has the wrong version of singular:
>
> 6.1.1-master-sage: git pull
> remote: Counting objects: 496, done.
> remote: Compressing objects: 100% (208/208), done.
> remote: Total 303 (delta 232), reused 145 (delta 92)
> Receiving objects: 100% (303/303), 84.66 KiB | 0 bytes/s, done.
> Resolving deltas: 100% (232/232), completed with 70 local objects.
> From trac.sagemath.org:sage
>    2001f33..fc52070  develop    -> trac/develop
>    ad1c60b..ab269f4  public/algebras/smash_product_algebra-15874 -> 
> trac/public/algebras/smash_product_algebra-15874
>  * [new branch]      u/cnassau/ticket/16271 -> trac/u/cnassau/ticket/16271
>  * [new branch]      u/dkrenn/fsm/accepting_show_empty_final_word_out_1 -> 
> trac/u/dkrenn/fsm/accepting_show_empty_final_word_out_1
>    3c275de..b944d26  u/mshimo/combinat/double_affine_hecke_algebra -> 
> trac/u/mshimo/combinat/double_affine_hecke_algebra
>    62f0158..d743414  u/ncohen/15310 -> trac/u/ncohen/15310
>    aa07ba1..d22e245  u/ncohen/16269 -> trac/u/ncohen/16269
>  * [new tag]         6.2.rc1    -> 6.2.rc1
> Already up-to-date.   [my emphasis]
>
> Note that the 6.1.1-master in my prompt comes from:
>
> 6.1.1-master+1-sage: echo "$(git describe --abbrev=0)-$(git rev-parse 
> --abbrev-ref HEAD)"
> 6.1.1-master
>
> The real issue, however, seems to be my configuration and gcc. [As I am 
> doing `make distclean` I don't know why make is reporting packages that 
> didn't build, because I am not asking it to make any -- probably the build 
> system stores packages that failed previously and when the distclean fails 
> it prints these without checking if they are relevant?]
>
> From the `make distclean` log:
> ...
> checking for gcc... gcc
> checking whether the C compiler works... no
> configure: error: in `/usr/local/src/sage':
> configure: error: C compiler cannot create executables
> See `config.log' for more details
>
> and in config.log:
>
> configure:3645: checking for gcc
> configure:3672: result: gcc
> configure:3901: checking for C compiler version
> configure:3910: gcc --version >&5
> gcc (GCC) 4.7.3
> Copyright (C) 2012 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.
>
> configure:3921: $? = 0
> configure:3910: gcc -v >&5
> Using built-in specs.
> COLLECT_GCC=/usr/local/src/sage/local/bin/gcc
>
> So make seems to be using $SAGE_ROOT/local/bin/gcc rather than 
> /usr/bin/gcc = clang-503.0.40. I have taken brew out of the equation by 
> changing my PATH and moving the /usr/local/*bin directories.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to