problem running build script

When trying to run the build script, I get the following error. Seems the location of libvpx.git has changed?

ERROR: Unable to git clone source for libvpx from git://review.webmproject.org/libvpx.git
LOG: Process has finished. Reason: FAILURE Some kind of error occured: Unable to git clone source for libvpx from git://review.webmproject.org/libvpx.git

waynevid

Ran into the same problem.
Seems that libvpx has moved, so I made this little change to the compile script:

# REPOLOCS[5]="git://review.webmproject.org/libvpx.git"
REPOLOCS[5]=" http://git.chromium.org/webm/libvpx.git"

(the original line is line 338)

Works OK now.

Tried the new script and it gets past the libvpx roadblock but then I run into this:

make[2]: Entering directory `/home/waynevid/kdenlive/src/mlt/src/modules/sdl'
cc -I/home/waynevid/kdenlive/20110927/include -Wall -DPIC -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread -Wall -DPIC -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread -I../.. -Wall -DPIC -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread `sdl-config --cflags` -c -o factory.o factory.c
cc -I/home/waynevid/kdenlive/20110927/include -Wall -DPIC -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread -Wall -DPIC -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread -I../.. -Wall -DPIC -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread `sdl-config --cflags` -c -o consumer_sdl.o consumer_sdl.c
cc -I/home/waynevid/kdenlive/20110927/include -Wall -DPIC -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread -Wall -DPIC -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread -I../.. -Wall -DPIC -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread `sdl-config --cflags` -c -o consumer_sdl_audio.o consumer_sdl_audio.c
cc -I/home/waynevid/kdenlive/20110927/include -Wall -DPIC -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread -Wall -DPIC -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread -I../.. -Wall -DPIC -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread `sdl-config --cflags` -c -o consumer_sdl_preview.o consumer_sdl_preview.c
cc -I/home/waynevid/kdenlive/20110927/include -Wall -DPIC -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread -Wall -DPIC -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread -I../.. -Wall -DPIC -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread `sdl-config --cflags` -c -o consumer_sdl_still.o consumer_sdl_still.c
cc -shared -o ../libmltsdl.so factory.o consumer_sdl.o consumer_sdl_audio.o consumer_sdl_preview.o consumer_sdl_still.o -L/home/waynevid/kdenlive/20110927/lib -Wl,--no-undefined -Wl,--as-needed -Wl,--no-undefined -Wl,--as-needed -L../../framework -lmlt -lpthread -lm -Wl,--no-undefined -Wl,--as-needed -lX11 `sdl-config --libs`
make[2]: Leaving directory `/home/waynevid/kdenlive/src/mlt/src/modules/sdl'
make[2]: Entering directory `/home/waynevid/kdenlive/src/mlt/src/modules/gtk2'
cc -I/home/waynevid/kdenlive/20110927/include -Wall -DPIC -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread -Wall -DPIC -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread -I../.. -Wall -DPIC -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread `pkg-config gdk-pixbuf-2.0 --cflags` `pkg-config pangoft2 --cflags` -c -o factory.o factory.c
cc -I/home/waynevid/kdenlive/20110927/include -Wall -DPIC -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread -Wall -DPIC -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread -I../.. -Wall -DPIC -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread `pkg-config gdk-pixbuf-2.0 --cflags` `pkg-config pangoft2 --cflags` -c -o producer_pixbuf.o producer_pixbuf.c
cc -I/home/waynevid/kdenlive/20110927/include -Wall -DPIC -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread -Wall -DPIC -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread -I../.. -Wall -DPIC -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread `pkg-config gdk-pixbuf-2.0 --cflags` `pkg-config pangoft2 --cflags` -c -o pixops.o pixops.c

factory.c:24:21: error: gdk/gdk.h: No such file or directory
factory.c: In function ‘initialise’:
factory.c:46: warning: implicit declaration of function ‘g_type_init’
factory.c: In function ‘metadata’:
factory.c:81: error: ‘PATH_MAX’ undeclared (first use in this function)
factory.c:81: error: (Each undeclared identifier is reported only once
factory.c:81: error: for each function it appears in.)
factory.c:81: warning: unused variable ‘file’
make[2]: *** [factory.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/waynevid/kdenlive/src/mlt/src/modules/gtk2'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/waynevid/kdenlive/src/mlt/src/modules'
make: *** [all] Error 1
ERROR: Unable to build mlt
LOG: Process has finished. Reason: FAILURE Some kind of error occured: Unable to build mlt

Any clues to what I should do next?

waynevid
Mandriva 2010

No idea... seems that it can't find some gdk stuff?
Did you remove / move gdk (gtk)?

Maybe reinstalling it would help?

If it just can't find gdk.h, maybe another -I compiler option with the proper location would help?

Or, to avoid changing the script, maybe just make a symlink from /usr/include/gdk (I guess this is where it is looking for it?) to wherever you have gdk.h?

On my system it is in /usr/include/gtk-2.0/gdk/ and I had no problem compiling a few days ago.