Ask Your Question

What path specifically goes into PKG_CONFIG_PATH?

asked 2018-04-20 19:46:53 -0500

hsljo gravatar image

Trying to compile kino I am facing a few challenges which did not exist in the previous version of Fedora that I am upgrading from. End of configure output:

checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBDV... configure: error: Package requirements (libdv >= 0.103) were not met:

Package 'libdv', required by 'virtual:world', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBDV_CFLAGS
and LIBDV_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

These instructions are not clear enough, so my first thought was to check if libdv was installed:

[use0@localhost kino-1.3.4]$ dnf provides libdv
libdv-1.0.0-23.fc26.x86_64 : Software decoder for DV format video
Repo        : @System
Matched from:
Provide    : libdv = 1.0.0-23.fc26

libdv-1.0.0-23.fc26.i686 : Software decoder for DV format video
Repo        : fedora
Matched from:
Provide    : libdv = 1.0.0-23.fc26

libdv-1.0.0-23.fc26.x86_64 : Software decoder for DV format video
Repo        : fedora
Matched from:
Provide    : libdv = 1.0.0-23.fc26

It is already installed either by the initial OS setup, or as a dependency for another package (possibly VLC):

[use0@localhost kino-1.3.4]$ sudo dnf install -y libdv-1.0.0-23.fc26.x86_64
Last metadata expiration check: 0:32:34 ago on Fri 20 Apr 2018 08:02:37 PM EDT.
Package libdv-1.0.0-23.fc26.x86_64 is already installed, skipping.
Dependencies resolved.
Nothing to do.

So at this point I do not understand what is missing for configure and what has to be done to satisfy its requirement for libdv. Please explain!

edit retag flag offensive close merge delete


Kino requires a old version of libdv... also Kino isn't in active development... Shotcut is the replace of Kino...

davidva gravatar imagedavidva ( 2018-04-21 02:08:42 -0500 )edit

How is Shotcut a replacement for Kino? Kino captured from DV cameras. Shotcut has no 1394 import. What am I missing?

hsljo gravatar imagehsljo ( 2018-05-04 21:01:51 -0500 )edit

4 Answers

Sort by ยป oldest newest most voted

answered 2018-04-29 14:10:32 -0500

hsljo gravatar image

ffmpeg team went out of their way to break compatibility for older code, and I simply do not have resources to fight this uphill battle. They removed old methods when developing new ones, so even though I was able to patch Kino to a degree, the undefined symbols keep raining on me and every one of them is renamed or removed by ffmpeg developers. No wonder Kino is dead: ffmpeg developers killed it.

edit flag offensive delete link more



@hsljokino has an internal implementation of ffmpeg. I had to install libv4l1-devel and edit src/v4l.h changing #include <linux/videodev.h> to #include <libv4l1-videodev.h>

fcomida gravatar imagefcomida ( 2018-04-30 12:08:04 -0500 )edit

@fcomida Wow, just when I totally lost hope! Your hack worked, I have Kino up and running. Just one question: ./configure printed a summary where liba52m, libamr-nb, libdcl1394, libfaac, libfaad, libgsm, libmp3lame, libnut, libtheora, libvorbis, x264, XviD and zlib support all said = no. I have almost all of their -devel packages installed. Why are they not enabled still?

hsljo gravatar imagehsljo ( 2018-05-04 19:24:36 -0500 )edit

There is just one Oops: our beloved kernel developers removed raw1394 device for security reasons. Now we are prefectly safe and secure, just cannot capture videos anymore. Congratulations - everyone wins! I am lucky to have a stash of older machines which can run old Linuxes, boy how happy I am I kept that stash. Some developers should not have access to computers.

hsljo gravatar imagehsljo ( 2018-05-04 20:54:57 -0500 )edit

@hsljo kernel module is not raw1394 anymore. There are few firewire-XXX modules now: firewire_corefirewire_ohci ...

fcomida gravatar imagefcomida ( 2018-05-05 06:58:21 -0500 )edit

@hsljo edit main configure and add all --enable-XXXX for local ffmpeg provided by kino, line 22215. Enter ffmpeg directory and run ./configure --help to see all options.

fcomida gravatar imagefcomida ( 2018-05-05 08:18:56 -0500 )edit

@fcomida My understanding is there should be /dev/fw* devices with the new module, but there aren't any. Nothing under /sys/bus/firewire/devices as well.

hsljo gravatar imagehsljo ( 2018-05-05 10:07:37 -0500 )edit

answered 2018-04-21 17:51:56 -0500

fcomida gravatar image

You must install libdv-devel and probably many other xxxx-devel packages.

edit flag offensive delete link more


Right! I did not compile anything from sources for so many years and totally forgot that these messages are misleading by lacking the devel part re libraries!!!

hsljo gravatar imagehsljo ( 2018-04-23 08:50:57 -0500 )edit

answered 2018-04-29 15:09:03 -0500

fcomida gravatar image

I managed to compile kino-1.3.4 on Fedora 26. If I find some time I could make a package.

image description

edit flag offensive delete link more

answered 2018-04-23 12:07:32 -0500

fcomida gravatar image

sudo dnf search --all video | grep -i editor

lives.x86_64 : Video editor and VJ tool    
kdenlive.x86_64 : Non-linear video editor  
pitivi.x86_64 : Non-linear video editor    
mlt.i686 : Toolkit for broadcasters, video 
editors, media players, transcoders        
mlt.x86_64 : Toolkit for broadcasters, vide
o editors, media players, transcoders      
shotcut.x86_64 : A free, open source, cross
-platform video editor                     
flowblade.noarch : Multitrack non-linear vi
deo editor for Linux                       
mlt-freeworld.x86_64 : Toolkit for broadcas
ters, video editors, media players,        
gaupol.noarch : Subtitle editor

sudo dnf search --all digital | grep -i video

libdv-tools.x86_64 : Basic tools to manipul
ate Digital Video streams                  
mythtv.x86_64 : A digital video recorder (D
VR) application                            
tvheadend.x86_64 : TV streaming server and 
digital video recorder                     
dvgrab.x86_64 : Utility to capture video fr
om a DV camera                             
vdr.x86_64 : Video Disk Recorder           
libdv.x86_64 : Software decoder for DV form
at video                                   
libdv.i686 : Software decoder for DV format
ProjectX.x86_64 : DVB video editing and dem
ultiplexing tool                           
transcode.x86_64 : Video stream processing 
edit flag offensive delete link more


Many of these cannot import video from 1394 sources, and those that can, compare to kino like a Yugo to a Lamborgini.

hsljo gravatar imagehsljo ( 2018-04-23 14:26:29 -0500 )edit

@hsljo that's what fedora offers. Have you been lucky with kino?

fcomida gravatar imagefcomida ( 2018-04-23 14:47:35 -0500 )edit

Not yet, commented out obsolete API calls in .c files but got stuck at linking errors.

hsljo gravatar imagehsljo ( 2018-04-23 18:18:06 -0500 )edit

Question Tools

1 follower


Asked: 2018-04-20 19:46:53 -0500

Seen: 865 times

Last updated: Apr 29 '18