dciabrin / ngdevkit

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

README-linux.md: ngdevkit.list sources list may be wrong and may miss readline-dev package dependency #63

Closed khelkun closed 2 years ago

khelkun commented 2 years ago

This line to create /etc/apt/sources.list.d/ngdevkit.list does not seem right in the README-linux.md

I use Ubuntu focal 20.04.03 LTS (Focal Fossa) in a VM, and I had to use the following source lists:

echo "deb-src http://archive.ubuntu.com/ubuntu/ focal main restricted" > /etc/apt/sources.list.d/ngdevkit.list
echo "deb-src http://archive.ubuntu.com/ubuntu/ focal universe" >> /etc/apt/sources.list.d/ngdevkit.lis

Also the make (or make install, I don't remember) did complain about readline which was not recent enough but I did have readline package installed and up to date. So I ran apt install readline-dev package and it fixed the make error.

Note that I recently rebuild ngdevkit from a fresh clean repository clone on this VM and everything went fine.

My friend uses MX Linux 19.4 based on Debian 10 (Buster) and he had to use the following source lists:

echo "deb-src http://deb.debian.org/debian buster main" > /etc/apt/sources.list.d/ngdevkit.list

And also he had to apt install readline-dev.

dciabrin commented 2 years ago

Oops, this doc certainly got messed up during the last doc refactoring... Thanks for the report, fixed.