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

M Viey m.viey at wanadoo.fr
Tue May 27 19:26:44 UTC 2014


Le 27/05/2014 20:56, Abou Al Montacir a écrit :
> 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
>

recommend dependency seems a good choice for me because apt-get install 
it automatically excepted if the option --no-install-recommends is 
specified.





More information about the Pkg-pascal-devel mailing list