Sorry I messed up the attachment. Here is the missing one...

2015-02-04 21:19 UTC+01:00, Vincent Delecroix <20100.delecr...@gmail.com>:
> Hi Julien, hi all,
>
> I tried to use your scripts on sage-6.5.rc0 on debian jessie.
> Compilation failed on polybori (but much of the rest compiled fine). I
> describe below what steps I achieved
>
>  * sqlalchemy is not anymore a pkg, so one dependency less. I just had
> to remove the corresponding line in the m4 script
>  * I created the directory /usr/share/sagemath with appropriate rights
>  * lcalc was not able to compile as it did not find pari. It was
> possible to get it right by modifying a patch there (certainly not
> optimal, see the attachment)
>  * polybori failed but it seems much more of a problem (see the log)
>
> Vincent
>

-- 
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.
diff --git a/build/pkgs/lcalc/patches/Makefile.patch b/build/pkgs/lcalc/patches/Makefile.patch
index 61d095a..ec55aac 100644
--- a/build/pkgs/lcalc/patches/Makefile.patch
+++ b/build/pkgs/lcalc/patches/Makefile.patch
@@ -44,13 +44,13 @@
  ifeq ($(PARI_DEFINE),-DINCLUDE_PARI)
      #location of pari.h.
 -    LOCATION_PARI_H = /usr/local/include/pari #usual location
-+    LOCATION_PARI_H = $(SAGE_LOCAL)/include/pari
++    LOCATION_PARI_H = /usr/include/x86_64-linux-gnu/pari
  
      #location of libpari.a or of libpari.so
      #depending on whether static or dynamic libraries are being used.
      #On mac os x it's the former, on linux I think usually the latter.
 -    LOCATION_PARI_LIBRARY = /usr/local/lib #usual location
-+    LOCATION_PARI_LIBRARY = $(SAGE_LOCAL)/lib
++    LOCATION_PARI_LIBRARY = /usr/lib/x86_64-linux-gnu/pari
  else
      #supplied as a dummy so as to avoid more ifeq's below
      LOCATION_PARI_H = .

Reply via email to