FreeBasic on Debian 10
FreeBasic on Debian 10
I noticed alongside the packages pointed out by readme.txt we also need to install tinfo5 as Debian 10 now comes with tinfo6 and fbc requires the 5 ones. Someone should update readme.txt to include this. Thanks.
Re: FreeBasic on Debian 10
Same problem with *Ubuntu 20.04.
viewtopic.php?f=5&t=28443
viewtopic.php?f=5&t=28443
Re: FreeBasic on Debian 10
The solution for Ubuntu 20.04 isLandeel wrote:Same problem with *Ubuntu 20.04.
viewtopic.php?f=5&t=28443
sudo apt install libtinfo5
Re: FreeBasic on Debian 10
Yes it's just a matter of installing the package. I'm running Debian 10 Buster on my Pine64 board and it has the package libncurses5 in it which has libtinfo.5. It appears to be available for all debian versions, even testing and unstable, along side the newer libncurses6 package.
Re: FreeBasic on Debian 10
libtinfo is part of Ncurses.
From what I've read, it is under a very permissive license.
I think we can just link it statically with our programs and forget about this dependency.
Please correct me if I'm wrong.
From what I've read, it is under a very permissive license.
I think we can just link it statically with our programs and forget about this dependency.
Please correct me if I'm wrong.
Re: FreeBasic on Debian 10
Sure you can statically link it in your own executables. But most people are using the provided fbc binaries from FreeBASIC which need that shared library.
But as we've shown, all you need to do is make sure the right packages are installed and everything works as it is now with the default binaries as provided by FreeBASIC and your own binaries.
But as we've shown, all you need to do is make sure the right packages are installed and everything works as it is now with the default binaries as provided by FreeBASIC and your own binaries.
Re: FreeBasic on Debian 10
fbc is a fbc program. The next version should come with static libtinfo.
Re: FreeBasic on Debian 10
static libtinfo for which distro ???Landeel wrote:fbc is a fbc program. The next version should come with static libtinfo.
Re: FreeBasic on Debian 10
I think the one from 18.04 is good enough. Got it to run from 14.04 to 20.04.
The one from 20.04 is not backwards compatible.
EDIT: Hm, that was the dynamic lib. I think with the static lib, any version will work.
The one from 20.04 is not backwards compatible.
EDIT: Hm, that was the dynamic lib. I think with the static lib, any version will work.