I need to tar up a run in place and move to another computer.
When I do that I loose the setuid root stuff.
What do I have to do to get it back.
I don't have make on that box.
I got it. Just have to learn to read make files.
you can use tar -p to preserve permissions
might need to be root to do that
Ah I didn't know that possibility.
I'm having trouble running the latency test on a run in place system.
I moved timedelta to where the script was expecting to find it but it complains about pyvcp.
i have PYTHONPATH=/usr/local/emc2/lib/python
without that it doesnt know where to find pyvcp_widgets.py
should be part of emc-environment though
what's the error?
pyvcp exited without becoming ready.
There is a hint before that something about the xml file.
The whole message is;
Usage: pyvcp -c hal_component_name myfile.xml
HAL:6: ERROR: pyvcp exited without becoming ready
rayh: you should always ". scripts/emc-environment" before running anything else in an RIP system.
is that . (space) scripts...
dot space scripts slash emc dash environment
I matched the directory structure between source and target machines but that didn't do it.
hmm, mounting the switches and cams was easy compared to the wiring
cradek: limit switches for max5?
rayh: I am confused by what you said about having to move the timedelta module to a different location -- it should get put in the same location as all the other hal components by 'make'
Yea. I think the environment was looking for it someplace other than the rip.
latency test does seem to work now. Thanks a bunch.
ok always remember to use ". scripts/emc-environment" before running from RIP (in fact I modified the configure procedure in TRUNK to remind people, because often it is overlooked)
Ah I see it there in the notes after configure. Thanks again Jeff.
the shallow angle on the cam will hurt repeatability a bit tho
yeah, it's a compromise. the switches are not really meant for that
I got all limits/homes with those two switches, it's a nice design I think
does the machine have any hard stops?
five axes with two switches? what am I missing?
sorry, only XY
the others I'll do later, or not at all
oh, duh, limits and homes
I'm not gonna bother with limits
yeah I wouldn't have, except I saw a simple way to get them all without too much extra work
on quill and table I have hard stops. so I can place the switches right next to them
the table can press the switch, but the hard stop prevents it from smashing the switch if it goes to far
that means I can come straight at the switch, no cam
yeah that's nice, the one switch on my lathe is that way
I created a hard stop for that
bc is required for latency test? (but not emc)
fenn: hm is bc not part of the base system? I can change it to something else that is already required (like python) if bc isn't..
so I'd say just add bc to the depends so it's sure to get installed .. it won't represent an additional package to install for very many people
EMC: 03jepler 07TRUNK * 10emc2/src/hal/components/ (Submakefile mkconv.sh): mkconv.sh has bashisms in it (apparently) so invoke with bash instead of sh
question: if "make install" leaves a mess and there is no "make uninstall", why don't we remove "make install"?
tell people to either use packages or use RIP
make install is a necessary part of creating packages
(part of the process is that you install into a false root directory)
and I don't think it leaves a mess - it probably works fine
ISTR that people wanting to un-install aren't the only ones who've had problems
even those who just do make install and expect it to work are sometimes dissapointed
(and I sure don't know how to help them)
people often crap up their nice package-managed system with various source packages' make install
it's not just an emc problem
we have run-in-place which is much more than most programs have
I've probably crapped up my system that way
I agree its not just our problem
yeah and it's always hard to recover from
it may be a little more severe for us tho, because we attract former doze users who are only running linux because of emc
no, those people don't build emc
you'd think that
this fellow is a die-hard believer in an OS distro without a packaging system .. I don't think he's a new refugee from the windows world
true in this case
so cradek, did you get your switches wired up?
at work today?
I found a proper wire/plug though
well, I'm now the spindle baron - I bought the rest of the surplus HSK spindles
I have visions of making spindle assemblies that take Tormach tooling, and then selling them at the CNC workshop or to similar people online/ebay
maybe - time will tell
at $120 total for 14 spindles, I'm not exactly in over my head
I've wasted that much money at least once or twice before
haha, yeah at least.
I suppose I should turn down the sarcasm
I think he's kvetching
when I answer a question (correctly), he says that's not the answer he wanted. I guess that means the question was wrong...?
so I'll back off and see if he asks for something more specific
I don't know what he's even trying to do
* alex_joni is happy .. no more holding the cell in my hand