Experimental package not updated since 2008. The first error message
you get is clearly because someone assumed you would run on linux -
or more probably doesn't that "uname -i" is not posix and not supported
outside of linux. And it goes down from there....

The spkg probably need an update as well as some love before being
usable.

Francois

On 05/21/15 12:19, VictorMiller wrote:
I have Sage-6.6 on my macbook.  At first I tried to install the package
qepcad and got "Not Found: '//www.sagemath.org/spkg/optional/list".

When I tried to have my browser go to http://www.sagemath.org/spkg and
clicked on Optional I got "404".  I then went to the MIT mirror, and
downloaded the spkg file.  But installing that had problems (see below):


Victors-MacBook-Pro-3:Volumes victorsmiller$ sudo
/Applications/Sage-6.6.app/Contents/Resources/sage/sage -i
~/Downloads/qepcad-1.50.spkg
sys:1: RuntimeWarning: not adding directory '' to sys.path since
everybody can write to it.
Untrusted users could put files in this directory which might then be
imported by your Python code. As a general precaution from similar
exploits, you should not execute Python code from this directory
qepcad-1.50
====================================================
Extracting package /Users/victorsmiller/Downloads/qepcad-1.50.spkg
-rw-r--r--@ 1 victorsmiller  staff  1104028 Aug 27  2008
/Users/victorsmiller/Downloads/qepcad-1.50.spkg
Finished extraction
****************************************************
Host system:
Darwin Victors-MacBook-Pro-3.local 14.3.0 Darwin Kernel Version 14.3.0:
Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64
****************************************************
C compiler: gcc
C compiler version:
Using built-in specs.
COLLECT_GCC=/Applications/Sage-6.6.app/Contents/Resources/sage/local/bin/gcc
COLLECT_LTO_WRAPPER=/Applications/Sage-6.6.app/Contents/Resources/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.6/local
--with-local-prefix=/Users/karl.crisman/Downloads/sage-6.6/local
--with-gmp=/Users/karl.crisman/Downloads/sage-6.6/local
--with-mpfr=/Users/karl.crisman/Downloads/sage-6.6/local
--with-mpc=/Users/karl.crisman/Downloads/sage-6.6/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)
****************************************************
Building SACLIB 2.2...
uname: illegal option -- i
usage: uname [-amnprsv]
SACLIB Warning: Could not determine processor type!
SACLIB Warning: Could not determine OS type!
ls: No match.
Made
'/Applications/Sage-6.6.app/Contents/Resources/sage/local/var/tmp/sage/build/qepcad-1.50/src/saclib2.2.0/lib/objo/makefile'
and copies in
'/Applications/Sage-6.6.app/Contents/Resources/sage/local/var/tmp/sage/build/qepcad-1.50/src/saclib2.2.0/lib/objd.'
Compiling with cc
dyld: Symbol not found: _sqlite3_intarray_bind
   Referenced from:
/System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
   Expected in:
/Applications/Sage-6.6.app/Contents/Resources/sage/local/lib/libsqlite3.dylib
  in /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
make: error: unable to locate xcodebuild, please make sure the path to
the Xcode folder is set correctly!
make: error: You can set the path to the Xcode folder using
/usr/bin/xcode-select -switch
dyld: Symbol not found: _sqlite3_intarray_bind
   Referenced from:
/System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
   Expected in:
/Applications/Sage-6.6.app/Contents/Resources/sage/local/lib/libsqlite3.dylib
  in /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
make: error: unable to locate xcodebuild, please make sure the path to
the Xcode folder is set correctly!
make: error: You can set the path to the Xcode folder using
/usr/bin/xcode-select -switch
mklib done.
Building QEPCADB...
dyld: Symbol not found: _sqlite3_intarray_bind
   Referenced from:
/System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
   Expected in:
/Applications/Sage-6.6.app/Contents/Resources/sage/local/lib/libsqlite3.dylib
  in /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
make: error: unable to locate xcodebuild, please make sure the path to
the Xcode folder is set correctly!
make: error: You can set the path to the Xcode folder using
/usr/bin/xcode-select -switch
Error making QEPCADB

real0m49.122s
user0m3.038s
sys0m3.357s
************************************************************************
Error installing package qepcad-1.50
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file

/Applications/Sage-6.6.app/Contents/Resources/sage/logs/pkgs/qepcad-1.50.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/Applications/Sage-6.6.app/Contents/Resources/sage/local/var/tmp/sage/build/qepcad-1.50
and type 'make' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
   (cd
'/Applications/Sage-6.6.app/Contents/Resources/sage/local/var/tmp/sage/build/qepcad-1.50'
&& '/Applications/Sage-6.6.app/Contents/Resources/sage/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************

--
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
<mailto:sage-devel+unsubscr...@googlegroups.com>.
To post to this group, send email to sage-devel@googlegroups.com
<mailto: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.

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