cerbero bootstrap Fatal Error: Data dir not found

tausiq tausiq19 at gmail.com
Tue Nov 4 00:36:47 PST 2014


Hello all, 

I am trying to build GStreamer using Cerbero by following  this guide
<http://docs.gstreamer.com/display/GstSDK/Building+from+source+using+Cerbero> 
.

Steps I followed: 

1. Clone the latest master repo:
http://cgit.freedesktop.org/gstreamer/cerbero/

2. Ran the command: 
echo "alias cerbero='~/git/cerbero/cerbero-uninstalled'" >> ~/.bashrc

3.Create and edit the file $HOME/.cerbero/cerbero.cbc

import os
from cerbero.config import Platform, Architecture, Distro

packages_prefix = 'gstreamer-1.0'
packager = 'GStreamer SDK packagers <packages at gstreamer.com>'
prefix = "/opt/gstreamer-1.0"

git_root = "http://cgit.freedesktop.org/gstreamer/cerbero/"

# Uncomment to allow parallel builds
# allow_parallel_build = True

# Uncomment this to allow cross-building for another architecture
# target_arch = Architecture.X86_64
 
4. Go to the Cerbero directory and ran: sudo python setup.py install

5. Ran: cerbero bootstrap

Getting the following error: 

Traceback (most recent call last):
  File "/usr/local/bin/cerbero", line 9, in <module>
    load_entry_point('cerbero==0.1.0', 'console_scripts', 'cerbero')()
  File
"/Library/Python/2.7/site-packages/cerbero-0.1.0-py2.7.egg/cerbero/main.py",
line 130, in main
    Main(sys.argv[1:])
  File
"/Library/Python/2.7/site-packages/cerbero-0.1.0-py2.7.egg/cerbero/main.py",
line 54, in __init__
    self.load_config()
  File
"/Library/Python/2.7/site-packages/cerbero-0.1.0-py2.7.egg/cerbero/main.py",
line 98, in load_config
    self.config.load(self.args.config)
  File
"/Library/Python/2.7/site-packages/cerbero-0.1.0-py2.7.egg/cerbero/config.py",
line 110, in load
    self.load_defaults()
  File
"/Library/Python/2.7/site-packages/cerbero-0.1.0-py2.7.egg/cerbero/config.py",
line 308, in load_defaults
    self.set_property('data_dir', self._find_data_dir())
  File
"/Library/Python/2.7/site-packages/cerbero-0.1.0-py2.7.egg/cerbero/config.py",
line 468, in _find_data_dir
    raise FatalError("Data dir not found")
cerbero.errors.FatalError: Fatal Error: Data dir not found

I am running Mac OS X, Yosemite.

Did I do something wrong? Any help is appreciated. 

Thank you. 




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/cerbero-bootstrap-Fatal-Error-Data-dir-not-found-tp4669352.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list