'repo init' fails on MAC OS

288 views
Skip to first unread message

rt

unread,
Jun 10, 2010, 10:36:43 AM6/10/10
to Android Building
I am using MAC OS 10.6 (snow leopard). As per the posted documentation
(http://source.android.com/source/download.html) building the code is
not supported as of yet. For the moment, I am trying to get the source
to browse it. 'repo' was successfully installed in ~/bin, but 'repo'
init fails, see below. What am I missing? Do I need to install Git as
well just to view the code, if so where are the instructions for doing
it on a MAC. Any other pointers for the below error are appreciated.

Thanks,
rt.


bash-3.2$ chmod a+x ~/bin/
repo
bash-3.2$ repo init -u git://android.git.kernel.org/platform/manifest.git
Traceback (most recent call
last):
File "/Users/home/bin/repo", line 595, in
<module>

main(sys.argv[1:])
File "/Users/home/bin/repo", line 562, in
main

_Init(args)
File "/Users/home/bin/repo", line 181, in
_Init

_CheckGitVersion()
File "/Users/home/bin/repo", line 210, in
_CheckGitVersion
proc = subprocess.Popen(cmd,
stdout=subprocess.PIPE)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/subprocess.py", line 595, \
in
__init__
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/subprocess.py", line 1106,\
in
_execute_child
OSError: [Errno 2] No such file or
directory
bash-3.2$

Jean-Baptiste Queru

unread,
Jun 16, 2010, 3:08:04 PM6/16/10
to android-...@googlegroups.com
It sounds like you don't have git installed.

JBQ

> --
> You received this message because you are subscribed to the "Android Building" mailing list.
> To post to this group, send email to android-...@googlegroups.com
> To unsubscribe from this group, send email to
> android-buildi...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>

--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

Reply all
Reply to author
Forward
0 new messages