No GStreamer 1.7.0.1 found

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

No GStreamer 1.7.0.1 found

tausiq
Hello all,

I am trying to build gst-plugins-bad in Mac OS X (El Capitan)

ran command,
./autogen.sh

the following error encountered

checking for GIO... yes
checking for GST... no
configure: No package 'gstreamer-1.0' found
configure: error: no gstreamer-1.0 >= 1.7.0.1 (GStreamer) found
  configure failed


After the error, I ran
brew install gstreamer

Homebrew installed GStreamer-1.6.0

==> Installing gstreamer
==> Downloading https://homebrew.bintray.com/bottles/gstreamer-1.6.0.el_capitan
######################################################################## 100.0%
==> Pouring gstreamer-1.6.0.el_capitan.bottle.tar.gz
🍺  /usr/local/Cellar/gstreamer/1.6.0: 366 files, 20M


Then I ran the command again,
./autogen.sh

got the error,

checking for GIO... yes
checking for GST... no
configure: Requested 'gstreamer-1.0 >= 1.7.0.1' but version of GStreamer is 1.6.0
configure: error: no gstreamer-1.0 >= 1.7.0.1 (GStreamer) found
  configure failed


How do I get/install GStreamer 1.7.0.1? I guess the formula of GStreamer 1.7.0.1 is not available in brew yet.

Any help is appreciated.


Thank you.
Reply | Threaded
Open this post in threaded view
|

Re: No GStreamer 1.7.0.1 found

Nirbheek Chauhan
On 05-Oct-2015 4:33 pm, "tausiq" <[hidden email]> wrote:

> I am trying to build gst-plugins-bad in Mac OS X (El Capitan)
>
> ran command,
> *./autogen.sh*
>
> the following error encountered
>
> /checking for GIO... yes
> checking for GST... no
> configure: No package 'gstreamer-1.0' found
> configure: error: no gstreamer-1.0 >= 1.7.0.1 (GStreamer) found
>   configure failed/
>

For what purpose are you building gst-plugins-bad from git? Do the
binaries provided by either homebrew or the GStreamer project itself
not suffice for you?

If you want to specifically build the latest git of gst-plugins-bad,
you will also have to build all the other GStreamer modules using a
gst-uninstalled setup[1]. However, GStreamer 1.6.0 was released last
week so if building gst-plugins-bad-1.6.0 is also sufficient, you can
check out the 1.6 branch of the gst-plugins-bad git repository and
build that instead:

$ cd gst-plugins-bad
$ git checkout --track origin/1.6
$ ./autogen.sh && make -j4

1. http://arunraghavan.net/2014/07/quick-start-guide-to-gst-uninstalled-1-x/

Cheers,
Nirbheek
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: No GStreamer 1.7.0.1 found

Nirbheek Chauhan
On Mon, Oct 5, 2015 at 11:21 PM, Nirbheek Chauhan
<[hidden email]> wrote:

> On 05-Oct-2015 4:33 pm, "tausiq" <[hidden email]> wrote:
>> I am trying to build gst-plugins-bad in Mac OS X (El Capitan)
>>
>> ran command,
>> *./autogen.sh*
>>
>> the following error encountered
>>
>> /checking for GIO... yes
>> checking for GST... no
>> configure: No package 'gstreamer-1.0' found
>> configure: error: no gstreamer-1.0 >= 1.7.0.1 (GStreamer) found
>>   configure failed/
>>
>
> For what purpose are you building gst-plugins-bad from git? Do the
> binaries provided by either homebrew or the GStreamer project itself
> not suffice for you?
>
> If you want to specifically build the latest git of gst-plugins-bad,
> you will also have to build all the other GStreamer modules using a
> gst-uninstalled setup[1]. However, GStreamer 1.6.0 was released last
[snip]
> 1. http://arunraghavan.net/2014/07/quick-start-guide-to-gst-uninstalled-1-x/
>

I see now that you want to contribute to afvideosrc. In that case, you
should uninstall the gstreamer package that you installed using
Homebrew and follow the steps on that blog post to setup a
gst-uninstalled environment and inside that build gstreamer,
gst-plugins-base, gst-plugins-good, and gst-plugins-bad in that order.
You will likely need to install some dependencies using Homebrew.

All the best!

Cheers,
--
~Nirbheek Chauhan
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: No GStreamer 1.7.0.1 found

tausiq
Hello Nirbheek,
Thank you for your quick reply.

The blog link is really very helpful. I have followed the steps in the blog.

gstreamer ./autogen.sh ran successfully.
after that, I ran make and got the error,

...
Making all in tracers
  CC       libgstcoretracers_la-gstlatency.lo
  CC       libgstcoretracers_la-gstlog.lo
  CC       libgstcoretracers_la-gstrusage.lo
gstrusage.c:190:14: error: use of undeclared identifier 'RUSAGE_THREAD'
  getrusage (RUSAGE_THREAD, &ru);
             ^
1 error generated.
make[3]: *** [libgstcoretracers_la-gstrusage.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


I am not sure how to resolve this issue. Any help is appreciated.

Thanks in advance.
Reply | Threaded
Open this post in threaded view
|

Re: No GStreamer 1.7.0.1 found

Nirbheek Chauhan
On Tue, Oct 6, 2015 at 1:08 PM, tausiq <[hidden email]> wrote:

>
> /...
> Making all in tracers
>   CC       libgstcoretracers_la-gstlatency.lo
>   CC       libgstcoretracers_la-gstlog.lo
>   CC       libgstcoretracers_la-gstrusage.lo
> gstrusage.c:190:14: error: use of undeclared identifier 'RUSAGE_THREAD'
>   getrusage (RUSAGE_THREAD, &ru);
>              ^
> 1 error generated.
> make[3]: *** [libgstcoretracers_la-gstrusage.lo] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> /
>
> I am not sure how to resolve this issue. Any help is appreciated.
>

This is a known and recent build issue on some non-Linux systems. You
can either wait for it to get fixed, or you could build GStreamer 1.6
instead in the meantime. :)

'ensonic' on #gstreamer is working on this. Perhaps you can help him?

--
~Nirbheek Chauhan
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: No GStreamer 1.7.0.1 found

tausiq
Thank you Nirbheek for you quick reply.

I have switched to origin/1.6

gstreamer ./autogen.sh ran fine
make produces this error,

...
Making all in docs
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C design
make[4]: Nothing to be done for `all'.
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C gst
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
  DOC   Building HTML
I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"
compilation error: file /usr/local/Cellar/gtk-doc/1.24/share/gtk-doc/data/gtk-doc.xsl line 10 element import
xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
make[5]: *** [html-build.stamp] Error 5
make[4]: *** [all] Error 2
make[3]: *** [gst] Error 2
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


I think the error is regarding to chunk.xsl, but I can go to the link and a chunk.xsl file got downloaded, which means chunk.xsl is accessible from my side. Any suggestion on how to resolve this issue?


Thanks in advance.