#9722: PARI/GP build error on Fedora 13
------------------------+---------------------------------------------------
   Reporter:  mpatel    |       Owner:  tbd         
       Type:  defect    |      Status:  needs_review
   Priority:  blocker   |   Milestone:  sage-4.5.3  
  Component:  packages  |    Keywords:              
     Author:            |    Upstream:  N/A         
   Reviewer:            |      Merged:              
Work_issues:            |  
------------------------+---------------------------------------------------

Comment(by leif):

 Replying to [comment:7 ggrafendorfer]:
 > Replying to [comment:6 leif]:
 > > Replying to [comment:5 ggrafendorfer]:
 > > > btw, this bug exists since version after 4.3.4, which was the last
 which built correctly,
 > >
 > > Hmmm, I don't think this error showed up before Fedora 13 was
 released... ;-)

 I of course meant the linker error.

 > We had Fedora 11 before, where the same error occured, my second report
 is here:
 >
 > http://groups.google.com/group/sage-
 
devel/browse_thread/thread/51630a0ef2f8989/c6f07d55a7b091c4?lnk=gst&q=built+error+fedora+11#c6f07d55a7b091c4

 Nice. A trivial work-around, if you simply want to compile Sage/PARI
 '''without''' FLTK is:
 {{{
 export PARI_EXTRA_OPTS="--with-fltk=no"
 }}}
 (This will complain that the directory {{{.../no}}} does not exist, but
 proceed building without FLTK.)

 > > Anyway, I think I have a trivial patch/new spkg ready.
 > >
 > > Are you familiar with patching spkgs?
 >
 > no, is it difficult, where is the new spkgs?

 I don't have an account on sage.math, so I could only put it into the
 volatile ftp directory. (But someone else could move it.)

 Applying patches to spkgs is relatively simple. If you have Mercurial
 ({{{hg}}}) installed:
 {{{
 #!sh
 $ tar xjf /path/to/pari-2.3.5.p2.spkg
 $ mv pari-2.3.5.p2 pari-2.3.5.p3
 $ cd pari-2.3.5.p3
 $ hg import /path/to/spkg-patch.patch # replace with appropriate filename
 $ cd ..
 $ tar cjf pari-2.3.5.p3.spkg pari-2.3.5.p3
 }}}
 Then you can install the new spkg the usual way ({{{./sage -i ...}}}, but
 perhaps first copy it over to {{{$SAGE_ROOT/spkg/standard}}} to get around
 limitations of {{{sage-spkg}}}, and then type {{{./sage -i
 pari-2.3.5.p3}}}).

 > > It does ''not'' fix the first error, i.e. PARI attempting to use FLTK
 despite no headers being present, since I currently cannot reproduce that.
 I could perhaps fix that later though.)
 > Since all the machines are the same, it should also fix the first error,
 since this is obviously the default state of the machines,

 Ok, I've read this too late...

 Wouldn't be bad then to install {{{libfltk-dev}}} on ''all'' machines...
 (I would assume the machines get configured/installed from a central
 server anyway.)

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9722#comment:9>
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