Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PARI thinks C compiler is broken on Open Solaris. #7767

Closed
sagetrac-drkirkby mannequin opened this issue Dec 26, 2009 · 6 comments
Closed

PARI thinks C compiler is broken on Open Solaris. #7767

sagetrac-drkirkby mannequin opened this issue Dec 26, 2009 · 6 comments

Comments

@sagetrac-drkirkby
Copy link
Mannequin

sagetrac-drkirkby mannequin commented Dec 26, 2009

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

Upstream: Fixed upstream, in a later stable release.

CC: @sagetrac-drkirkby

Component: porting: Solaris

Reviewer: Jeroen Demeyer

Issue created by migration from https://trac.sagemath.org/ticket/7767

@sagetrac-drkirkby sagetrac-drkirkby mannequin added this to the sage-5.11 milestone Dec 26, 2009
@sagetrac-drkirkby sagetrac-drkirkby mannequin self-assigned this Dec 26, 2009
@jdemeyer
Copy link

jdemeyer commented Aug 1, 2010

comment:1

Is this issue fixed by #9343? If yes, we can close this ticket.

@sagetrac-drkirkby
Copy link
Mannequin Author

sagetrac-drkirkby mannequin commented Sep 28, 2010

comment:2

Replying to @jdemeyer:

Is this issue fixed by #9343? If yes, we can close this ticket.

At this point in time, #9343 has not been merged to any stable release (only alphas), so I think currently this ticket should stay open.

In theory #9343 could be reverted, though I doubt that will happen.

@nexttime
Copy link
Mannequin

nexttime mannequin commented Sep 28, 2010

comment:3

Did you at least try it with PARI 2.3.5 (which is e.g. included in Sage 4.5.3)?

@jdemeyer jdemeyer modified the milestones: sage-5.11, sage-5.12 Aug 13, 2013
@jdemeyer
Copy link

jdemeyer commented Oct 3, 2013

Reviewer: Jeroen Demeyer

@jdemeyer
Copy link

jdemeyer commented Oct 3, 2013

Changed upstream from None of the above - read trac for reasoning. to Fixed upstream, in a later stable release.

@jdemeyer
Copy link

jdemeyer commented Oct 3, 2013

comment:5

Assuming this is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant