Hello,

First of all you should not use sudo to do that.

Then, how did you install Sage on your computer? Did you compile Sage
from source?

Vincent

On 04/03/2015, Daniel Friedan <[email protected]> wrote:
> 'sudo ./sage -i lie' gives me an error message (copied below).  I'd
> appreciate advice.
>
> Sage 6.4.1
> Mac OS X 10.6.8
>
> daniel@df$ bison --version
> bison (GNU Bison) 2.3
>
> I notice the installer says
> Host system:
> Darwin df 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT
> 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386
>
> This is the .app version of Sage 6.4.1 advertised for OS X 10.7, which has
> worked fine for me under 10.6.8 until now.
>
> If this looks to be related to my antiquated  OS X 10.6.8, then never
> mind.  We'll try installing lie-2.2.2.p5 on our symbolic math server at my
> university (under Scientific Linux).
>
> thanks,
> Daniel
>
> Daniel Friedan
>
>
>
> daniel@df$ sudo ./sage -i lie
> Password:
> Found package lie in
> /Applications/Sage-6.4.1.app/Contents/Resources/sage/upstream/lie-2.2.2.p5.spkg
> lie-2.2.2.p5
> ====================================================
> Extracting package
> /Applications/Sage-6.4.1.app/Contents/Resources/sage/upstream/lie-2.2.2.p5.spkg
> -rw-r--r--  1 daniel  admin  328820 Mar  3 23:51
> /Applications/Sage-6.4.1.app/Contents/Resources/sage/upstream/lie-2.2.2.p5.spkg
> Finished extraction
> ****************************************************
> Host system:
> Darwin df 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT
> 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386
> ****************************************************
> C compiler: gcc
> C compiler version:
> dyld: lazy symbol binding failed: Symbol not found: _strndup
>   Referenced from:
> /Applications/Sage-6.4.1.app/Contents/Resources/sage/local/libexec/ccache/gcc
>   Expected in: /usr/lib/libSystem.B.dylib
>
> dyld: Symbol not found: _strndup
>   Referenced from:
> /Applications/Sage-6.4.1.app/Contents/Resources/sage/local/libexec/ccache/gcc
>   Expected in: /usr/lib/libSystem.B.dylib
>
> /Applications/Sage-6.4.1.app/Contents/Resources/sage/src/bin/sage-spkg:
> line 662: 34912 Trace/BPT trap          $CC -v
> ****************************************************
> dyld: lazy symbol binding failed: Symbol not found: _strndup
>   Referenced from:
> /Applications/Sage-6.4.1.app/Contents/Resources/sage/local/bin/patch
>   Expected in: /usr/lib/libSystem.B.dylib
>
> dyld: Symbol not found: _strndup
>   Referenced from:
> /Applications/Sage-6.4.1.app/Contents/Resources/sage/local/bin/patch
>   Expected in: /usr/lib/libSystem.B.dylib
>
> ./spkg-install: line 14: 34916 Trace/BPT trap          patch -p1 <
> ../patches/00-string.h.patch
> Error patching LiE.
>
> real    0m0.022s
> user    0m0.002s
> sys    0m0.008s
> ************************************************************************
> Error installing package lie-2.2.2.p5
> ************************************************************************
> 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.4.1.app/Contents/Resources/sage/logs/pkgs/lie-2.2.2.p5.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.4.1.app/Contents/Resources/sage/local/var/tmp/sage/build/lie-2.2.2.p5
>
> 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.4.1.app/Contents/Resources/sage/local/var/tmp/sage/build/lie-2.2.2.p5'
>
> && '/Applications/Sage-6.4.1.app/Contents/Resources/sage/sage' --sh)
> When you are done debugging, you can type "exit" to leave the subshell.
> ************************************************************************
> daniel@df$ which bison
> /usr/bin/bison
> daniel@df$ bison --version
> bison (GNU Bison) 2.3
> Written by Robert Corbett and Richard Stallman.
>
> Copyright (C) 2006 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.
> daniel@df$
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" 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-support.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" 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-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to