#7849: MPIR issue with Sun Studio and --enable-cxx
--------------------------------------------------------------+-------------
Reporter: drkirkby | Owner:
drkirkby
Type: defect | Status:
needs_review
Priority: major | Milestone:
sage-4.3.1
Component: solaris | Keywords:
Work_issues: | Author:
Bill Hart, David Kirkby
Upstream: Reported upstream. Developers acknowledge bug. | Reviewer:
Jaap Spies
Merged: |
--------------------------------------------------------------+-------------
Changes (by jsp):
* reviewer: => Jaap Spies
Comment:
This does not work when Sun Studio is not installed (or not the favorite
compiler!).
{{{
Host system
uname -a:
SunOS opensolaris 5.11 snv_111b i86pc i386 i86pc Solaris
****************************************************
****************************************************
CC Version
gcc -v
Using built-in specs.
Target: i386-pc-solaris2.11
Configured with: ../gcc-4.3.2/configure --prefix=/usr --program-
suffix=-4.3.2 --infodir=/usr/share/info --mandir=/usr/share/man
--libexecdir=/usr/lib --enable-shared --disable-static --disable-libtool-
lock --target= --enable-objc-gc --enable-concept-checks --disable-libada
--enable-libssp --enable-languages=c,c++,objc,fortran --enable-
threads=posix --enable-tls=yes --with-system-zlib --without-gnu-ld --with-
ld=/usr/ccs/bin/ld --with-gnu-as --with-as=/usr/sfw/bin/gas --with-gmp-
include=/usr/include/gmp --with-gmp-lib=/usr/lib --with-mpfr-
include=/usr/include/mpfr --with-mpfr-lib=/usr/lib --enable-c99 --enable-
nls --enable-wchar_t --enable-libstdcxx-allocator=mt --with-pic
Thread model: posix
gcc version 4.3.2 (GCC)
****************************************************
Copying a version of gmp-h.in which is patched for Sun Studio
Building 64 bit Solaris version
checking build system type... i486-pc-solaris2.11
checking host system type... i486-pc-solaris2.11
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
configure: error: ABI=64 is not among the following valid choices: 32
Failed to configure.
real 0m1.593s
user 0m0.175s
sys 0m0.430s
sage: An error occurred while installing mpir-1.2.2.p0
}}}
I think there is more work to do.
Jaap
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7849#comment:3>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.