far2l
far2l copied to clipboard
Insufficient dependencies in generated .deb file.
I have moved generated .deb file from one Debian 12 machine to another and after installing with
sudo dpkg -i ./far2l-nowx_2.5.3-beta_amd64.deb
sudo apt-get -f install
When launching far installed this way there was an error about not able to load colorer plugin. doing
apt-get install libpcre3-dev libxerces-c-dev libuchardet-dev libssh-dev libssl-dev libsmbclient-dev libnfs-dev libneon27-dev libarchive-dev cmake pkg-config g++
fixed the problem, but from my understaning, .deb file should list all the requirements and no extra manual installs should be necessary?
Repository Debian 12 bookworm (https://packages.debian.org/search?keywords=far2l) has not package far2l-nowx.
If you use self-prepare deb, you need manually during creation put in deb information about Depends, Recommends, Suggests and/or Conflicts etc.
I have built it with:
cmake --build . --target package
As stated by front page here. Shouldn't makefile add all required packages when generating .deb ?
cmake --build . --target package
As stated by front page here.
Ooops... I never use this method. I use unxed's https://github.com/unxed/far2l-deb/blob/master/make_far2l_deb.sh. In lines 1-6 it installed libraries in building computer and in line 43 it add information to deb about Depends.
I assume cmake method is an official way to create .deb package, since it mentioned on the front page, thus dependencies should be fixed there, no?