[oi-dev] Pecular dependancies in publishing print/cups-filters
Aurélien Larcher
aurelien.larcher at gmail.com
Wed Aug 14 14:14:51 UTC 2019
On Wed, Aug 14, 2019 at 4:11 PM Aurélien Larcher <aurelien.larcher at gmail.com>
wrote:
>
>
> On Wed, Aug 14, 2019 at 3:58 PM Gary Mills <gary_mills at fastmail.fm> wrote:
>
>> On Wed, Aug 14, 2019 at 10:39:22AM +0200, Till Wegmüller wrote:
>> >
>> > PKG uses it's own PATH variable to find libraries. Think of -I for GCC
>> > for example. And that has been modified to include
>> > usr/lib/libjpeg6-ijg/lib already but now also needs usr/gcc/6/lib to be
>> > added.
>>
>> Are you saying that pkg does not use the runtime path from the ELF
>> section at all? The runtime linker certainly uses that.
>>
>> /usr/gcc/6 is the default compiler for the 2018 version of OI that I'm
>> using. Surely that element is already in the runtime path that's used
>> by pkg. I'd expect that jpeg library path to be the one that's
>> absent.
>>
>> > You can override that by either:
>> > - Setting the dependency in the manifest manually and add
>> > pkg.depend-bypass to the files that complain or
>> > - Modify the Include path PKG searches. I am however unsure which exact
>> > knob in oi-userland to tweak here.
>>
>> Do you have examples from other packages of these two techniques?
>> I'd like to start with something that works.
>>
>> > You should see the override either in the Makefile or the Manifest look
>> > for "usr/lib/libjpeg6-ijg/lib" mentioned there.
>>
>> There's nothing in either for the print/cups-filters package.
>>
>
> Look in the Makefile, it should use image/library/libjpeg8-turbo not
> libjpeg6-ijg.
>
> Probably it is not installed on your system, execute gmake env-prep.
>
The error tells you that no package in the REQUIRED_PACKAGES list provides
a suitable dependency.
>
>
>
>
>>
>>
>> --
>> -Gary Mills- -refurb- -Winnipeg, Manitoba,
>> Canada-
>>
>> _______________________________________________
>> oi-dev mailing list
>> oi-dev at openindiana.org
>> https://openindiana.org/mailman/listinfo/oi-dev
>>
>
>
> --
> ---
> Praise the Caffeine embeddings
>
--
---
Praise the Caffeine embeddings
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20190814/2f622e95/attachment-0005.html>
More information about the oi-dev
mailing list