used apt install pkgconf and added variables
./configure --prefix=/home/kgb1st/build-ffmpeg/last --enable-nvenc --enable-nonfree
echo $PKG_CONFIG_PATH/usr/lib/x86_64-linux-gnu/pkgconfig
and got errors when tried to compile...echo $PKG_CONFIG_LIBDIR/usr/lib/x86_64-linux-gnu/
./configure --prefix=/home/kgb1st/build-ffmpeg/last --enable-nvenc --enable-nonfree
Code:
Package xproto was not found in the pkg-config search path.
Perhaps you should add the directory containing `xproto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xproto', required by 'xau', not found
Package 'xproto', required by 'xdmcp', not found
Package xproto was not found in the pkg-config search path.
Perhaps you should add the directory containing `xproto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xproto', required by 'xau', not found
Package 'xproto', required by 'xdmcp', not found
Package xproto was not found in the pkg-config search path.
Perhaps you should add the directory containing `xproto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xproto', required by 'xau', not found
Package 'xproto', required by 'xdmcp', not found
Package xproto was not found in the pkg-config search path.
Perhaps you should add the directory containing `xproto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xproto', required by 'xau', not found
Package 'xproto', required by 'xdmcp', not found
Package 'xproto', required by 'xau', not found
Package 'xproto', required by 'xdmcp', not found
Package 'xproto', required by 'xau', not found
Package 'xproto', required by 'xdmcp', not found
ERROR: nvenc requested, but not all dependencies are satisfied: ffnvcodec
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.