Thanks Dmitrii I also get errors with
sage -f python so there is something more fundamental going on than the problem with libjpeg-6b I think I do have Xcode command line tools installed since 'xcode-select -p' returns /Applications/Xcode.app/Contents/Developer This is the first error in /Applications/sage/logs/pkgs/python.log ======================= checking for int64_t... yes checking for ssize_t... yes checking size of int... 0 checking size of long... 0 checking size of void *... 0 checking size of short... 0 checking size of float... 0 checking size of double... 0 checking size of fpos_t... 0 checking size of size_t... configure: error: in `/Applications/sage/local/var/tmp/sage/build/python-2.7.8/src': configure: error: cannot compute sizeof (size_t) See `config.log' for more details Error configuring Python. ================================================ This is the first error in /Applications/sage/local/var/tmp/sage/build/python-2.7.8/src/config.log ================================================ Target: x86_64-apple-darwin11.4.2 Configured with: ../src/configure --prefix=/Users/karl.crisman/Downloads/sage-6.5/local --with-local-prefix=/Users/karl.crisman/Downloads/sage-6.5/local --with-gmp=/Users/karl.crisman/Downloads/sage-6.5/local --with-mpfr=/Users/karl.crisman/Downloads/sage-6.5/local --with-mpc=/Users/karl.crisman/Downloads/sage-6.5/local --with-system-zlib --disable-multilib --disable-nls --enable-languages=c,c++,fortran --disable-libitm --without-isl --without-cloog Thread model: posix gcc version 4.9.2 (GCC) configure:3818: $? = 0 configure:3807: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:3818: $? = 1 configure:3807: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:3818: $? = 1 configure:3838: checking whether the C compiler works =========================================================== On Monday, March 23, 2015 at 11:22:40 PM UTC+13, peter metcalf wrote: > > HI All > > I'm trying to read jpg files using PIL or matplotlib > > any help/suggestions would be most welcome! > > the following fails > > sage -i libjpeg-6b > > the relevant part of the log file may be > > ================================================== > > gcc -fPIC -I. -c -o jmemmgr.o jmemmgr.c > > gcc -fPIC -I. -c -o jmemnobs.o jmemnobs.c > > rm -f libjpeg.a > > ar rc libjpeg.a jcapimin.o jcapistd.o jctrans.o jcparam.o jdatadst.o > jcinit.o jcmaster.o jcmarker.o jcmainct.o jcprepct.o jccoefct.o jccolor.o > jcsample.o jchuff.o jcphuff.o jcdctmgr.o jfdctfst.o jfdctflt.o jfdctint.o > jdapimin.o jdapistd.o jdtrans.o jdatasrc.o jdmaster.o jdinput.o jdmarker.o > jdhuff.o jdphuff.o jdmainct.o jdcoefct.o jdpostct.o jddctmgr.o jidctfst.o > jidctflt.o jidctint.o jidctred.o jdsample.o jdcolor.o jquant1.o jquant2.o > jdmerge.o jcomapi.o jutils.o jerror.o jmemmgr.o jmemnobs.o > > ranlib libjpeg.a > > sh: line 1: 4325 Trace/BPT trap: 5 > /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk / -find > ranlib 2> /dev/null > > ranlib: error: unable to find utility "ranlib", not a developer tool or in > PATH > > make: *** [libjpeg.a] Error 72 > > =================================================== > > I also noted this odd line at the beginning of the log file (I am not Karl > Crisman) > > > =================================================== > > C compiler: gcc > > C compiler version: > > Using built-in specs. > > COLLECT_GCC=/Applications/sage/local/bin/gcc > > > COLLECT_LTO_WRAPPER=/Applications/sage/local/bin/../libexec/gcc/x86_64-apple-darwin11.4.2/4.9.2/lto-wrapper > > Target: x86_64-apple-darwin11.4.2 > > Configured with: ../src/configure > --prefix=/Users/karl.crisman/Downloads/sage-6.5/local > --with-local-prefix=/Users/karl.crisman/Downloads/sage-6.5/local > --with-gmp=/Users/karl.crisman/Downloads/sage-6.5/local > --with-mpfr=/Users/karl.crisman/Downloads/sage-6.5/local > --with-mpc=/Users/karl.crisman/Downloads/sage-6.5/local --with-system-zlib > --disable-multilib --disable-nls --enable-languages=c,c++,fortran > --disable-libitm --without-isl --without-cloog > > Thread model: posix > > > > > > > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
python.log
Description: Binary data
