[FFmpeg-user] running configure on SPARC

Carl Eugen Hoyos ceffmpeg at gmail.com
Wed Nov 21 23:55:36 EET 2018

2018-11-21 20:20 GMT+01:00, Eric Thomas <eric21797 at gmail.com>:

> uname –a
>      SunOS devm 5.10 Generic_150400-61 sun4u sparc SUNW,Sun-Fire-V490

You unfortunately need GNU sed, configure fails without
and you absolutely *have* to edit configure: Search for
"sed -E" and replace it with "/path/to/your/gnu/sed -E".
This is a requirement (and ticket #7310, a regression).

> make –v
>      GNU Make 3.81

This was good enough once upon a time, I don't remember
if it still is.

> gcc –v
>      Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
>      Configured with:
> /sfw10/builds/build/sfw10-patch/usr/src/cmd/gcc/gcc-3.4.3/configure
> –prefix=/usr/sfw –with-as=/usr/ccs/bin/as
>                                            –without-gnu-as
> –with-ld=/usr/ccs/bin/ld –without-gnu-ld –enable-language=c,c++
> --enable-shared
>      Thread model: posix
>      gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)

This is indeed old, I don't know if it works, feel free to try.

> Configure cmd
>      bash ./configure –prefix=/home/eric/ffmpeg/FFmpeg-4.0.2

> –extra-cflags=”fPIC” –arch=sparc –target-os=sun

Remove everything from the second line, it is wrong.

> The configure script does not run to completion – I have to kill it with
> ‘Ctrl-z’, and I do not get a config.h file.

This is unexpected, are you sure you waited long enough?

Before trying again, remember that only current FFmpeg git head
is supported here.

Carl Eugen

More information about the ffmpeg-user mailing list