> I had a similar issue. The fix was 
>
>  -  to install mercurial on your distro or with: 
>
>         sage -pip install mercurial 
>
>
No way!  Hg rises from the dead!  Love it.
 

>  - to install snappy from the repo 
>
>         sage -pip install hg+https://bitbucket.org/t3m/snappy 
>
>
>
Thanks, Thierry.  Sounds like we need a ticket for this.  In particular, I 
wasn't even able to get sage -pip install mercurial to work on OS X.

    building 'mercurial.cext.osutil' extension

    gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall 
-Wno-unused -Imercurial 
-I/Users/karl.crisman/Downloads/sage/local/include/python2.7 -c 
mercurial/cext/osutil.c -o 
build/temp.macosx-10.9-x86_64-2.7/mercurial/cext/osutil.o -DHAVE_BSD_STATFS

    In file included from 
/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h:18:0,

                     from 
/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h:9,

                     from 
/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:11,

                     from 
/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:35,

                     from mercurial/cext/osutil.c:1320:

    
/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFont.h:53:40: 
error: initializer element is not constant

     static const CGFontIndex kCGGlyphMax = kCGFontIndexMax;

                                            ^~~~~~~~~~~~~~~

    error: command 'gcc' failed with exit status 1

    
Quite the difficult matter, this snappy.

Note also (in general) that 

You are using pip version 9.0.3, however version 18.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
though perhaps this is fixed in 8.4beta? 

-- 
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 https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to