Hi Dima,

I reinstalled xcode and now sage compiles again. Thanks for your help!

Anne

On Friday, April 19, 2019 at 12:09:35 PM UTC-7, Dima Pasechnik wrote:
>
> On Fri, Apr 19, 2019 at 7:20 PM Anne Schilling 
> <anne1.s...@gmail.com <javascript:>> wrote: 
> > 
> > Thank you all for your suggestions! Dima's suggestion did not seem to 
> fix my problem. 
> > I did pull from develop again and now the elliptic problem is gone. But 
> the pillow problem 
> > is still there: 
>
> do you actually have /usr/lib/system/libsystem_darwin.dylib on your 
> system? 
> I suspect it must be present, or else it 
> > 
> > [sagelib-8.8.beta3] byte-compiling 
> /Applications/sage/local/lib/python2.7/site-packages/sage_setup/optional_extension.py
>  
> to optional_extension.pyc 
> > [sagelib-8.8.beta3] byte-compiling 
> /Applications/sage/local/lib/python2.7/site-packages/sage_setup/util.py to 
> util.pyc 
> > [sagelib-8.8.beta3] running install_egg_info 
> > [sagelib-8.8.beta3] Writing 
> /Applications/sage/local/lib/python2.7/site-packages/sage-8.8.beta3-py2.7.egg-info
>  
>
> > [sagelib-8.8.beta3] Cleaning up stale installed files.... 
> > [sagelib-8.8.beta3] - cleaning 
> /Applications/sage/local/lib/python2.7/site-packages 
> > [sagelib-8.8.beta3] - cleaning build/lib.macosx-10.9-x86_64-2.7 
> > [sagelib-8.8.beta3] Finished cleaning, time: 0.22 seconds. 
> > [sagelib-8.8.beta3] if [ "$UNAME" = "CYGWIN" ]; then                     
>     \ 
> > [sagelib-8.8.beta3]         sage-rebase.sh "$SAGE_LOCAL" 2>/dev/null;   
>          \ 
> > [sagelib-8.8.beta3]     fi 
> > [sagelib-8.8.beta3] 
> > [sagelib-8.8.beta3] real    8m42.417s 
> > [sagelib-8.8.beta3] user    31m53.513s 
> > [sagelib-8.8.beta3] sys    0m58.010s 
> > make[2]: *** [all-start] Error 2 
> > 
> > real    8m42.712s 
> > user    32m26.636s 
> > sys    1m9.140s 
> > *************************************************************** 
> > Error building Sage. 
> > 
> > The following package(s) may have failed to build (not necessarily 
> > during this run of 'make all-start'): 
> > 
> > * package: pillow-5.3.0.p0 
> >   log file: /Applications/sage/logs/pkgs/pillow-5.3.0.p0.log 
> >   build directory: 
> /Applications/sage/local/var/tmp/sage/build/pillow-5.3.0.p0 
> > 
> > The build directory may contain configuration files and other 
> potentially 
> > helpful information. WARNING: if you now run 'make' again, the build 
> > directory will, by default, be deleted. Set the environment variable 
> > SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this. 
> > 
> > make[1]: *** [all-start] Error 1 
> > make: *** [all] Error 2 
> > 
> > https://www.math.ucdavis.edu/~anne/pillow-5.3.0.p0.log 
> What is the output of 
>
> otool -L /usr/lib/libSystem.B.dylib 
>
> On my OSX 10.14 system it includes /usr/lib/system/libsystem_darwin.dylib 
>
> (libSystem.B.dylib is a very important system library...) 
>
> Is  /usr/lib/system/libsystem_darwin.dylib present on your system? 
> If not, then you might need to reinstall your OS, or find this file 
> somewhere... 
>
> If yes, then it's not found by your ld, so you need to fix this somehow. 
> Probably something like 
>
> sudo update_dyld_shared_cache 
>
> HTH 
> Dima 
>
>
> Dima 
>
> > 
> > Best, 
> > 
> > Anne 
> > 
> > On Friday, April 19, 2019 at 9:26:34 AM UTC-7, E. Madison Bray wrote: 
> >> 
> >> On Fri, Apr 19, 2019 at 8:30 AM Dima Pasechnik <dim...@gmail.com> 
> wrote: 
> >> > 
> >> > On Fri, Apr 19, 2019 at 7:33 AM Anne Schilling 
> >> > <anne1.s...@gmail.com> wrote: 
> >> > > 
> >> > > This was after I ran 'make distclean'. You can view the logs here: 
> >> > > 
> >> > > https://www.math.ucdavis.edu/~anne/elliptic_curves-0.8.p0.log 
> >> > 
> >> > ImportError: No module named _sqlite3 
> >> > 
> >> > This look like a silent failure in building sqlite3, which is a 
> >> > standard package. 
> >> 
> >> I guess, besides the toolchain issue, it looks like having a working 
> >> _sqlite3 module is a dependency of the elliptic_curves package 
> >> install. 
> >> 
> >> In light of https://trac.sagemath.org/ticket/26899 we discussed at 
> >> some point adding zlib to the list of extension modules that Python 
> >> absolutely must build successfully.  But it seems that never got done. 
> >> I've opened a ticket for this and mentioned adding _sqlite3 to the 
> >> list as well: https://trac.sagemath.org/ticket/27705 
> >> 
> >> This would not immediately solve the problem Anne had  but at least 
> >> the root of the problem would be caught earlier.  Then, hopefully, the 
> >> solution Dima mentioned should work.  This seems to be more-or-less 
> >> the same problem as with zlib, and XCode no longer including standard 
> >> headers in /usr/include by default. 
> >> 
> >> 
> >> 
> >> > > https://www.math.ucdavis.edu/~anne/pillow-5.3.0.p0.log 
> >> > this looks like a problem with your toolchain 
> >> > 
> >> > ld: file not found: /usr/lib/system/libsystem_darwin.dylib for 
> >> > architecture x86_64 
> >> > 
> >> > discussed e.g. on 
> >> > https://github.com/Homebrew/homebrew-php/issues/4590 
> >> > this and other similar places suggest to do 
> >> > 
> >> > sudo xcode-select -s /Library/Developer/CommandLineTools 
> >> > 
> >> > HTH 
> >> > Dima 
> >> > 
> >> > 
> >> > > 
> >> > > Anne 
> >> > > 
> >> > > On Thursday, April 18, 2019 at 10:07:28 PM UTC-7, Dima Pasechnik 
> wrote: 
> >> > >> 
> >> > >> How about posting logs of packages that failed to build? 
> >> > >> 
> >> > >> It would also be great to know whether it was a build from 
> scratch. 
> >> > >> 
> >> > >> On Fri, 19 Apr 2019 07:03 Anne Schilling, <anne1.s...@gmail.com> 
> wrote: 
> >> > >>> 
> >> > >>> Hi! 
> >> > >>> 
> >> > >>> I have trouble compiling the latest development version of Sage 
> on MacOS 10.12.6: 
> >> > >>> 
> >> > >>> al/share/icons/hicolor/64x64/mimetypes 
> >> > >>> [giac-1.5.0.37.p1] mkdir 
> /Applications/sage/local/var/tmp/sage/build/giac-1.5.0.37.p1/inst/Applications/sage/local/share/icons/hicolor/32x32/mimetypes
>  
>
> >> > >>> [giac-1.5.0.37.p1] mkdir 
> /Applications/sage/local/var/tmp/sage/build/giac-1.5.0.37.p1/inst/Applications/sage/local/share/icons/hicolor/16x16/mimetypes
>  
>
> >> > >>> [giac-1.5.0.37.p1] 
> >> > >>> [giac-1.5.0.37.p1] real    7m58.316s 
> >> > >>> [giac-1.5.0.37.p1] user    24m11.636s 
> >> > >>> [giac-1.5.0.37.p1] sys    0m54.736s 
> >> > >>> [giac-1.5.0.37.p1] Copying package files from temporary location 
> /Applications/sage/local/var/tmp/sage/build/giac-1.5.0.37.p1/inst to 
> /Applications/sage/local 
> >> > >>> [giac-1.5.0.37.p1] Successfully installed giac-1.5.0.37.p1 
> >> > >>> [giac-1.5.0.37.p1] Deleting temporary build directory 
> >> > >>> [giac-1.5.0.37.p1] 
> /Applications/sage/local/var/tmp/sage/build/giac-1.5.0.37.p1 
> >> > >>> [giac-1.5.0.37.p1] Finished installing giac-1.5.0.37.p1.spkg 
> >> > >>> make[2]: *** [all-start] Error 2 
> >> > >>> 
> >> > >>> real    9m56.979s 
> >> > >>> user    33m21.853s 
> >> > >>> sys    2m8.502s 
> >> > >>> *************************************************************** 
> >> > >>> Error building Sage. 
> >> > >>> 
> >> > >>> The following package(s) may have failed to build (not 
> necessarily 
> >> > >>> during this run of 'make all-start'): 
> >> > >>> 
> >> > >>> * package: elliptic_curves-0.8.p0 
> >> > >>>   log file: 
> /Applications/sage/logs/pkgs/elliptic_curves-0.8.p0.log 
> >> > >>>   build directory: 
> /Applications/sage/local/var/tmp/sage/build/elliptic_curves-0.8.p0 
> >> > >>> 
> >> > >>> * package: pillow-5.3.0.p0 
> >> > >>>   log file: /Applications/sage/logs/pkgs/pillow-5.3.0.p0.log 
> >> > >>>   build directory: 
> /Applications/sage/local/var/tmp/sage/build/pillow-5.3.0.p0 
> >> > >>> 
> >> > >>> The build directory may contain configuration files and other 
> potentially 
> >> > >>> helpful information. WARNING: if you now run 'make' again, the 
> build 
> >> > >>> directory will, by default, be deleted. Set the environment 
> variable 
> >> > >>> SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this. 
> >> > >>> 
> >> > >>> make[1]: *** [all-start] Error 1 
> >> > >>> make: *** [all] Error 2 
> >> > >>> 
> >> > >>> Does anyone know why? 
> >> > >>> 
> >> > >>> Thank you, 
> >> > >>> 
> >> > >>> Anne 
> >> > >>> 
> >> > >>> -- 
> >> > >>> 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-...@googlegroups.com. 
> >> > >>> To post to this group, send email to sage-...@googlegroups.com. 
> >> > >>> Visit this group at https://groups.google.com/group/sage-devel. 
> >> > >>> For more options, visit https://groups.google.com/d/optout. 
> >> > > 
> >> > > -- 
> >> > > 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-...@googlegroups.com. 
> >> > > To post to this group, send email to sage-...@googlegroups.com. 
> >> > > Visit this group at https://groups.google.com/group/sage-devel. 
> >> > > For more options, visit https://groups.google.com/d/optout. 
> >> > 
> >> > -- 
> >> > 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-...@googlegroups.com. 
> >> > To post to this group, send email to sage-...@googlegroups.com. 
> >> > Visit this group at https://groups.google.com/group/sage-devel. 
> >> > For more options, visit https://groups.google.com/d/optout. 
> > 
> > -- 
> > 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-...@googlegroups.com <javascript:>. 
> > To post to this group, send email to sage-...@googlegroups.com 
> <javascript:>. 
> > Visit this group at https://groups.google.com/group/sage-devel. 
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
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