Error installing oF 0.9.* in Ubuntu 12.04

Hi I’ve installed the dependencies, it said that all them were installed correctly, however when I run the OF compilation script compileOF.sh it throws the following errors (all of them related to gstreamer):

Thanks.

ideo/ofGstUtils.cpp:700:8: error: ‘GST_MESSAGE_HAVE_CONTEXT’ was not declared in this scope
case GST_MESSAGE_HAVE_CONTEXT:{
^
/home/kovicic/of/libs/openFrameworks/video/ofGstUtils.cpp:701:4: error: ‘GstContext’ was not declared in this scope
GstContext *context;
^
/home/kovicic/of/libs/openFrameworks/video/ofGstUtils.cpp:701:16: error: ‘context’ was not declared in this scope
GstContext *context;
^
/home/kovicic/of/libs/openFrameworks/video/ofGstUtils.cpp:705:49: error: ‘gst_message_parse_have_context’ was not declared in this scope
gst_message_parse_have_context (msg, &context);
^
/home/kovicic/of/libs/openFrameworks/video/ofGstUtils.cpp:707:56: error: ‘gst_context_get_context_type’ was not declared in this scope
context_type = gst_context_get_context_type (context);
^
/home/kovicic/of/libs/openFrameworks/video/ofGstUtils.cpp:708:77: error: ‘gst_context_get_structure’ was not declared in this scope
context_str = gst_structure_to_string (gst_context_get_structure (context));
^
/home/kovicic/of/libs/openFrameworks/video/ofGstUtils.cpp:713:30: error: ‘gst_context_unref’ was not declared in this scope
gst_context_unref (context);
^
/home/kovicic/of/libs/openFrameworks/video/ofGstUtils.cpp: In member function ‘GstFlowReturn ofGstVideoUtils::process_sample(std::shared_ptr<_GstSample>)’:
/home/kovicic/of/libs/openFrameworks/video/ofGstUtils.cpp:1287:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(pixels.isAllocated() && pixels.getTotalBytes()!=(int)size){
^
/home/kovicic/of/libs/openFrameworks/video/ofGstUtils.cpp:1291:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(stride == (pixels.getWidth() * pixels.getBytesPerPixel())) {
^

By the way I tryed modifying the lsb_release file, it doesn’t work.