problem installing spkg lie-2.2.2.p5

42 views
Skip to first unread message

Daniel Friedan

unread,
Mar 3, 2015, 7:15:54 PM3/3/15
to sage-s...@googlegroups.com
'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$

Vincent Delecroix

unread,
Mar 4, 2015, 4:54:40 AM3/4/15
to sage-s...@googlegroups.com
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
> --
> 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 sage-support...@googlegroups.com.
> To post to this group, send email to sage-s...@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.
>

Daniel Friedan

unread,
Mar 4, 2015, 9:49:56 AM3/4/15
to sage-s...@googlegroups.com
> First of all you should not use sudo to do that.

I was following advice given in a previous thread about installing spkg lie-2.2.2

https://groups.google.com/forum/?fromgroups#!searchin/sage-support/lie-2.2.2/sage-support/8zPUkmFOcqA/jaG1Yu9SSwkJ


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

I downloaded  a binary version of Sage, downloaded from
> 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.

thanks,
Daniel



Daniel Friedan

unread,
Mar 5, 2015, 11:17:43 AM3/5/15
to sage-s...@googlegroups.com
I'll withdraw this question. 

The home page for LIE
http://wwwmathlabo.univ-poitiers.fr/~maavl/LiE/
links to a note on compiling LIE on a mac
http://wwwmathlabo.univ-poitiers.fr/~maavl/LiE/MacOSX.html
which makes it sound like too much trouble, especially in conjunction with the Sagemath spkg installer.

I now have the lie spkg installed on a Scientific Linux machine at work.  I'll use it there.

thanks,
Daniel

Daniel Friedan
Reply all
Reply to author
Forward
0 new messages