<div dir="ltr">Dear Joel,<div><br></div><div>At this time, my final goal is for building & testing Nano-X.</div><div>I will try to do this according to below comment.</div><div><br></div><div>Best Regards,</div><div>Thomas</div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-10-07 22:14 GMT+09:00 Joel Sherrill <span dir="ltr"><<a href="mailto:joel.sherrill@oarcorp.com" target="_blank">joel.sherrill@oarcorp.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
On October 7, 2014 4:14:58 AM CDT, Thomas Kim <<a href="mailto:thomas73.kim@gmail.com">thomas73.kim@gmail.com</a>> wrote:<br>
>Dear All,<br>
><br>
><br>
>Thank you very much.<br>
><br>
>I will try to do it according to below procedure.<br>
<br>
I do not know how much of the graphics toolkit you actually need. One of our long term goals is to build various third party libraries with the RTEMS Source Builder. There is initial support for NTP but the other libraries from the graphics toolkit and add-on packages need to be merged.<br>
<br>
Just wanting to reiterate the long term vision.<br>
<br>
><br>
>Best Regards,<br>
><br>
>Thomas Kim<br>
><br>
><br>
>2014-10-07 9:54 GMT+09:00 Gedare Bloom <<a href="mailto:gedare@rtems.org">gedare@rtems.org</a>>:<br>
><br>
>On Mon, Oct 6, 2014 at 8:51 PM, Gedare Bloom <<a href="mailto:gedare@rtems.org">gedare@rtems.org</a>> wrote:<br>
>> On Mon, Oct 6, 2014 at 7:48 PM, Pavel Pisa <<a href="mailto:ppisa4lists@pikron.com">ppisa4lists@pikron.com</a>><br>
>wrote:<br>
>>> Hello Thomas,<br>
>>><br>
>>> On Monday 06 of October 2014 09:52:18 Thomas Kim wrote:<br>
>>>> Dear Sir,<br>
>>>><br>
>>>> I am tring to build jpeg-8d library using do_it script RTEMS<br>
>Graphics<br>
>>>> Toolkit.<br>
>>>><br>
>>>> When I execute "./do_it -j", there is below error message.<br>
>>>><br>
>>>> ./do_it: 16: ./do_it: source: not found<br>
>>>> VERSION FILE NOT CORRECT<br>
>>><br>
>>> which version of RTEMS Graphics Toolkit are you using.<br>
>>> I am reproducing with<br>
>>><br>
>>> git clone git://<a href="http://git.rtems.org/rtems-graphics-toolkit.git" target="_blank">git.rtems.org/rtems-graphics-toolkit.git</a><br>
>>> cd rtems-graphics-toolkit<br>
>>> git submodule update --init<br>
>>><br>
>>> and I can confirm the problem with<br>
>>><br>
>>> RTEMS_MAKEFILE_PATH=/opt/rtems4.11/arm-rtems4.11/lpc17xx_ea_ram/<br>
>./do_it -j<br>
>>><br>
>>> Reason is that ./do_it scrip is BASH specific and when /bin/sh<br>
>>> points to DASH (Debian default) then there is a problem.<br>
>>><br>
>>> I suggest next workaround for now<br>
>>><br>
>>> diff --git a/do_it b/do_it<br>
>>> index 6fe0f86..46aa50f 100755<br>
>>> --- a/do_it<br>
>>> +++ b/do_it<br>
>>> @@ -1,4 +1,4 @@<br>
>>> -#! /bin/sh<br>
>>> +#! /bin/bash<br>
>>> #<br>
>>> # Script to help build RTEMS Graphics Toolkit<br>
>>> #<br>
>>><br>
>>><br>
>>> The particular problem with reading VERSIONS file should be<br>
>corrected<br>
>>> for DASH by<br>
>>><br>
>>> -------------------------------------------<br>
>>><br>
>>> diff --git a/do_it b/do_it<br>
>>> index 6fe0f86..46aa50f 100755<br>
>>> @@ -13,7 +13,7 @@ if [ ! -r ${vfile} ] ; then<br>
>>> exit 1<br>
>>> fi<br>
>>><br>
>>> -source ${vfile}<br>
>>> +. ./${vfile}<br>
>>><br>
>>> if [ X${LIBJPEG} = X ] ; then<br>
>>> echo VERSION FILE NOT CORRECT<br>
>>> @@ -208,7 +208,7 @@ echo "Generating RTEMS_SETTINGS file..."<br>
>>> make -f Makefile.settings clean all<br>
>>> check_status $? Could not generate RTEMS_SETTINGS<br>
>>><br>
>>> -source ./RTEMS_SETTINGS<br>
>>> +. ./RTEMS_SETTINGS<br>
>>><br>
>>> PREFIX=${BSPTOP}<br>
>>><br>
>>> -------------------------------------------<br>
>>><br>
>>> Which is correct for BASH as well.<br>
>>> Gedare, please, commit it.<br>
>>><br>
>> i made all three changes. Maybe it should just be sh and not bash?<br>
>> Probably it does not make a big difference. I hope someday someone<br>
>can<br>
>> replace this repository with a set of configs for RSB, but that takes<br>
>> some extra effort for building RTEMS libraries there.<br>
>><br>
>I made a typo anyway, so I reverted it back to /bin/sh. IF there are<br>
>more problems we can address them. I don't know that this script is<br>
>really "sh"-safe for all distros.<br>
>-Gedare<br>
><br>
>>> But even with this correction and /bin/sh = DASH there can be<br>
>another<br>
>>> problem. But at least ./do_it -j then works for me.<br>
>>><br>
>>> ./do_it -A<br>
>>><br>
>>> Has problem that there is missing greation of build directory for<br>
>Nano-X<br>
>>> and even when created manually,<br>
>>><br>
>>> mkdir -p build/microwin/src<br>
>>><br>
>>> there is some problem with Microwindows GIT version checkout.<br>
>>> We have workaround for that somewhere (Jan Dolezal?) but it should<br>
>>> be corrected in Alexandru-Sever's GIT. I have asked for access<br>
>>> to that but I am not sure if I have granted access already.<br>
>>> The git://<a href="http://github.com/alex-sever-h/microwin.git" target="_blank">github.com/alex-sever-h/microwin.git</a> git should be moved<br>
>>> to <a href="http://rtems.org" target="_blank">rtems.org</a> or RTEMS GitHub or integrated as branch to Microwindows<br>
>>> mainline as long term solution.<br>
>>><br>
>> Yes, we should fix that is a reverse dependency. I'd prefer to see it<br>
>> upstream to Microwindows. RTEMS Project should not be carrying around<br>
>> ports of 3rd party software unless absolutely necessary.<br>
>><br>
>> -Gedare<br>
>><br>
>>> Best wishes,<br>
>>><br>
>>> Pavel<br>
>>><br>
>>><br>
<br>
</blockquote></div><br></div>