python27 install failure on FreeBSD 11 RELEASE
David Munroe
david at munroe.net
Fri Jan 6 20:27:46 UTC 2017
A bit of searching led me to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206911 which indicated
there is a readline port/package which needs to be installed. I installed
that port and recompiled python27, all seems to work well now. Surprised
it didn't install readline when I initiated the python27 port install
though.
Thanks :)
On Fri, 6 Jan 2017, David Munroe wrote:
> Greetings,
>
> I did a fresh install of FreeBSD 11 today:
>
> FreeBSD f11 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0 r306420: Thu Sep 29
> 01:43:23 UTC 2016 root at releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC
> amd64
>
> Immediately did a portsnap fetch and update then tried to compile python27
> and received the following error:
>
> ===> Installing for python27-2.7.13_1
> ===> Checking if python27 already installed
> ===> Registering installation for python27-2.7.13_1
> pkg-static: Unable to access file
> /usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/lib-dynload/readline.so:
> No such file or directory
> *** Error code 74
>
> Stop.
> make[1]: stopped in /usr/ports/lang/python27
> *** Error code 1
>
> Stop.
> make: stopped in /usr/ports/lang/python27
> root at f11:/usr/ports/lang/python27 #
>
>
> A manual ls shows no file also:
>
> root at f11:/usr/ports/lang/python27 # ls -la
> /usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/lib-dynload/readline.so
> ls:
> /usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/lib-dynload/readline.so:
> No such file or directory
>
>
>
> Please let me know if you need additional info, thanks!
>
> -David
>
More information about the freebsd-python
mailing list