GNU Readline should be replaced with libedit
Nessuno ha ancora preso questa issue.
- #13184 di @petk — chiusa senza merge
- Lingua principale
- C
- Stelle
- 40.4k
- Fork
- 8.2k
- Merge medio
- 2g 13h
- PR unite (30g)
- 96
Descrizione
Description
The following when using Autotools build system:
./buildconf
./configure --with-readline
# or ./configure --with-readline --enable-phpdbg-readline
make
Results in successful build, but the linked library GNU Readline is licensed under the GNU GPL 3 license, which means that PHP then shouldn't be distributed to anyone. PHP provides linking with the libedit library (--with-libedit) as a replacement in this case. However, build system should not contain such issues. This is not that obvious for people just starting to build PHP and trying to provide it to other users.
There is https://github.com/php/php-src/pull/13184 where the GNU Readline is replaced with libedit only.
Should we target PHP 8.4?
PHP Version
any
Operating System
*nix
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia con il percorso Autotools in buildconf e le opzioni di configure --with-readline, --with-libedit e --enable-phpdbg-readline. Esamina la PR chiusa 13184 e verifica che i comandi di build pertinenti non selezionino più GNU Readline continuando comunque a completarsi correttamente; l’issue è indirizzata a PHP 8.4, ma non specifica un target confermato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- c
- Ambito
- build-system
- Tipo di issue
- Refactoring
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 25/100