dciabrin / ngdevkit

Open source development for Neo-Geo
GNU Lesser General Public License v3.0
262 stars 26 forks source link

Linux compilation instructions: Ubuntu readline package name change #101

Closed ratherlargerobot closed 9 months ago

ratherlargerobot commented 9 months ago

Hello,

I am working my way through the Linux installation instructions found here: https://github.com/dciabrin/ngdevkit/blob/master/README-linux.md

It appears that there is no package named "readline-dev" in Ubuntu 20.04 LTS. However, there is a package named "libreadline-dev". I assume this is the one that was intended?

`$ cat /etc/os-release
NAME="Ubuntu" VERSION="20.04.6 LTS (Focal Fossa)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 20.04.6 LTS" VERSION_ID="20.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=focal UBUNTU_CODENAME=focal

$ apt-cache show readline-dev N: Unable to locate package readline-dev E: No packages found

$ apt-cache show libreadline-dev Package: libreadline-dev Architecture: amd64 Version: 8.0-4 Multi-Arch: same Priority: optional Section: libdevel Source: readline Origin: Ubuntu Maintainer: Ubuntu Developers ubuntu-devel-discuss@lists.ubuntu.com Original-Maintainer: Matthias Klose doko@debian.org Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 750 Provides: libreadline6-dev Depends: libreadline8 (= 8.0-4), libncurses-dev, dpkg (>= 1.15.4) | install-info Suggests: readline-doc Conflicts: libreadline-gplv2-dev, libreadline5-dev, libreadline6-dev Filename: pool/main/r/readline/libreadline-dev_8.0-4_amd64.deb Size: 141204 MD5sum: 66fe8099f637b3e77f97cd4b0e829470 SHA1: f3bd3f7d955d0d97d230d3ee6e4c60dde2340493 SHA256: 48afce7a6c25675602f1d877531680256fad51ec3b17660f5a6e35088ecbf657 Description-en: GNU readline and history libraries, development files The GNU readline library aids in the consistency of user interface across discrete programs that need to provide a command line interface. . The GNU history library provides a consistent user interface for recalling lines of previously typed input. . This package contains development files. Description-md5: 3793ef1d4c2c0318abafe0980aadcd30 `

Thanks!

dciabrin commented 9 months ago

You're absolutely right!

I just rebuilt the entire devkit with libreadline-dev as you mentioned, and this works on a pristine ubuntu 20.04 container. So I supposed we can close this issue.

Note that for Ubuntu you can also consume pre-built nightly packages available in launchpad.