Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2024 15:31:16 +0300
From:      Odhiambo Washington <odhiambo@gmail.com>
To:        questions <questions@freebsd.org>
Subject:   Installing Python2.7 in 14-RELEASE
Message-ID:  <CAAdA2WPxWhD0CeNJ7e6kutTSXMkzYuFTWT_gWrsY39Da9uCjug@mail.gmail.com>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Hi

I need to install Python27 from /usr/ports/lang/python27 to test something,
but it fails:

```
root@gw:/usr/ports/lang/python27 # make reinstall clean
===>  Deinstalling for python27
===>   python27 not installed, skipping
===>  Installing for python27-2.7.18
===>  Checking if python27 is already installed
===>   Registering installation for python27-2.7.18
pkg-static: Unable to access file
/usr/ports/lang/python27/work/stage//lib/python2.7/lib-dynload/_hashlib.so:No
such file or directory
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/lang/python27
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/python27
```

The files missing are actually
in /usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/lib-dynload/.

How can I solve this problem?

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
 In an Internet failure case, the #1 suspect is a constant: DNS.
"Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
[How to ask smart questions:
http://www.catb.org/~esr/faqs/smart-questions.html]

[-- Attachment #2 --]
<div dir="ltr">Hi<div><br></div><div>I need to install Python27 from /usr/ports/lang/python27 to test something, but it fails:</div><div><br></div><div>```</div><div>root@gw:/usr/ports/lang/python27 # make reinstall clean<br>===&gt;  Deinstalling for python27<br>===&gt;   python27 not installed, skipping<br>===&gt;  Installing for python27-2.7.18<br>===&gt;  Checking if python27 is already installed<br>===&gt;   Registering installation for python27-2.7.18<br>pkg-static: Unable to access file /usr/ports/lang/python27/work/stage//lib/python2.7/lib-dynload/_hashlib.so:No such file or directory<br>*** Error code 1<br><br>Stop.<br>make[1]: stopped in /usr/ports/lang/python27<br>*** Error code 1<br><br>Stop.<br>make: stopped in /usr/ports/lang/python27</div><div>```</div><div><br></div><div>The files missing are actually in /usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/lib-dynload/.</div><div><br></div><div>How can I solve this problem?</div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div>Best regards,<br>Odhiambo WASHINGTON,<br>Nairobi,KE<br>+254 7 3200 0004/+254 7 2274 3223</div><div><span style="color:rgb(34,34,34)"> In </span><span style="color:rgb(34,34,34)">an Internet failure case, the #1 suspect is a constant: DNS.</span><br>&quot;<span style="font-size:12.8px">Oh, the cruft.</span><span style="font-size:12.8px">&quot;, </span><span style="font-size:12.8px">egrep -v &#39;^$|^.*#&#39; </span><span style="background-color:rgb(34,34,34);color:rgb(238,238,238);font-family:&quot;Lucida Console&quot;,Consolas,&quot;Courier New&quot;,monospace;font-size:13.6px">¯\_(ツ)_/¯</span><span style="font-size:12.8px"> :-)</span></div><div><span style="font-size:12.8px">[How to ask smart questions: </span><span style="font-size:12.8px"><a href="http://www.catb.org/~esr/faqs/smart-questions.html" target="_blank">http://www.catb.org/~esr/faqs/smart-questions.html</a>]</span></div></div></div></div></div>;
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAdA2WPxWhD0CeNJ7e6kutTSXMkzYuFTWT_gWrsY39Da9uCjug>