[FFmpeg-user] running configure on SPARC

Eric Thomas eric21797 at gmail.com
Wed Dec 5 18:54:12 EET 2018


Hello,

I had our sys-ad install gnu sed (v4.5), and I modified the 3 instances of
"sed -E" in the configure script.

It now runs to completion - although it takes about 6 minutes to complete.

When I run "make", I get this error message:

     ./ffbuild/version.sh: syntax error at line 8: `revision=$` unexpected
     GEN     libavutil/ffversion.h
     ./ffbuild/version.sh: syntax error at line 8: `revision=$` unexpected
    make: *** [libavutil/ffversion.h] Error 2

Do I need any arguments for 'make'? What am I missing?

Thanks for your help!

Eric

On Wed, Nov 21, 2018 at 4:55 PM Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:

> 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.
>
> (unlikely)
> 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
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list