Gnutls fails on macos catalina

classic Classic list List threaded Threaded
4 messages Options
gga
Reply | Threaded
Open this post in threaded view
|

Gnutls fails on macos catalina

gga
This has the full command of a cmake build in source as it is using its ExternalProject_Add().

FAILED: FFmpeg-prefix/src/FFmpeg-stamp/FFmpeg-configure
cd /Users/gga/code/applications/mrv/external/BUILD/Darwin-19.4.0-64/Release/tmp/FFmpeg-prefix/src/FFmpeg && ./configure --enable-pic --enable-shared --enable-gpl --enable-gray --enable-gnutls --enable-libfreetype --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libopus --enable-libass --enable-libvpx --enable-libx264 --enable-libx265 --enable-libwebp --enable-bzlib --enable-zlib --prefix=/Users/gga/code/applications/mrv/install-Darwin-19.4.0 && /usr/local/Cellar/cmake/3.17.2/bin/cmake -E touch /Users/gga/code/applications/mrv/external/BUILD/Darwin-19.4.0-64/Release/tmp/FFmpeg-prefix/src/FFmpeg-stamp/FFmpeg-configure
ERROR: gnutls not found using pkg-config

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
[hidden email] 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.
ninja: build stopped: subcommand failed.

Find attached the ffbuild/config.log


--
Gonzalo Garramuno
[hidden email]




_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".

config.log (458K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Gnutls fails on macos catalina

Carl Eugen Hoyos-2
Am Do., 21. Mai 2020 um 05:19 Uhr schrieb Gonzalo Garramuno
<[hidden email]>:

> ERROR: gnutls not found using pkg-config

gnutls without pkg-config works here with:
--pkg-config=true --extra-libs=-lgnutls
(You might have to disable cuda explicitly, I plan to
fix this ugly bug.)

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
gga
Reply | Threaded
Open this post in threaded view
|

Re: Gnutls fails on macos catalina

gga

On 21/5/20 07:07, Carl Eugen Hoyos wrote:

> Am Do., 21. Mai 2020 um 05:19 Uhr schrieb Gonzalo Garramuno
> <[hidden email]>:
>
>> ERROR: gnutls not found using pkg-config
> gnutls without pkg-config works here with:
> --pkg-config=true --extra-libs=-lgnutls
> (You might have to disable cuda explicitly, I plan to
> fix this ugly bug.)
>
> Carl Eugen
Thanks, Carl.  That works.  However, isn't the purpose of pkg-config to
avoid remembering all the libs and ldpaths that need to be passed on the
command-line?  Right now, I am having to pass --extra-libs to most
libraries on MacOSX Catalina in order to compile.

--
Gonzalo Garramuño

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Gnutls fails on macos catalina

Carl Eugen Hoyos-2
Am Do., 21. Mai 2020 um 18:59 Uhr schrieb gga <[hidden email]>:
>
>
> On 21/5/20 07:07, Carl Eugen Hoyos wrote:
> > Am Do., 21. Mai 2020 um 05:19 Uhr schrieb Gonzalo Garramuno
> > <[hidden email]>:
> >
> >> ERROR: gnutls not found using pkg-config
> > gnutls without pkg-config works here with:
> > --pkg-config=true --extra-libs=-lgnutls

> > (You might have to disable cuda explicitly, I plan to
> > fix this ugly bug.)

(The work-around is to pass --disable-ffnvcodec, this
may be impossible to avoid with --pkg-config=true on
some systems)

> Thanks, Carl.  That works.  However, isn't the purpose of pkg-config to
> avoid remembering all the libs and ldpaths that need to be passed on the
> command-line?  Right now, I am having to pass --extra-libs to most
> libraries on MacOSX Catalina in order to compile.

That's because most of the operating systems supported by FFmpeg
do not support pkg-config (by default) - because most existing
operating systems and toolchains do not support pkg-config by
default. I consider this a major issue of our build system but others
disagree.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".