Open lsahnicne opened 9 months ago
I have the same problem, did you solve it?
I have this problem too on Ubuntu 22.04 - which is the current LTS release. Except I do have libavformat, it's just a slightly older version. I would prefer not to install libraries from future repos because it can break things in the future. Is there any way around this?
Alright I figured out how to install it but you have to use an old version. I installed 0.8.2. The first thing you have to do is make sure you have libavformat in the first place.
sudo apt install libavformat-dev
Then you want to clone this repository in the folder of your choice:
git clone https://github.com/alexkay/spek.git
Now since we can't install the latest version, you're going to want to checkout an older version of the software. So first:
cd spek
Then
git checkout ee8bc49
Now you have set the build for spek 0.8.2. Next you have to set up the build environment
./autogen.sh
Then compile the software:
make
Check if it works with
src/spek
You might get some warning about invalid icons. It seems to stop giving you this error when you actually install the program. So if everything else works, and if you want, you can install it to your system
sudo make install
And that should be it.
But it appears that package named 'libavormat' is no longer distributed
Whenever you are building software from source, the package with "dev" at the end is what you need. The dev stands for development. So you want libavformat-dev
Whenever you are building software from source, the package with "dev" at the end is what you need. The dev stands for development. So you want libavformat-dev
Then why doesn't the error say "No package 'libavformat-dev' found"?
Whenever you are building software from source, the package with "dev" at the end is what you need. The dev stands for development. So you want libavformat-dev
Then why doesn't the error say "No package 'libavformat-dev' found"?
Because libavformat-dev has a version too. You have to use Synaptic or apt search
to see it. It wants you to have version 59.27.100 or later, and you install the dev package to build with it. You might need both - the regular and the dev package, I'm not sure. I always just install both when I'm doing this kind of stuff
And that should be it.
And I spoke too soon. Spek crashes when loading a file 99% of the time for me, probably due to this error:
https://github.com/alexkay/spek/issues/111
So I'm out of luck for now, because I will not be installing Snap on my system
./configure returns error:
But it appears that package named 'libavormat' is no longer distributed. Instead, there are multiple others such as libavformat58, libavformat59, libavformat60, libavformat-dev etc.