On 05.07.2022 09:52, Peter Tribble wrote:
On Tue, Jul 5, 2022 at 8:39 AM Predrag Zecevic via openindiana-discuss
<openindiana-discuss@openindiana.org> wrote:
Hi all,
It seems that runtime/python-39 does not deliver file:
---8<------
:; ls -al /usr/lib/amd64/pkgconfig/python3.pc
ls: cannot access '/usr/lib/amd64/pkgconfig/python3.pc': No such
file or
directory
That file is mediated (because it can be delivered by all the
different versions of python3).
What does 'pkg mediator' say?
:; pkg mediator python3
MEDIATOR VER. SRC. VERSION IMPL. SRC. IMPLEMENTATION
python3 vendor 3.9 vendor
Regards.
I would expect you might need something like
pfexec pkg set-mediator -V 3.9 python
(assuming you want python3.9 to be the default python).
:; pfexec pkg fix runtime/python-39
No updates necessary for this image.
:; pkg contents runtime/python-39 | grep pkgconfig
usr/lib/amd64/pkgconfig/python-3.9-embed.pc
usr/lib/amd64/pkgconfig/python-3.9.pc
usr/lib/amd64/pkgconfig/python3-embed.pc
usr/lib/amd64/pkgconfig/python3.pc
:; ls -al /usr/lib/amd64/pkgconfig/python*3*
-r--r--r-- 1 root bin 292 Jan 2 2020
/usr/lib/amd64/pkgconfig/python-3.5.pc
-r--r--r-- 1 root bin 292 Nov 12 2020
/usr/lib/amd64/pkgconfig/python-3.7.pc
lrwxrwxrwx 1 root root 13 Nov 12 2020
/usr/lib/amd64/pkgconfig/python-3.7m.pc -> python-3.7.pc
-r--r--r-- 1 root bin 311 Jan 28 2021
/usr/lib/amd64/pkgconfig/python-3.9-embed.pc
-r--r--r-- 1 root bin 285 Jan 28 2021
/usr/lib/amd64/pkgconfig/python-3.9.pc
How to fix that?
Regards.
--
Predrag Zečević
predrag.zecevic.1...@googlemail.com
_______________________________________________
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss
--
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
--
Predrag Zečević
predrag.zecevic.1...@googlemail.com
_______________________________________________
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss