Christian Bär wrote:
> In my install
> 
> $ sage -sh -c "which lie"
> gives
> /home/baer/Sage/sage-7.3/local/bin/lie
> 
> and
> 
> $ sage -sh -c lie
> gives
> /home/baer/Sage/sage-7.3/local/bin/lie: Zeile 4:
> /home/baer/Sage/sage-7.3/local/var/tmp/sage/build/lie-2.2.2/src/Lie.exe:
> Datei oder Verzeichnis nicht gefunden
> 
> In SageMathCloud
> 
> $ sage -sh -c "which lie"
> gives
> /projects/sage/sage-7.3/local/bin/lie
> 
> and
> 
> $ sage -sh -c lie
> gives
> /projects/sage/sage-7.3/local/bin/lie: 4: exec:
> /projects/sage/sage-7.3/local/var/tmp/sage/build/lie-2.2.2/src/Lie.exe:
> not found
> 
> In constrast, in my old sage 7.2 install the command
> $ sage -sh -c lie
> does start lie.


Recent fix from John Palmieri (merged into 7.4.beta4 I think):


diff --git a/build/pkgs/lie/spkg-install b/build/pkgs/lie/spkg-install
index 3668c4c..282a127 100755
--- a/build/pkgs/lie/spkg-install
+++ b/build/pkgs/lie/spkg-install
@@ -27,7 +27,7 @@ $MAKE CC="$CC" || die "Error building LiE. Did you
install bison?"
 # "install" the LiE package by moving over the complete build
 # directory to $SAGE_LOCAL/lib/lie
 cd ..
-sed -e "s'$PWD/LiE'$SAGE_LOCAL/lib/LiE'" src/lie > src/lie~
+sed -e "s'$PWD/src'$SAGE_LOCAL/lib/LiE'" src/lie > src/lie~
 mv src/lie~ src/lie
 chmod +x src/lie
 rm -rf "$SAGE_LOCAL"/lib/lie # clean up old versions


Someone^TM borked it in May, apparently.


Presumably simpler to just edit the broken script in
$SAGE_ROOT/local/bin than to patch and reinstall LiE...

(The real executable apparently is somewhere below
$SAGE_ROOT/local/lib/LiE/.)


-leif


-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to