On Thursday 26 June 2014 13:04:04 Jon Elson did opine
And Gene did reply:
> I have a customer who needs to build a custom hal component.
> A week ago he built it OK, but now it seems that changing the
> component and rerunning comp is not updating the .ko
> file, judging by the mod time on the file.  I know in the past
> there was a file ~/emc2/scripts/emc-environment
> that was sometimes needed to set up the right environment
> variables for comp to work.  On a 10.04 install, there doesn't
> even seem to be any trace of that scripts directory anymore.

That path doesn't exist on either of my two real installs either.

Digging into pretty stale memory, much of a year old, ISTR I had to delete 
the .ko as root (sudo) before comp could recreate a new one.  So there is 
another data point on using comp that confirms your clients findings. I 
didn't check to see if it might have been a perms problem or what at the 
time, as the 2nd pass built a working module. This was on the lathes 
install, but all modules carry identical build date/times _now_ and 
root:root owner:group. Odd.  Doing the same ls -l on the mills box also 
shows this all at once build date/time, exactly the same 2014-06-18 22:54 
but without the lincurve.ko I had to build for the lathe.  I find that 
equally odd.

But the lack of an automatic remake if the source file has been updated 
does seem to be something that needs investigation.

Perhaps the rebuild command line needs to be prefaced with a sudo because 
root owns all that?

> On my system here, comp just works without any fiddling.
> 
> Any comments?
>
My 2 cents above Jon.

> Thanks,

PS:  I enjoyed your demolishing of trying to run this on an arduino. ;-)
 
> Jon
> 
> -----------------------------------------------------------------------
> ------- Open source business process management suite built on Java and
> Eclipse Turn processes into business applications with Bonita BPM
> Community Edition Quickly connect people, data, and systems into
> organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to