Friday, October 30, 2009

Mozilla,Bugzilla,Chatzilla..... The Zilla life =)

Hey :),
This post is a little bit related to the previous post.As mentioned before, due to my enrollment in the Open Source Development course at my university,i'm being faced with new challenges every week. Today's challenge is pretty similar to the previous week's dilemma. Am having the hardest time trying to build a certain project on my machine locally. last week i was trying to build the BesPin(here) project,but only disappointment and failure were the result of enormous time and effort spent :S .
However and being totally honest, last week i was a little lost,and didn't quite understand what a "build" of a project meant.
fortunately this week's assignment is also related to "building" the source code of another project,so i didn't really miss the chance to learn what that means and how it could be done. The project is well known for most tech-related people, and also for regular computer users. Mozilla Thunderbird is the project that i tried to build this week .Although i have paid my dues in reading and searching and getting sufficent information before doing it, i didn't get the result is was hoping for :S . During the lab we were introduced to the whole MOZILLA world, where almost every single entity ends with "zilla" :D:D. We were introduced to Mozilla (the whole structure), Bugzilla(reporting Bugs Agent) ,Chatzilla (IRC client) and Thunderbird,on which i am supposed to work for next week's assignment.
The major problem that faced me while trying to build the project was while checking out....
I followed this tutorial while trying to build,and here is the error that occur

Traceback (most recent call last):
File "client.py", line 403, in
do_cvs_checkout(LDAPCSDK_DIRS, LDAPCSDK_CO_TAG, options.cvsroot, options.cvs, '')
File "client.py", line 257, in do_cvs_checkout
cwd=os.path.join(topsrcdir, checkoutdir, parent))
File "client.py", line 75, in check_call_noisy
check_call(cmd, *args, **kwargs)
File "/usr/lib/python2.6/subprocess.py", line 457, in check_call
retcode = call(*popenargs, **kwargs)
File "/usr/lib/python2.6/subprocess.py", line 444, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.6/subprocess.py", line 595, in __init__
errread, errwrite)
File "/usr/lib/python2.6/subprocess.py", line 1092, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

I wish anyone who sees this post,would be able to help :)

PS:Unable to build the project,doesn't mean that there is no access to the project code. You can still access it through the MXR for Thunderbird under the following link

4 comments:

  1. 1-Is this error occurring at executing:
    python client.py checkout
    2-Do you have cvs installed?

    ReplyDelete
  2. hey saher,
    Yes the error occurred while executing
    python client.py checkout

    and.... no i don't think i got cvs installed..what does it do anyway,i will install it and update you :)
    thank you really for your help and care !! :)

    ReplyDelete
  3. well....
    first of all,thanks a million for your help, after installing CVS, python client.py checkout executed successfully :)
    but unfortunately the " make -f client.mk " produced the following error:
    matio@matio-laptop:~/comm-central$ make -f client.mk
    Adding client.mk options from /home/matio/comm-central/.mozconfig:
    MOZ_MAKE_FLAGS=-j4
    make[1]: Entering directory `/home/matio/comm-central'
    Generating /home/matio/comm-central/configure using autoconf
    cd /home/matio/comm-central;
    Generating /home/matio/comm-central/mozilla/configure using autoconf
    cd /home/matio/comm-central/mozilla;
    Generating /home/matio/comm-central/mozilla/js/src/configure using autoconf
    cd /home/matio/comm-central/mozilla/js/src;
    cd /home/matio/comm-central
    ./configure
    /bin/sh: ./configure: not found
    *** Fix above errors and then restart with "make -f client.mk build"
    make[1]: *** [configure] Error 1
    make[1]: Leaving directory `/home/matio/comm-central'
    make: *** [/home/matio/comm-central/Makefile] Error 2

    Saher i don't want to be nagging about it, it is not your responsibility to answer this question, i apologize if it is a load for you or even a "rookie mistake" but it would be great if you could tell me where i can read about it,or get the info to fix problems generally. I already googled it,but i can't find anything useful... and now i am trying blogging and irc :).
    anything else comes in your mind,please tell me :)

    thank you alot in advance :)

    ReplyDelete
  4. check out:
    http://se.bigbuddysociety.net/wiki/index.php?title=A_step_by_step_tutorial_for_building_thunderbird

    ReplyDelete