On 07/08/2011 11:42 AM, Dewey Garrett wrote:
>> I just pushed some commits that make the 2.5 debs build again for me.
>> Two commits concern ngcgui, and the last concerns pncconf.  ngcgui now
>> starts and runs for me in both RIP and packaged mode, but it cannot find
>> its ngcgui_lib dir.  Dewey, could you take a look at that?
> ok -- just now, i tried the following (RIP installed at /home/git/emc))
...
> If there is a problem finding ngcgui_lib with packaged version, I
> will probably need more information on the aberrant behavior.

You're right, RIP does work.  I'm not sure why I was confused about that.

When I install the new package (Version: 1:2.5.0~pre1-370-gb479e2f), it 
cannot find the nc_files/ngcgui_lib directory.  I think emc runs from 
the ~/emc2/configs/sim directory, and looks in 
../../nc_files/ngcgui_lib, but the packaged nc_files are available in 
../../nc_files/examples, and thus its ngcgui_lib subdirectory cannot be 
found.

It's awkward that the path to the nc_files is different depending on if 
you're running RIP or installed (packaged).  This is currently handled 
for the [DISPLAY]PROGRAM_PREFIX variable by re-writing the ini file as 
it gets installed in the user's home directory.  The emc script calls 
pickconfig (tcl/bin/pickconfig.tcl), which does this rewriting.  Perhaps 
something similar could be done for the ngcgui_lib directory?

I guess I'd prefer to have a colon-delimited list of directories (like 
[RS274NGC]SUBROUTINE_PATH) to search for ngcgui files, and have all the 
NGCGUI_SUBFILE and NGCGUI_PREAMBLE variables just specify filenames.  
But this is a DoOcracy and you're doing the work  ;-)


-- 
Sebastian Kuzminsky


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to