Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Oct 2022 12:33:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 267389] devel/pyenv build python without readline
Message-ID:  <bug-267389-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267389

            Bug ID: 267389
           Summary: devel/pyenv build python without readline
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: olgeni@FreeBSD.org
          Reporter: m.viey@wanadoo.fr
          Assignee: olgeni@FreeBSD.org
             Flags: maintainer-feedback?(olgeni@FreeBSD.org)

When I build a new version with pyenv I get warnings about tcl-tk and readl=
ine,
and this features are not enabled in the new python version.=20

```
$ pyenv install 3.10.7
pyenv: /home/mik/.pyenv/versions/3.10.7 already exists
continue with installation? (y/N) y
Downloading Python-3.10.7.tar.xz...
-> https://www.python.org/ftp/python/3.10.7/Python-3.10.7.tar.xz
Installing Python-3.10.7...
WARNING: The Python readline extension was not compiled. Missing the GNU
readline lib?
WARNING: The Python tkinter extension was not compiled and GUI subsystem has
been detected. Missing the Tk toolkit?
Installed Python-3.10.7 to /home/mik/.pyenv/versions/3.10.7
```


For tcl-tk it's ok because it is not installed but readline is actually
installed on my system and the default python from ports has readline featu=
re.


```
# pkg info readline
readline-8.1.2
Name           : readline
Version        : 8.1.2
Installed on   : Wed Oct 19 18:51:54 2022 CEST
Origin         : devel/readline
Architecture   : FreeBSD:13:amd64
Prefix         : /usr/local
Categories     : devel
Licenses       : GPLv3
Maintainer     : sunpoet@FreeBSD.org
WWW            : https://tiswww.case.edu/php/chet/readline/rltop.html
Comment        : Library for editing command lines as they are typed
Options        :
        BRACKETEDPASTE : on
        DOCS           : on
Shared Libs provided:
        libreadline.so.8
        libhistory.so.8
Annotations    :
        FreeBSD_version: 1301000
        cpe            : cpe:2.3:a:gnu:readline:8.1:2::::freebsd13:x64
        repo_type      : binary
        repository     : FreeBSD
Flat size      : 1.74MiB
Description    :
The GNU Readline library provides a set of functions for use by applications
that allow users to edit command lines as they are typed in. Both Emacs and=
 vi
editing modes are available. The Readline library includes additional funct=
ions
to maintain a list of previously-entered command lines, to recall and perha=
ps
reedit those lines, and perform csh-like history expansion on previous
commands.

WWW: https://tiswww.case.edu/php/chet/readline/rltop.html
```

Is there something I can do to get readline support in new python version
installed ?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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