Building Gstreamer on Mac OS X - 10.6.8

Raja Poonati rpoonati at extron.com
Fri Jul 12 07:55:21 PDT 2013


I am trying to use "cerbero shell" to build gstreamer-sdk with tag sdk-release-sdk-2013.6<http://cgit.freedesktop.org/gstreamer-sdk/gst-plugins-good/tag/?id=sdk-release-sdk-2013.6>.
So I cloned gstreamer, gst-plugins-good and gst-ffmpeg and used git checkout sdk-release-sdk-2013.6<http://cgit.freedesktop.org/gstreamer-sdk/gst-plugins-good/tag/?id=sdk-release-sdk-2013.6>.
While I could build gstreamer and gst-plugins-good successfully, gst-ffmpeg build fails saying "libavcodec/x86/cabac.h:91:error: cant find a register in classs 'GENERAL_REGS' while reloading asm.
I used the same option sh autogen.sh --disable-gtk-doc  as with gstreamer and gst-plugins-good.
What are the configuration options to be used with gst-ffmpeg?


From: gstreamer-devel-bounces+rpoonati=extron.com at lists.freedesktop.org [mailto:gstreamer-devel-bounces+rpoonati=extron.com at lists.freedesktop.org] On Behalf Of Andoni Morales
Sent: 11 July 2013 18:41
To: Discussion of the development of and with GStreamer
Subject: Re: Building Gstreamer on Mac OS X - 10.6.8



2013/7/11 Raja Poonati <rpoonati at extron.com<mailto:rpoonati at extron.com>>
I applied the patch. It seems to be working fine. The build process is currently going on.
Here my aim is to do some changes to the existing filters and build SDK from that. What changes are required to the above process to build the projects on the disk?

Once you have everything built you can build custom branches in 2 ways:
  1) Using the shell in cerbero: call "cerbero shell" and use the regular autogen.sh + make + make install process
  2) modifying the recipes to use a different origin/branch/commit to build.
If you just want to build other projects that depends on GStreamer use cerbero's shell directly.
Andoni


From: gstreamer-devel-bounces+rpoonati=extron.com at lists.freedesktop.org<mailto:extron.com at lists.freedesktop.org> [mailto:gstreamer-devel-bounces+rpoonati<mailto:gstreamer-devel-bounces%2Brpoonati>=extron.com at lists.freedesktop.org<mailto:extron.com at lists.freedesktop.org>] On Behalf Of Andoni Morales
Sent: 11 July 2013 16:36

To: Discussion of the development of and with GStreamer
Subject: Re: Building Gstreamer on Mac OS X - 10.6.8



2013/7/11 Raja Poonati <rpoonati at extron.com<mailto:rpoonati at extron.com>>
Please find the log file attached.
Other thing, It didn't prompt me for password when "./cerbero-uninstalled bootstrap" is executed.

Can you try this patch and report back if it worked. It's only adding a 'sudo' to fix the permissions and should now prompt you for the password

diff --git a/cerbero/bootstrap/osx.py b/cerbero/bootstrap/osx.py
index a09d413..bef1aa8 100644
--- a/cerbero/bootstrap/osx.py
+++ b/cerbero/bootstrap/osx.py
@@ -52,7 +52,7 @@ class OSXBootstraper (BootstraperBase):
         shell.download(self.CPANM_URL, cpanm_installer)
         shell.call('chmod +x %s' % cpanm_installer)
         # Install XML::Parser, required for intltool
-        shell.call("%s XML::Parser" % cpanm_installer)
+        shell.call("sudo %s XML::Parser" % cpanm_installer)


From: gstreamer-devel-bounces+rpoonati=extron.com at lists.freedesktop.org<mailto:extron.com at lists.freedesktop.org> [mailto:gstreamer-devel-bounces+rpoonati<mailto:gstreamer-devel-bounces%2Brpoonati>=extron.com at lists.freedesktop.org<mailto:extron.com at lists.freedesktop.org>] On Behalf Of Andoni Morales
Sent: 11 July 2013 16:04

To: Discussion of the development of and with GStreamer
Subject: Re: Building Gstreamer on Mac OS X - 10.6.8



2013/7/11 Raja Poonati <rpoonati at extron.com<mailto:rpoonati at extron.com>>
Thanks for your email.

I executed the following commands one after the other, it exited showing at the bottom.

- git clone git://anongit.freedesktop.org/gstreamer-sdk/cerbero<http://anongit.freedesktop.org/gstreamer-sdk/cerbero>
- ./cerbero-uninstalled bootstrap


Can you please help me fixing this?
Apart from this, Don't I need to download the gstreamer code explicitly? If not needed, how do I control version of gstreamer cerbero downloads?





WARNING: Using default configuration because /Users/UKEng/.cerbero/cerbero.cbc is missing
WARNING: No bootstrapper for the distro version osx_snow_leopard
Downloading https://raw.github.com/miyagawa/cpanminus/master/cpanm
Running command 'curl -L https://raw.github.com/miyagawa/cpanminus/master/cpanm -o /var/folders/Ak/Akk8Otx8GZGcgyHjeWgFYU+++TI/-Tmp-/tmpf5IaOb '
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  248k  100  248k    0     0   287k      0 --:--:-- --:--:-- --:--:--  654k
Running command 'chmod +x /var/folders/Ak/Akk8Otx8GZGcgyHjeWgFYU+++TI/-Tmp-/tmpf5IaOb'
Running command '/var/folders/Ak/Akk8Otx8GZGcgyHjeWgFYU+++TI/-Tmp-/tmpf5IaOb XML::Parser'
--> Working on XML::Parser
Fetching http://www.cpan.org/authors/id/T/TO/TODDR/XML-Parser-2.41.tar.gz ... OK
Configuring XML-Parser-2.41 ... OK
Building and testing XML-Parser-2.41 ... FAIL
! Installing XML::Parser failed. See /Users/UKEng/.cpanm/work/1373549783.7809/build.log for details. Retry with --force to force install it.

What's in  /Users/UKEng/.cpanm/work/1373549783.7809/build.log ?
Traceback (most recent call last):
  File "./cerbero/main.py", line 103, in run_command
    res = commands.run(command, self.config, self.args)
  File "./cerbero/commands/__init__.py", line 78, in run
    return _commands[command].run(config, args)
  File "./cerbero/commands/bootstrap.py", line 35, in run
    bootstraper.start()
  File "./cerbero/bootstrap/osx.py", line 40, in start
    self._install_perl_deps()
  File "./cerbero/bootstrap/osx.py", line 55, in _install_perl_deps
    shell.call("%s XML::Parser" % cpanm_installer)
  File "./cerbero/utils/shell.py", line 98, in call
    raise FatalError(_("Error running command: %s") % cmd)
FatalError: Fatal Error: Error running command: /var/folders/Ak/Akk8Otx8GZGcgyHjeWgFYU+++TI/-Tmp-/tmpf5IaOb XML::Parser
***** Error running 'bootstrap' command:
Fatal Error: Error running command: /var/folders/Ak/Akk8Otx8GZGcgyHjeWgFYU+++TI/-Tmp-/tmpf5IaOb XML::Parser
usage: cerbero-uninstalled [-h] [-c CONFIG]

                           {add-recipe,tag,genxcconfig,genlibfiles,check,list-packages,build,add-package,genvsprops,shell,run,cleanone,packageinfo,buildone,wipe,debug-packages,package,bootstrap,list,checkpackage,deps,gensdkshell}
                           ...



-----Original Message-----
From: gstreamer-devel-bounces+rpoonati=extron.com at lists.freedesktop.org<mailto:extron.com at lists.freedesktop.org> [mailto:gstreamer-devel-bounces+rpoonati=extron.com at lists.freedesktop.org] On Behalf Of Sebastian Dröge
Sent: 11 July 2013 12:16
To: Discussion of the development of and with GStreamer
Subject: Re: Building Gstreamer on Mac OS X - 10.6.8

On Do, 2013-07-11 at 09:43 +0000, Raja Poonati wrote:
> Hi,
>
>
>
> I am trying to build Gstreamer on Mac OS X - 10.6.8. Is there any
> documentation specifying the build steps?

Yes: http://docs.gstreamer.com/display/GstSDK/Building+from+source+using+Cerbero

However I would recommend to use the following cerbero branch "upstream-1.0" instead of the old 0.10 version:
http://cgit.freedesktop.org/~slomo/cerbero/log/?h=upstream-1.0

For that replace the "package" step from the instructions with "package gstreamer-1.0" instead of "package gstreamer-sdk".


  ________________________________


Statement Of Confidentiality:

This electronic message transmission, and all attachments, contains information from Extron Electronics which is confidential and privileged. The information is for the exclusive viewing or use of the intended recipient. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this electronic transmission in error, please notify the sender immediately by a "reply to sender only" message and destroy all electronic and hard copies of the communication, including attachments.

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org<mailto:gstreamer-devel at lists.freedesktop.org>
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



--
Andoni Morales Alastruey

LongoMatch:The Digital Coach
http://www.longomatch.ylatuya.es

________________________________


Statement Of Confidentiality:

This electronic message transmission, and all attachments, contains information from Extron Electronics which is confidential and privileged. The information is for the exclusive viewing or use of the intended recipient. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this electronic transmission in error, please notify the sender immediately by a "reply to sender only" message and destroy all electronic and hard copies of the communication, including attachments.

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org<mailto:gstreamer-devel at lists.freedesktop.org>
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



--
Andoni Morales Alastruey

LongoMatch:The Digital Coach
http://www.longomatch.ylatuya.es

________________________________


Statement Of Confidentiality:

This electronic message transmission, and all attachments, contains information from Extron Electronics which is confidential and privileged. The information is for the exclusive viewing or use of the intended recipient. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this electronic transmission in error, please notify the sender immediately by a "reply to sender only" message and destroy all electronic and hard copies of the communication, including attachments.

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org<mailto:gstreamer-devel at lists.freedesktop.org>
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



--
Andoni Morales Alastruey

LongoMatch:The Digital Coach
http://www.longomatch.ylatuya.es

________________________________


Statement Of Confidentiality:

This electronic message transmission, and all attachments, contains information from Extron Electronics which is confidential and privileged. The information is for the exclusive viewing or use of the intended recipient. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this electronic transmission in error, please notify the sender immediately by a "reply to sender only" message and destroy all electronic and hard copies of the communication, including attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130712/df5094c0/attachment-0001.html>


More information about the gstreamer-devel mailing list