[FFmpeg-devel] [FFmpeg-cvslog] Merge commit '7cb1d9e2dbbe5bf4652be5d78cdd68e956fa3d63'

Helmut K. C. Tessarek tessarek at evermeet.cx
Thu Oct 12 22:44:55 EEST 2017


I'm building ffmpeg for the last 6 years and provide snapshots and
releases for OSX.

On 2017-10-12 15:00, Clément Bœsch wrote:
> what's your configure line?

./configure --cc=/usr/bin/clang --prefix=/opt/ffmpeg
--extra-version=tessus --enable-avisynth --enable-fontconfig
--enable-gpl --enable-libass --enable-libbluray --enable-libfreetype
--enable-libgsm --enable-libmodplug --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus
--enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora
--enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis
--enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265
--enable-libxavs --enable-libxvid --enable-libzmq --enable-libzvbi
--enable-version3 --disable-ffplay

> how is freetype built?
./configure --prefix=${TARGET} --without-png --disable-shared
--enable-static --with-harfbuzz=no


Please note that I build static ffmpeg binaries and I have an isolated
dev env, so that no other libs than system libs and libs that I have
compiled are used.

I also had to set the following to satisfy build dependency issues due
to errors in the build process (wrong dependencies in configure and/or
pkg_config files).

export LDFLAGS="$LDFLAGS -lstdc++ -lass -lfontconfig -lexpat -lenca
-lfribidi -lfreetype -framework CoreText"

I'm pretty sure I can fix my problem by just adding all libraries that
can't be found to LDFLAGS, but this is just a workaround and does not
solve the root problem.

e.g. why do I have to specify libfontconfig manually, although the
fontconfig.pc is perfectly valid? That was a rhetorical question.

The build process has been broken forever and it is still broken.
Otherwise I would not have to set any of the LDFLAGS manually.


-- 
regards Helmut K. C. Tessarek              KeyID 0xF7832007C11F128D
Key fingerprint = 28A3 1666 4FE8 D72C CFD5 8B23 F783 2007 C11F 128D

/*
   Thou shalt not follow the NULL pointer for chaos and madness
   await thee at its end.
*/


More information about the ffmpeg-devel mailing list