far2l icon indicating copy to clipboard operation
far2l copied to clipboard

Insufficient dependencies in generated .deb file.

Open faerot opened this issue 1 year ago • 4 comments

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?

faerot avatar Feb 05 '24 10:02 faerot

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.

akruphi avatar Feb 05 '24 14:02 akruphi

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 ?

faerot avatar Feb 05 '24 18:02 faerot

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.

akruphi avatar Feb 05 '24 19:02 akruphi

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?

faerot avatar Mar 22 '24 11:03 faerot