#18198: 4ti2 spkg fails to find gmp
--------------------------------------+-------------------
       Reporter:  mkoeppe             |        Owner:
           Type:  defect              |       Status:  new
       Priority:  major               |    Milestone:
      Component:  packages: optional  |   Resolution:
       Keywords:  4ti2                |    Merged in:
        Authors:                      |    Reviewers:
Report Upstream:  N/A                 |  Work issues:
         Branch:                      |       Commit:
   Dependencies:                      |     Stopgaps:
--------------------------------------+-------------------

Comment (by mkoeppe):

 Replying to [comment:4 dimpase]:
 > I suggest we move over to using the just released Sage 6.6. (I also
 presume you talk about Sage compiled from source).

 Thanks for looking into this, Dima.

 I was using the Sage 6.5 binaries for Mac OS X (I should have said that).
 Now I updated to Sage 6.6, again using the binaries.

 This is what I get if I do NOT install the gmp package first.

 {{{
 egret-2:~/s/sage/sage-6.6 (develop)$ sage -i 4ti2
 /Users/mkoeppe/s/sage/sage-6.6/src/bin/sage-spkg: line 312: cd:
 /Users/mkoeppe/s/sage/sage-6.6/upstream: No such file or directory
 Attempting to download package 4ti2
 >>> Checking online list of optional packages.
 [.]
 >>> Found 4ti2-1.6.2
 >>> Trying to download
 http://www.sagemath.org/spkg/optional/4ti2-1.6.2.spkg
 [............................................................]
 4ti2-1.6.2
 ====================================================
 Extracting package /Users/mkoeppe/s/sage/sage-6.6/upstream/4ti2-1.6.2.spkg
 -rw-r--r--  1 mkoeppe  staff  4658185 Apr 16 09:03
 /Users/mkoeppe/s/sage/sage-6.6/upstream/4ti2-1.6.2.spkg
 Finished extraction
 ****************************************************
 Host system:
 Darwin egret-2.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=/Users/mkoeppe/s/sage/sage-6.6/local/bin/gcc
 
COLLECT_LTO_WRAPPER=/Users/mkoeppe/s/sage/sage-6.6/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)
 [----8<-----]
 checking how to hardcode library paths into programs... immediate
 checking for GMP >= 3.1.1... configure: WARNING: GNU MP not found.
 4ti2 will be built without support for arbitrary-precision computations.
 configure: WARNING: Unable to use the GNU MP C++ library.
 Please make sure that GNU MP was configured with "--enable-cxx".
 4ti2 will be built without support for arbitrary-precision computations.
 [----8<-----]
 }}}

 If I do install gmp first, it looks the same.

 Later I can try a Sage compiled from source; but in any case it seems
 there needs to be more testing in place to catch this build error on this
 platform.

--
Ticket URL: <http://trac.sagemath.org/ticket/18198#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

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

Reply via email to