On 2016-03-06 02:06, Carlos E. R. wrote:
I want to try "gopchop" (http://gopchop.sourceforge.net/). I don't find it ready built. So I try to build it. Configure fails here:
checking mpeg2dec/mpeg2.h usability... no checking mpeg2dec/mpeg2.h presence... no checking for mpeg2dec/mpeg2.h... no configure: error: Couldn't find header mpeg2dec/mpeg2.h! cer@Telcontar:~/Compilaciones/MultiMedia/gopchop-1.1.8>
It probably refers to "mpeg2dec - MPEG-2 Decoder" available in packman, but the -devel package, which is missing. I installed "mpeg2dec-debuginfo", but no go. I will have to install that one from source, too (http://libmpeg2.sourceforge.net/)
Ok, I built it. I'll continue tomorrow.
mpeg2dec built and installed successfully (without an rpm, 'make install'). However, "make gopchop" produces C syntax errors with which I'm not familiar: ... Main.cpp:91:23: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] char *GOPchop_cvsid = "$Id: Main.cpp 346 2009-03-02 23:26:02Z keescook $"; ^ Main.cpp:139:1: error: C99 designator ‘video_driver’ outside aggregate initializer }; ^ Main.cpp:152:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] }; ^ Main.cpp:152:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] Main.cpp:152:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] Main.cpp:152:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] Main.cpp:152:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] Main.cpp:152:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] Main.cpp:152:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] Main.cpp:152:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] Main.cpp:152:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] Main.cpp:152:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] Main.cpp: In function ‘void handle_rc_load()’: Main.cpp:828:39: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] if (rc_load(PACKAGE,parsable_items)) ^ make[1]: *** [Main.o] Error 1 make[1]: Leaving directory `/data/homedvl/cer/MultiMedia/gopchop-1.1.8/src' make: *** [all-recursive] Error 1 cer@Telcontar:~/Compilaciones/MultiMedia/gopchop-1.1.8> -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)