[Pkg-pascal-devel] Bug#749418: fp-units-math ld cannot find gmp

Abou Al Montacir abou.almontacir at sfr.fr
Tue May 27 18:56:33 UTC 2014


Hi All,

Pulling this from the bug and moving it to P4D list.

On Tue, 2014-05-27 at 20:45 +0200, Paul Gevers wrote:
> Control: retitle -1 fp-units should recommend their c-library headers
> 
> On 27-05-14 18:47, M Viey wrote:
> > Le 27/05/2014 00:27, peter green a écrit :
> >> I'll leave this bug open as it could be argued that we should be
> >> depending on it. 
> > Ok thanks. But the package should indicate the dependence. I thought
> > about it but the only things I could find is this wiki :
> > http://wiki.lazarus.freepascal.org/gmp .
> > 
> > So I search libgmpX-dev... I didn't understand that X is version of
> > libgmp-dev ... I'm very confused.
> > 
> > Now It's work.
> 
> Yes, I still believe that we should once go around and make all are
> fp-units-* depend/recommend their respective c-library header packages.
> This will make installing fpc pull in a lot more packages than one might
> have now, but will make sure people don't get these surprises.

I think that in general fp-unit-* should depend or at least recommend
the C librairies they bind. However this as Paul said will increase the
dependency size that should be installed.

I personally prefer to have a soft dependency (recommend) rather than
hard dependency (depends). However this may imply that we add a post
processing of the ld messages and add hints like maybe 
"Please install some-package-dev"
The list of messages could be built automatically and added to a file
that is parsed by fpc.

Cheers,
Abou Al Montacir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-pascal-devel/attachments/20140527/592dd1a1/attachment.sig>


More information about the Pkg-pascal-devel mailing list