pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg_create fails for math/pari



On Tue, 25 Feb 2014 18:17:58 +0900, Thomas Klausner <wiz%netbsd.org@localhost> 
wrote:

Hi!

On Mon, Feb 24, 2014 at 04:48:34PM -0800, Iain Morgan wrote:
While trying to install math/pari, pkg_create fails with the following
message:

=> Automatic manual page handling
pkg_create: can't stat 
`/u/imorgan/work/math/pari/work/.destdir/u/imorgan/pkg/lib/libpari-gmp.la'
=> Creating binary package 
/u/imorgan/work/math/pari/work/.packages/pari-2.3.5nb13.tgz
pkg_create: can't stat 
`/u/imorgan/work/math/pari/work/.destdir/u/imorgan/pkg/lib/libpari-gmp.la'
pkg_create: lstat failed for file lib/libpari-gmp.la: No such file or directory
*** Error code 2

It turns out that while gmp is enabled as a default option for math/pari,
it is not actually listed as a dependency. Thus, if devel/gmp is not
already installed, libpari-gmp.la will not be created and pkg_create will
fail.

I don't understand what you're saying.

The pari package has an optional gmp dependency. When it is enabled,
gmp is installed and added as dependency, when not, it isn't.

What exactly are you doing?

If builtin gmp exists, it will not be installed from pkgsrc.

--
OBATA Akio / obata%lins.jp@localhost


Home | Main Index | Thread Index | Old Index