#emc | Logs for 2004-11-27

[06:56:03] <jmkasunich> test
[11:24:08] <alex_joni> g'morning
[11:48:13] <asdfqwega> The long stable uptime of linux is a terrible thing
[11:48:24] <asdfqwega> Why, you ask?
[11:49:18] <asdfqwega> Because when I have to open up a case to do something, and I finally get it working, I am immediately loathe to turn it off to tuck everything back in the case :P
[11:51:21] <asdfqwega> That, and I've been sorting through all my old junk to put stuff together in the form of working computers, and I'm tired of computer work
[11:51:25] <paul_c> Morning asdfqwega
[11:51:35] <asdfqwega> Morning Paul
[11:53:16] <asdfqwega> What's going on?
[11:53:21] <alex_joni> hello paul
[11:53:43] <alex_joni> hey asdfqwega
[11:53:54] <asdfqwega> * asdfqwega has just been up late, doing CAD work, python script coding, and enjoying a heather ale
[11:54:12] <alex_joni> it's nice to sleep late on a saturday morning...
[11:54:46] <asdfqwega> Working on this laser has turned me into a photophobe :P
[11:55:05] <alex_joni> lol
[12:13:37] <alex_joni> paul, got some time?
[12:15:09] <paul_c> sure
[12:15:19] <alex_joni> cool
[12:15:24] <alex_joni> about that diff...
[12:15:41] <alex_joni> I made it yesterday... the main difference is the ./configure file
[12:15:50] <alex_joni> between the autoconf tree and the trunk
[12:19:46] <paul_c> configure, I would have expected...
[12:19:59] <paul_c> What about the sources ?
[12:20:29] <alex_joni> * alex_joni forgot a make clean first, and there are still some autoconf temporary stuff in there, that's gotta go
[12:20:46] <alex_joni> let me do 2 clean checkouts
[12:27:32] <alex_joni> ok... done
[12:27:43] <alex_joni> the diff is 400kB (was 1.6MB)
[12:27:59] <alex_joni> modified files: CVS-stuff (normal)
[12:28:27] <alex_joni> Make.rules (another rule added by zwisk: TARGET_DIR: install -d first)
[12:28:52] <alex_joni> Makefile (a lot about make install)
[12:29:03] <alex_joni> Makefile.inc.in
[12:29:37] <alex_joni> configs/TkEmc added (missing in trunk)
[12:29:56] <alex_joni> configs/emc.conf.in added (not good)
[12:30:34] <alex_joni> configs/emc.ini modified (zwisk added $EMC2CONFIGDIR which gets replaced during make install, also not good for the trunk)
[12:30:53] <alex_joni> configs/hal.conf.in added (ditto)
[12:31:08] <alex_joni> configs/rtapi.conf.in added (ditto)
[12:31:22] <alex_joni> ./configure modified (normal)
[12:31:33] <alex_joni> configure.in added
[12:31:52] <alex_joni> debian/stuff
[12:31:59] <alex_joni> directory.map
[12:32:26] <alex_joni> docs/recomended_reading.txt (was removed from trunk)
[12:32:36] <alex_joni> install.map added
[12:32:54] <alex_joni> rpm/stuff added
[12:33:07] <alex_joni> scripts/emc.run modified
[12:33:27] <alex_joni> scripts/hal.demo modified
[12:33:38] <alex_joni> scripts/realtime modified
[12:33:56] <alex_joni> src/config.h.in added
[12:36:10] <alex_joni> src/emc/rs274ngc/rs274ngc_errors.cc modified (by paul_c ;)
[12:37:08] <alex_joni> src/hal/Makefile modified (replaced $(EMC2_HOME) with ../../ )
[12:37:37] <alex_joni> src/hal/hal.h modified (a comment was added)
[12:38:05] <alex_joni> src/hal/hal_lib.c modified
[12:38:37] <alex_joni> src/hal/hal_priv.h modified (could be from the fixes jmk did on trunk)
[12:39:44] <alex_joni> src/hal/utils/halcmd.c (added #include "../../config.h", also missing del_sig function I added to trunk)
[12:40:40] <alex_joni> src/libnml/Makefile modified (replaced the separate list for the subdirs with a for)
[12:41:26] <alex_joni> src/po/stuff was added to trunk
[12:41:58] <alex_joni> src/rtapi/Makefile modified
[12:43:09] <alex_joni> tcl/tkemc.tcl modified (I replaced tcl/bin with $TCLBINDIR where it was not replaced already)
[12:43:37] <alex_joni> that's about it... ;)
[12:48:30] <paul_c> got a diff here...
[12:50:09] <alex_joni> I tried to summarize what is modified in each file
[12:51:53] <paul_c> emc2/debian is a new sub-tree...
[12:51:58] <alex_joni> * alex_joni noticed some files in the autoconf_install tree are not needed
[12:52:28] <alex_joni> yeah I know... that's why I didn't say anything about debian/stuff...
[12:52:35] <alex_joni> that could get merged to the trunk
[12:52:41] <alex_joni> but a lot of stuff shouldn't
[12:54:19] <paul_c> Just stripping out text files & configure from the diff...
[12:54:28] <paul_c> 3,145 lines now.
[12:56:52] <alex_joni> * alex_joni has got to go eat lunch...
[12:56:57] <alex_joni> i'll be back later.. ok?
[12:57:20] <alex_joni> I'll leave it on.. read when I get back...
[13:05:00] <robin_sz> meep?
[13:05:18] <paul_c> Wot ??
[13:05:31] <robin_sz> * robin_sz waves from Geneva
[13:07:31] <paul_c> you're back over there then ?
[13:07:41] <robin_sz> I am indeed
[13:15:07] <paul_c> back in a bit - Coffee...
[13:38:03] <asdfqweg2> Well, futz
[13:38:18] <asdfqweg2> I just never can seem to win
[14:51:09] <jepler> paul_c, alex_joni: why is configure, a generated file, included in CVS?
[14:52:56] <paul_c> So that peope who don't have the right autotools versions can do a ./configure && make ?
[14:53:53] <jepler> most peoples' cvs trees seem not to include it .. it is frustrating sometimes, not having the right version, I'll agree.
[14:55:12] <paul_c> It is a bone of contention with many projects..
[14:56:22] <jepler> my fedora system has: autoconf (2.59) autoconf213, automake (1.8.5) automake14, automake15, automake16, automake17
[14:56:35] <jepler> that seems a bit extreme but oh well
[14:57:11] <paul_c> one of the boxes here has a real old autoconf...
[15:08:46] <paul_c> Is alex_joni back from lunch yet ?
[15:47:34] <alex_joni> * alex_joni just got back
[15:49:23] <paul_c> Looking over the diff of the core changes...
[15:49:38] <alex_joni> yes...
[15:49:51] <alex_joni> * alex_joni is a little bit confused ... about the diff stuff
[15:50:03] <alex_joni> the diff is only for reviewing purposes?
[15:50:04] <paul_c> the rs274ngc changes should have been made in the main trunk - These are for i18n support...
[15:50:30] <alex_joni> submitted to the wrong tree?
[15:50:34] <paul_c> The diff enables me to see what has changed & where..
[15:51:17] <paul_c> Two areas of the changes trouble me....
[15:51:17] <alex_joni> what should _I_ do?
[15:51:24] <alex_joni> maybe I can help...
[15:51:28] <alex_joni> what areas?
[15:52:25] <paul_c> emc.run - awk, grep, & friends should not be variables in my opinion.
[15:52:48] <paul_c> It looks ugly, and opens up a huge security hole.
[15:53:42] <alex_joni> hmmm...
[15:53:47] <paul_c> If grep & Co are missing from the system, then te run should fail, and it isn't our problem to fix a buggered install.
[15:53:59] <alex_joni> I see your point
[15:54:08] <alex_joni> but if those are missing ./configure fails
[15:54:20] <alex_joni> so make fails
[15:54:24] <alex_joni> so emc.run has no point...
[15:54:26] <robin_z> assuming you build and run on the same box
[15:54:27] <paul_c> A malcontent could alter the config to point to a screwball script...
[15:55:00] <alex_joni> ok... then you suggest removing the $GREP & co. from emc.run ?
[15:55:33] <paul_c> Replacing the variables with the proper names.
[15:55:46] <alex_joni> so no more $GREP but grep
[15:55:50] <alex_joni> ?
[15:55:52] <paul_c> yup
[15:55:59] <alex_joni> that can be done...
[15:56:08] <alex_joni> anyways... I'd suggest the following
[15:56:21] <alex_joni> why not merge only ./configure, configure.in and Makefile.inc.in
[15:56:42] <alex_joni> and work on the rest till it's ok (make install and what else needs to be done)
[15:58:19] <paul_c> * paul_c is looking at scripts/realtime....
[15:59:18] <paul_c> don't like $EMC_RTAPICONF - What is it, and where is it sourced from ??
[16:00:23] <alex_joni> paul: take a look at autoconf_install_0_1
[16:00:33] <alex_joni> it's way different there
[16:05:14] <CIA-9> 03alex_joni 07autoconf_install_0_1 * 10emc2/configs/ (emc.conf.in hal.conf.in rtapi.conf.in): removed some unused files. those are used only in the auto_configure_0_1 tree.
[16:12:27] <alex_joni> * alex_joni is back in 10 mins
[16:12:28] <paul_c> diff between emc2 trunk and auto_install...
[16:28:07] <alex_joni> * alex_joni is back...
[16:28:14] <alex_joni> seems I cought a virus :)
[16:28:27] <alex_joni> M$ rulez...
[16:36:05] <paul_c> I see the auto-install has an emc.run.in
[17:02:46] <alex_joni> yes
[17:03:02] <alex_joni> so that paths get put into emc.run during ./configure
[17:04:08] <alex_joni> sorry.. I had to leave shortly... but I'm here to stay now..
[17:08:25] <alex_joni> whoa...
[17:08:42] <alex_joni> I just realized I have 500 MB in the E-Mail folders :(
[17:20:17] <alex_joni> paul_c: still around?
[17:21:05] <paul_c> Shhhh... sleeping..
[17:21:52] <alex_joni> should I sing a lulaby?
[17:21:55] <robin_z> <bang> <crash>
[17:22:21] <robin_z> you can blow a wallaby for all I care ;)
[17:22:23] <alex_joni> keep it down robin ;)
[17:29:23] <alex_joni> how's your laser robin?
[17:29:44] <alex_joni> or was that <bang> <crash> coming from the laser?
[17:33:08] <robin_z> dunno ...
[17:33:17] <robin_z> im not near it at the moment
[17:33:26] <alex_joni> oh... I see,
[17:33:32] <robin_z> in geneve ;0
[17:33:39] <alex_joni> nice there...
[17:33:44] <robin_z> yip
[17:33:46] <alex_joni> what'cha doing there?
[17:34:01] <robin_z> my other job ...
[17:34:11] <robin_z> the stamp auction
[17:34:27] <alex_joni> I thought some hitmen convention...
[17:34:36] <robin_z> similar ...
[17:36:03] <robin_z> just finishing off the last few lots now ...
[17:36:23] <alex_joni> nice...
[17:36:34] <alex_joni> I'm wondering if paul is actually sleeping ,)
[17:38:01] <robin_z> could be ...
[17:38:27] <robin_z> im thinking of CNC'ing a pressbrake ...
[17:39:24] <alex_joni> pressbrake?
[17:39:26] <alex_joni> what's that?
[17:39:37] <robin_z> metal bending press ...
[17:39:59] <alex_joni> I think I've seen a few (CNC ones)
[18:37:42] <alex_joni> paul_c: still sleeping?
[18:49:10] <alex_joni> * alex_joni is going home... I'll be back online in an hour or so...
[19:18:39] <alex_joni> * alex_joni is back
[19:20:09] <alex_joni> Imperator_: around?
[19:20:21] <Imperator_> jep
[19:20:25] <Imperator_> Hi Alex
[19:20:32] <alex_joni> hello Martin...
[19:20:35] <alex_joni> how's it going?
[19:21:33] <Imperator_> slowly
[19:21:55] <alex_joni> :(
[19:21:56] <Imperator_> haven't writen some code up to now
[19:22:37] <Imperator_> i thought i have much more time this week
[19:23:21] <Imperator_> have you merged your work to emc ?
[19:24:14] <alex_joni> what work do you mean?
[19:24:26] <alex_joni> the stuff on autoconf?
[19:25:01] <Imperator_> jep
[19:25:26] <alex_joni> not yet...
[19:25:36] <alex_joni> still talking with paul_c on how it should get done
[19:26:11] <Imperator_> ok
[19:30:21] <alex_joni> but paul is away right now, I think
[19:53:34] <alex_joni> Martin, still around?
[19:55:51] <Imperator_> jep
[21:05:08] <paul_c> Evening
[21:05:30] <alex_joni> hey paul
[21:05:47] <paul_c> <gulp>
[21:06:17] <alex_joni> * alex_joni is eating... so no urge for work here
[21:10:05] <alex_joni> don't worry.. i'll bug you some other time *g*
[21:10:56] <paul_c> carry on...
[21:11:37] <alex_joni> well.. I talked to jmk last sunday
[21:11:57] <alex_joni> and he proposed that the ./configure should get merged
[21:12:05] <alex_joni> I said I want to ask you first...
[21:12:11] <alex_joni> still asking ;)
[21:12:40] <alex_joni> as fas as I have been reading (red-book and other coloured books)
[21:13:04] <alex_joni> either the whole branch can be merged (which I don't think is proper to do right now)
[21:13:29] <alex_joni> or only some files should get merged (I'd propose: configure.in, ./configure and Makefile.inc.in)
[21:13:56] <alex_joni> with those emc2-trunk would still be with all the current functionality
[21:16:52] <paul_c> Is the confugure.in as clean, simple, and well documented ?
[21:17:11] <alex_joni> i think so...
[21:23:53] <paul_c> Sounds like you are just about ready to merge some of the files then.
[21:30:30] <alex_joni> almost there
[21:38:50] <jepler> cradek: did you ever try full-step driving your mill? I think the firmware for that board was designed to change to that mode with a #define. Did it result in increased speed? You can afford to give up the resolution, I think.
[21:39:00] <paul_c> You Ray.
[21:39:10] <rayh> Hi Paul.
[21:39:14] <paul_c> Or even "Yo"
[21:39:41] <rayh> How's the disk project?
[21:40:00] <paul_c> Sent you an email on that the other night.
[21:40:25] <rayh> Someone cut the fiber while digging down by the wis border.
[21:40:38] <rayh> I believe I lost a bunch.
[21:41:02] <jepler> ugh
[21:41:15] <paul_c> resending
[21:41:43] <alex_joni> paul: cvs update -j auto_configure_0_1 configure.in ?
[21:41:52] <alex_joni> in the emc2 trunk dir ?
[21:43:57] <paul_c> Does it merge just the one file ?
[21:45:44] <alex_joni> that command was intended for one file
[21:46:04] <alex_joni> same command (if it's ok for the other 2 files: Makefile.inc.in and ./configure)
[21:46:57] <paul_c> Do you want to do the rs274ngc dir as well...
[21:47:06] <alex_joni> yes.. sure
[21:47:40] <alex_joni> so the command sounds right...
[21:49:31] <paul_c> give it a spin
[21:49:55] <alex_joni> poor CVS..
[21:50:07] <alex_joni> hard at work in merging both ./configure ;)
[21:50:37] <alex_joni> I'll do a autoconf on configure.in to make sure it's ok
[21:54:32] <alex_joni> hope I'm not doing anything wrong ...
[22:01:33] <CIA-3> 03alex_joni * 10emc2/ (4 files in 2 dirs):
[22:01:34] <CIA-3> Merged the autoconf created ./configure; ./configure gets created by
[22:01:34] <CIA-3> configure.in by running autoconf. autoconf must be run only once, the created
[22:01:34] <CIA-3> ./configure can now be run on different targets to test those systems. The final
[22:01:34] <CIA-3> user does not need to have autoconf or other autotools installed to use this.
[22:01:34] <CIA-3> This was developed on a branch (auto_configure_0_1), and moved now to the trunk.
[22:02:03] <rayh> paul_c: Nothing yet.
[22:02:47] <alex_joni> hello ray
[22:12:15] <rayh> Hi Alex.
[22:12:39] <rayh> Got a few inches of wet snow. The grandkid is making a yardfull of snowmen.
[22:13:58] <alex_joni> nice
[22:14:10] <alex_joni> hmmm.. something's weird...
[22:16:11] <alex_joni> not weird.. I take that back ;)
[22:19:07] <alex_joni> I thought emc2 is broken.. but it's not
[22:19:15] <alex_joni> realtime wouldn't start...
[22:19:43] <alex_joni> seems that a /etc/rtapi.conf was found (with stupid values in it...), left over from some tests I did a while ago
[22:19:56] <alex_joni> but emc2 seems to run nicely here
[22:20:18] <alex_joni> maybe somebody else could try it out too? it now contains the autoconf stuff
[22:20:56] <paul_c> there shouldn't be any "values" in rtapi.conf
[22:21:08] <alex_joni> there is $EMC2_HOME
[22:21:18] <alex_joni> and that was set to /usr/local
[22:21:41] <alex_joni> so it tried to run 'cd $EMC2_HOME/scripts' which obviously failed
[22:22:18] <alex_joni> but those were faulty tests on this machine.. so nothing normaly should be encountered
[22:24:04] <alex_joni> 20-40 kB/sec for a ssh-forward of TkEmc and TkEmc Backplot (working nicely on a wifi connection)
[22:30:30] <alex_joni> paul: do you know apt4rpm ?
[22:33:58] <paul_c> is it a pop group ?
[22:34:30] <alex_joni> lol
[22:34:48] <alex_joni> it's a tool to make apt accessible for rpm based distros
[22:35:17] <alex_joni> now that I'm reading the info it makes a apt-repository out of a rpm one
[22:38:00] <paul_c> so that tools like synaptic can be used.
[22:39:38] <alex_joni> it's basicly for rpm-based distros (SuSE, RedHat, etc...) to be able to have the flexibility of apt
[22:40:38] <alex_joni> I wonder if deb packages can be installed ... gotta read more about it
[22:40:55] <paul_c> Not unless you uae alien
[22:41:09] <paul_c> but the scope to break a system is vast...
[22:41:37] <alex_joni> I guess so...
[22:41:50] <alex_joni> having the root password... just qualifies for anything
[22:43:15] <alex_joni> "The graphical frontend, Synaptic, for apt is now available for SuSE 8.2 and up."
[22:44:12] <paul_c> And any other RPM based disro.
[22:44:33] <alex_joni> yeah.. this was taken for a SuSE specific APT4RPM site
[22:45:03] <alex_joni> ok... Chips is done
[22:45:09] <alex_joni> guess I'll crash ;)
[22:45:28] <alex_joni> do you think it's ok with the EMC2 trunk?
[22:45:59] <paul_c> We'll find out when the farm kicks in.
[22:46:10] <alex_joni> yeah
[22:46:50] <alex_joni> if... it's not hung
[22:49:40] <Imperator_> * Imperator_ has compiled the new EMC2 code and it works fine on that Redhat 7.2 based BDI
[22:50:01] <Imperator_> * Imperator_ thinks that Alex has made a good job
[22:50:14] <alex_joni> it's no new EMC2 code
[22:50:21] <alex_joni> only ./configure is new
[22:50:24] <Imperator_> build system
[22:50:36] <Imperator_> it runs fine
[22:50:49] <alex_joni> and it's not only me ... it was also paul's contribution
[22:51:04] <alex_joni> a lot of tests are from the old ./configure
[22:51:11] <alex_joni> glad to hear that
[22:51:24] <Imperator_> thats a good thing
[22:51:33] <Imperator_> thanks to Alex and Paul
[22:51:55] <Imperator_> did anything change on the makefiles in all that directorys ???
[22:52:17] <alex_joni> nope
[22:52:21] <Imperator_> ok
[22:52:33] <alex_joni> tried to keep the step as small as possible ;)
[22:53:31] <Imperator_> at the end all the makefiles are changing to makefile.in or something ?
[22:53:57] <alex_joni> nope
[22:54:07] <alex_joni> makefiles could be changed to makefile.ac
[22:54:23] <alex_joni> and using automake they could be converted to Makefile's ... but
[22:54:30] <Imperator_> ac=auto config ?
[22:54:32] <alex_joni> I don't think that would bring much good
[22:55:33] <alex_joni> sorry... makefile.am
[22:55:38] <alex_joni> am=auto make
[22:58:12] <alex_joni> that leeds then to a Makefile.in created by automake
[22:58:36] <alex_joni> the Makefile.in would be modified by ./configure to a final Makefile
[22:59:01] <alex_joni> but I don't think we should go there...
[23:06:34] <Imperator_> in which case do you/we need that ??
[23:09:39] <alex_joni> hmm.. it is usefull.. but I'd take that in consideration for a new project
[23:09:50] <alex_joni> not for a grown one...
[23:10:17] <alex_joni> it usually uses one single Makefile... not very easy to administer
[23:39:03] <alex_joni> Imperator_: still around?
[23:39:10] <Imperator_> jep
[23:40:23] <alex_joni> how's the mot stuff looking?
[23:40:46] <Imperator_> I think not that complicated
[23:42:33] <alex_joni> nice... I wanna take a look at it too sometime... but now I'm too tired ;)
[23:43:08] <Imperator_> :-)
[23:43:45] <Imperator_> maybe i will do some other improvements before implementing the gantry stuff
[23:43:46] <alex_joni> today is electrion day here
[23:43:49] <alex_joni> election
[23:43:55] <Imperator_> ah
[23:44:02] <alex_joni> like?
[23:44:30] <Imperator_> the stuff about configuring the motion parameters
[23:45:05] <Imperator_> there is a big command on top of command.c about that