[Sugar-devel] "make" command to just build :)
Ajay Garg
ajay at activitycentral.com
Fri Oct 12 02:09:31 EDT 2012
On Thu, Oct 11, 2012 at 11:08 PM, Daniel Narvaez <dwnarvaez at gmail.com>wrote:
> make build-modulename should work. So make build-sugar in your case.
It kind of works, but only on a pseudo-basis.
1)
"make build-sugar" does try to fetch remotely; however, it just hangs.
2)
So, I do "Ctrl + C".
3)
That brings us to the 6 options; I choose option 2 (Ignore error and
continue to configure).
4)
It then builds/compiles/installs (WITHOUT fetching anything remotely).
For brevity, here is the process-log ::
####################################################################################
[ajay at localhost sugar-build]$ make build-sugar
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
Script started, file is
/home/ajay/sugar-build/logs/build-20121012-113545.log
*** Checking out sugar *** [1/1]
git remote set-url origin git://git.sugarlabs.org/sugar/mainline.git
git remote update origin
Fetching origin
^C*** Error during phase checkout of sugar: ########## Error running git
remote update origin *** [1/1]
[1] Rerun phase checkout
[2] Ignore error and continue to configure
[3] Give up on module
[4] Start shell
[5] Reload configuration
[6] Go to phase "wipe directory and start over"
choice: 2
*** Configuring sugar *** [1/1]
/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
intltoolize: 'po/Makefile.in.in' exists: use '--force' to overwrite
.
.
.
.
building/compiling/installing
.
.
.
FINISHED !!!
####################################################################################
Thanks !!!!
> (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.
>
>
> On Thursday, 11 October 2012, Ajay Garg wrote:
>
>>
>>
>> On Thu, Oct 11, 2012 at 9:57 PM, Daniel Narvaez <dwnarvaez at gmail.com>wrote:
>>
>>> There is not an exact equivalent right now. "make clean" will do
>>> something similar, but then "make build" will try to fetch new code.
>>>
>>> Can you elaborate on the use case? Do you want to be able to build clean
>>> without a network or?
>>>
>>
>> Daniel, I am rebasing (or in fact, I have already finished rebasing) some
>> very important dextrose patches on sugar-0.97.7.
>>
>>
>> Now, I want ::
>>
>> a)
>> To apply these patches via "git am" in "~/sugar-build/source/sugar" (over
>> sugar-0.97.7).
>>
>> b)
>> Have them build up, so that the code takes its effective place (in
>> "~/sugar-build/install").
>>
>> c)
>> 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.
>>
>>
>> So, basically everything, but not fetching any new code from remote
>> locations.
>> Even if you could tell me for now, a solution that "just works", that
>> will be fine to me :)
>>
>>
>>
>>
>>>
>>> On Thursday, 11 October 2012, Ajay Garg wrote:
>>>
>>>> Ping :)
>>>>
>>>> If there is no such capability (yet), even then please let know.
>>>> At least I won't be kept waiting.
>>>>
>>>> On Wed, Oct 10, 2012 at 7:25 PM, Ajay Garg <ajay at activitycentral.com>wrote:
>>>>
>>>>> Hi Daniel.
>>>>>
>>>>> What is the equivalent command for "./sugar-jhbuild build -n -a
>>>>> --clean", for sugar-build?
>>>>> More importantly, I just wish to build from the sources, WITHOUT
>>>>> cloning/checking-out any new code from remote repositories.
>>>>>
>>>>>
>>>>> Will be grateful for a reply.
>>>>>
>>>>>
>>>>>
>>>>> Regards,
>>>>>
>>>>> Ajay Garg
>>>>> Dextrose Developer
>>>>> Activity Central: http://activitycentral.com
>>>>>
>>>>
>>>>
>>>>
>>>> Regards,
>>>>
>>>> Ajay Garg
>>>> Dextrose Developer
>>>> Activity Central: http://activitycentral.com
>>>>
>>>
>>>
>>> --
>>> Daniel Narvaez
>>>
>>>
>>
>>
>> Regards,
>>
>> Ajay Garg
>> Dextrose Developer
>> Activity Central: http://activitycentral.com
>>
>
>
> --
> Daniel Narvaez
>
>
Regards,
Ajay Garg
Dextrose Developer
Activity Central: http://activitycentral.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20121012/e28b08b6/attachment-0001.html>
More information about the Sugar-devel
mailing list