#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: FLTK, DSO, libstdc++, plotfltk, FL/Fl.H
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------+---------------------------------------------------
Changes (by leif):
* keywords: => FLTK, DSO, libstdc++, plotfltk, FL/Fl.H
Comment:
Replying to [comment:15 ggrafendorfer]:
> Here is my report to the pari project and the answer:
>
> > Hi,
> >
> > there are some problems with the pari package when building sage
(http://www.sagemath.org) reported here:
> >
> > http://trac.sagemath.org/sage_trac/ticket/9722
> >
> >
> > I tried to build pari separately (stand alone) but also does not work:
> >
> > After successful configuration pari does not build in 2 different
cases:
> >
> > AMD Phenom II X4 925, Fedora 13, with fltk and fltk-devel installed:
for log-message see file "log_with_fltk-devel" attached
> >
> > Esprimo 64bit, Fedora 13, with fltk, but not fltk-devel installed: for
log-message see file "log_without_fltk-devel" attached
>
> Hello Georg,
>
> On both system, there is libfltk library installed in /usr/local/lib64/,
but no
> matching header files in /usr/local/include is provided, so compiling
fltk does not work.
> Configure output a warning:
>
> ###
> ### libX11.so not found. Please install X11 development files.
> ### They usually come in XFree86-devel (RPM) or xlibs-dev (Debian)
packages
> ###
> ### X11 not found
> ###
>
> So either install XFree86-devel (or whathever is the correct name of
fedora) or use
> --graphic=none to disable graphics.
>
> Installing fltk and fltk-devel does not work because the version of fltk
it provides is
> not compatible with the one in /usr/local/lib64/ (this is only a guess).
>
> Cheers,
> Bill.
In any case, PARI shouldn't attempt to build with FLTK support if no (or
not matching) header files are present; the second (linker) error is also
definitely a bug, which currently only shows up on Fedora 13 (and
derivatives) due to
[http://fedoraproject.org/wiki/UnderstandingDSOLinkChange stricter linkage
rules].
I couldn't (yet) reproduce the errors on 32-bit Fedora 13 though, most
probably because ''other'' headers and libraries weren't installed. (I
tested installing Sage's PARI spkg with only {{{fltk-1.1.10-1.fc13}}}, and
then in addition {{{fltk-devel-1.1.10-1.fc13}}} installed; both with PARI
2.3.5 and the new PARI 2.4.3 svn snapshot from #9343.)
I'll examine that later in more detail.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9722#comment:16>
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.