Building Gstreamer on Mac OS X - 10.6.8

Raja Poonati rpoonati at extron.com
Thu Jul 11 09:35:23 PDT 2013


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?

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 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130711/83a4409e/attachment-0001.html>


More information about the gstreamer-devel mailing list