#16368: Missing pkgconf dependencies
-------------------------------------+-------------------------------------
       Reporter:  stephen            |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  critical           |    Milestone:  sage-6.3
      Component:  build              |   Resolution:
       Keywords:  pkg-config         |    Merged in:
  pkgconfig                          |    Reviewers:
        Authors:  Volker Braun       |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  b65b9590227626ad4392ba988fd514c113085d7b
  u/vbraun/pkgconf_deps              |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------
Changes (by {'newvalue': u'Volker Braun', 'oldvalue': ''}):

 * author:   => Volker Braun


Old description:

> When building sage-6.2 under FreeBSD, the configure script in libm4ri
> links to the system libpng rather than the sage libpng.  If the system
> libpng is a different version (e.g. in FreeBSD it is version 1.5 instead
> of 1.2), then many of the tests fail.
>
> It can be fixed by this simple patch, which tells the configure script
> where to find libpng.pc.
>
> {{{
> #!patch
> --- build/pkgs/libm4ri/spkg-install        2014-05-16 18:34:53.000000000
> +0000
> +++ build/pkgs/libm4ri/spkg-install     2014-05-16 18:48:25.000000000
> +0000
> @@ -54,6 +54,7 @@
>
>  cd $ROOT_DIR/src/
>
> +env PKG_CONFIG_LIBDIR=$SAGE_LOCAL/lib/pkgconfig \
>  ./configure --prefix="$SAGE_LOCAL" --libdir="$SAGE_LOCAL/lib"
> $ENABLE_DEBUG $DISABLE_SSE2
>
>  if [ $? -ne 0 ]; then
> }}}

New description:

 We should build the pkgconf package before anything that uses pkg-config.

--

--
Ticket URL: <http://trac.sagemath.org/ticket/16368#comment:7>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to