#7767: PARI thinks C compiler is broken on Open Solaris.
------------------------------------------------------------+---------------
   Reporter:  drkirkby                                      |       Owner:  
drkirkby  
       Type:  defect                                        |      Status:  new 
      
   Priority:  major                                         |   Milestone:  
sage-4.3.1
  Component:  solaris                                       |    Keywords:      
      
Work_issues:                                                |      Author:      
      
   Upstream:  None of the above - read trac for reasoning.  |    Reviewer:      
      
     Merged:                                                |  
------------------------------------------------------------+---------------
 On a Sun Ultra 27, running Open Solaris 06/2009 and gcc 4.3.4, I get the
 following error when trying to build PARI:

 I've not looked yet, but the chances are it some GNUism passing
 inappropriate flags to the compiler. It might be a problem with pari, or
 it might be a problem in something Sage does, so at this point in time,
 I've not reported this upstream, despite the fact it might be an upstream
 bug.

 {{{
 pari-2.3.3.p5/src/CHANGES-2.2
 Finished extraction
 ****************************************************
 Host system
 uname -a:
 SunOS hawk 5.11 snv_111b i86pc i386 i86pc
 ****************************************************
 ****************************************************
 CC Version
 gcc -v
 Using built-in specs.
 Target: i386-pc-solaris2.11
 Configured with: ../gcc-4.3.4/configure --prefix=/usr/local/gcc-4.3.4/
 --with-as=/usr/local/binutils-2.20/bin/as --with-ld=/usr/ccs/bin/ld
 --without-gnu-ld --enable-languages=c,c++,fortran
 Thread model: posix
 gcc version 4.3.4 (GCC)
 ****************************************************
 Configuring pari-2.3.3 (STABLE)
 Checking echo to see how to suppress newlines...
 ...using \c
 Looking for some tools first ...
 ...ld is /usr/ccs/bin/ld
 ...zcat is /usr/bin/zcat
 ...gzip is /usr/bin/gzip
 ...ranlib is /usr/ccs/bin/ranlib
 ...perl is /usr/bin/perl
 ...I could not find emacs.
 ******************************************************************
 * C compiler does not work. PARI/GP requires an ANSI C compiler! *
 * Aborting.                                                      *
 ******************************************************************
 Compiler was: gcc
 ERROR - configure PARI with readline and gmp failed.

 real    0m0.145s
 user    0m0.047s
 sys     0m0.053s
 sage: An error occurred while installing pari-2.3.3.p5
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7767>
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.


Reply via email to