Jeff Schroeder wrote:
> On Fri, Jan 8, 2010 at 11:17 AM, Leonid Flaks<flaks(a)bnl.gov> wrote:
>> John Eckersberg wrote:
>>> At Fri, 08 Jan 2010 13:49:57 -0500,
>>> Leonid Flaks wrote:
>>>>
>>>> I am not sure if it is specific to this particular OS and arch.
>>>> I am trying to run make install or make webtest or actually any make
and
>>>> get this:
>>>> # make install
>>>> pod2man --center="cobbler" --release=""
./docs/cobbler.pod | gzip -c>
>>>> ./docs/cobbler.1.gz
>>>> pod2man --center="koan" --release="" ./docs/koan.pod
| gzip -c>
>>>> ./docs/koan.1.gz
>>>> pod2man --center="cobbler-register" --release=""
>>>> ./docs/cobbler-register.pod | gzip -c>
./docs/cobbler-register.1.gz
>>>> python setup.py build -f
>>>> Traceback (most recent call last):
>>>> File "setup.py", line 71, in<module>
>>>> gen_build_version()
>>>> File "setup.py", line 41, in gen_build_version
>>>> cmd =
>>>>
subprocess.Popen(["/usr/bin/git","log","-1"],stdout=subprocess.PIPE)
>>>> File "/usr/lib64/python2.6/subprocess.py", line 595, in
__init__
>>>> errread, errwrite)
>>>> File "/usr/lib64/python2.6/subprocess.py", line 1092, in
_execute_child
>>>> raise child_exception
>>>> OSError: [Errno 2] No such file or directory
>>>> make: *** [build] Error 1
>>>>
>>>> This is a version 2.0.2 git clone from
git://git.fedorahosted.org/cobbler
>>>>
>>>> Any ideas?
>>>>
>>>> Thanks,
>>>> Leon
>>>>
>>
>>>
>>> It looks like /usr/bin/git does not exist, can you verify that git is
>>> installed properly and in the correct place?
>>
>> Bingo! That was it. I was trying to do test installation on the system
>> nfs mounting cobber git directory. Never thought I need git for that.
>>
>> Thanks!
>>
>> Leon
>
> Please file a bug for this.
>
Done. Ticket #551 (
https://fedorahosted.org/cobbler/ticket/551)
Leon
_______________________________________________
cobbler-devel mailing list
cobbler-devel(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler-devel
The reason that git is needed to build the package is because the git
hash is retained for use with the much-controversial cobbler --version
as such:
$ cobbler --version
Cobbler 2.0.2
source: 3e9381a4d5fe7ca3c6db5306ebb118637a42e1c0, Tue Dec 8 15:46:11 2009 -0500
build time: Tue Jan 5 14:08:06 2010
This was Michael's desire in order to better assist folks who were
having problems. He often had a hard time determining exactly which
build of cobbler they were running (especially when folks build from
source themselves).