<br><br><div class="gmail_quote">On Thu, Oct 11, 2012 at 11:08 PM, Daniel Narvaez <span dir="ltr"><<a href="mailto:dwnarvaez@gmail.com" target="_blank">dwnarvaez@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
make build-modulename should work. So make build-sugar in your case. </blockquote><div><br>It kind of works, but only on a pseudo-basis.<br><br>1)<br>"make build-sugar" does try to fetch remotely; however, it just hangs.<br>
<br>2)<br>So, I do "Ctrl + C".<br><br>3)<br>That brings us to the 6 options; I choose option 2 (Ignore error and continue to configure).<br><br>4)<br>It then builds/compiles/installs (WITHOUT fetching anything remotely).<br>
<br><br><br><br>For brevity, here is the process-log ::<br><br>####################################################################################<br>[ajay@localhost sugar-build]$ make build-sugar<br>script -ae -c "/home/ajay/sugar-build/install/bin/jhbuild -f /home/ajay/sugar-build/scripts/jhbuildrc buildone -f sugar" /home/ajay/sugar-build/logs/build-20121012-113545.log<br>
Script started, file is /home/ajay/sugar-build/logs/build-20121012-113545.log<br>*** Checking out sugar *** [1/1]<br>git remote set-url origin git://<a href="http://git.sugarlabs.org/sugar/mainline.git">git.sugarlabs.org/sugar/mainline.git</a><br>
git remote update origin<br>Fetching origin<br>^C*** Error during phase checkout of sugar: ########## Error running git remote update origin *** [1/1]<br><br>  [1] Rerun phase checkout<br>  [2] Ignore error and continue to configure<br>
  [3] Give up on module<br>  [4] Start shell<br>  [5] Reload configuration<br>  [6] Go to phase "wipe directory and start over"<br>choice: 2<br>*** Configuring sugar *** [1/1]<br>/home/ajay/sugar-build/source/sugar/autogen.sh --prefix /home/ajay/sugar-build/install --libdir '/home/ajay/sugar-build/install/lib'  --disable-static --disable-gtk-doc <br>
intltoolize: 'po/<a href="http://Makefile.in.in">Makefile.in.in</a>' exists: use '--force' to overwrite<br>.<br>.<br>.<br>.<br>building/compiling/installing<br>.<br>.<br>.<br>FINISHED !!!<br>####################################################################################<br>
<br><br><br>Thanks !!!!<br><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">(I should add something about this in the readme, being a very common use case). Another approach is to "make shell" and then make/make install inside build/sugar.<div class="HOEnZb">
<div class="h5"><span></span><br>
<br>On Thursday, 11 October 2012, Ajay Garg  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><br><div class="gmail_quote">On Thu, Oct 11, 2012 at 9:57 PM, Daniel Narvaez <span dir="ltr"><<a>dwnarvaez@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
There is not an exact equivalent right now. "make clean" will do something similar, but then "make build" will try to fetch new code.<div><br></div><div>Can you elaborate on the use case? Do you want to be able to build clean without a network or?</div>


</blockquote><div><br>Daniel, I am rebasing (or in fact, I have already finished rebasing) some very important dextrose patches on sugar-0.97.7.<br>                 <br>                    <br>Now, I want ::<br><br>a)<br>


To apply these patches via "git am" in "~/sugar-build/source/sugar" (over sugar-0.97.7).<br><br>b)<br>Have them build up, so that the code takes its effective place (in "~/sugar-build/install").<br>


<br>c)<br>What I don't want, is fetching new code remotely. I want this, so that the base remains the same as sugar-0.97.7.<br><br><br>So, basically everything, but not fetching any new code from remote locations.<br>


Even if you could tell me for now, a solution that "just works", that will be fine to me :)<br><br><br><br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">


<div><div><div><span></span><br>
<br>On Thursday, 11 October 2012, Ajay Garg  wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Ping :)<br><br>If there is no such capability (yet), even then please let know.<br>



At least I won't be kept waiting.<br><br><div class="gmail_quote">On Wed, Oct 10, 2012 at 7:25 PM, Ajay Garg <span dir="ltr"><<a>ajay@activitycentral.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Daniel.<br><br>What is the equivalent command for "./sugar-jhbuild build -n -a --clean", for sugar-build?<br>




More importantly, I just wish to build from the sources, WITHOUT cloning/checking-out any new code from remote repositories.<br>
<br><br>Will be grateful for a reply.<br><br clear="all"><br><br><font face="arial, sans-serif">Regards,<br><br>Ajay Garg</font><br style="font-size:13px;font-family:arial,sans-serif"><font face="arial, sans-serif">Dextrose Developer</font><br style="font-size:13px;font-family:arial,sans-serif">





<span style="font-size:13px;font-family:arial,sans-serif">Activity Central: </span><a href="http://activitycentral.com/" style="font-size:13px;font-family:arial,sans-serif" target="_blank">http://activitycentral.com</a><br>






</blockquote></div><br><br clear="all"><br><font face="arial, sans-serif">Regards,<br><br>Ajay Garg</font><br style="font-size:13px;font-family:arial,sans-serif"><font face="arial, sans-serif">Dextrose Developer</font><br style="font-size:13px;font-family:arial,sans-serif">




<span style="font-size:13px;font-family:arial,sans-serif">Activity Central: </span><a href="http://activitycentral.com/" style="font-size:13px;font-family:arial,sans-serif" target="_blank">http://activitycentral.com</a><br>





</blockquote></div></div></div><span><font color="#888888"><br><br>-- <br>Daniel Narvaez<br><br>
</font></span></blockquote></div><br><br clear="all"><br><font face="arial, sans-serif">Regards,<br><br>Ajay Garg</font><br style="font-size:13px;font-family:arial,sans-serif"><font face="arial, sans-serif">Dextrose Developer</font><br style="font-size:13px;font-family:arial,sans-serif">


<span style="font-size:13px;font-family:arial,sans-serif">Activity Central: </span><a href="http://activitycentral.com/" style="font-size:13px;font-family:arial,sans-serif" target="_blank">http://activitycentral.com</a><br>



</blockquote><br><br></div></div><span class="HOEnZb"><font color="#888888">-- <br>Daniel Narvaez<br><br>
</font></span></blockquote></div><br><br clear="all"><br><font face="arial, sans-serif">Regards,<br><br>Ajay Garg</font><br style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><font face="arial, sans-serif">Dextrose Developer</font><br style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Activity Central: </span><a href="http://activitycentral.com/" style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)" target="_blank">http://activitycentral.com</a><br>