#emc | Logs for 2004-10-20

[07:07:30] <CIA-9> 03paul_c 07auto_configure_0_1 * 10emc2/configure.in: A few changes to allow for development with autoconf-2.13
[07:40:48] <robin_sz> meep!
[07:47:52] <robin_sz> today I learnt someting very useful ...
[07:49:05] <robin_sz> say, you are busy, really busy, and the best you can manage fo rlunch is to grab a plate of beans on toast and try to eat the odd spoonful as you drive along ...
[07:49:25] <robin_sz> if you leave a half eaten plate of beans on your passenger seat, it will become a problem later on when its gone dark and you are fumbling for a can of coke ...
[07:49:41] <robin_sz> DAMHIKIJKOK ...
[07:54:50] <paul_c> What a Rodney...
[08:16:22] <robin_sz> today I was fun with bending having
[08:18:07] <robin_sz> I wish I could find a manual for the CNC control on that thing ...
[08:18:44] <robin_sz> oh, and the CNC on the punch was being a complete bar steward as well
[08:20:26] <robin_sz> a 'westinghouse producer' CNC ... ancient bag-o-shite ...
[16:25:48] <alex_joni> g-morning....
[20:14:26] <alex_joni> hello paul
[20:20:40] <paul_c> Hello Alex
[20:25:30] <alex_joni> how r u ?
[20:27:22] <paul_c> Very annoyed..
[20:27:53] <alex_joni> hmmm.. let me quess
[20:27:56] <alex_joni> by ebo ?
[20:27:58] <alex_joni> :)
[20:28:20] <alex_joni> read: /s/quess/guess/
[20:28:40] <alex_joni> I really don't see what his problem is...
[20:30:48] <alex_joni> * alex_joni is thinking about writing a response to the E-Mail
[20:37:41] <paul_c> IF you do - Please snip out irrelevant parts
[20:37:47] <paul_c> Keep it short.
[20:44:04] <alex_joni> well.. don't think I will...
[20:44:27] <alex_joni> I'm not really that long on the list to have stuff to say...
[20:45:06] <alex_joni> all I have to say is that I think it's bull.
[20:45:37] <paul_c> You've been on the list(s) for more than 20 days
[20:46:05] <paul_c> You've been on the list(s) for more than 20 days
[20:46:21] <paul_c> (coo... an echo)
[20:47:38] <alex_joni> yup...
[20:47:54] <alex_joni> I've been on the list for about half a year...but in lurking mode...
[20:48:43] <paul_c> And you have been active in the development of emc2
[20:49:57] <alex_joni> well... some small part
[20:50:26] <paul_c> Which is considerably more than most
[20:55:09] <alex_joni> anyways... I like to focus on more important things... usually
[21:04:05] <alex_joni> let's skip this part... and focus on nicer things
[21:04:22] <alex_joni> I've seen you modified for autoconf 2.13
[21:05:09] <paul_c> Just replaced the m4 macros that are unsupported
[21:05:16] <alex_joni> yup
[21:05:32] <paul_c> Fortunately, it is only a couple
[21:05:34] <alex_joni> * alex_joni just had a cvs up, and is preparing to test
[21:05:56] <alex_joni> I see the AC_INIT is different
[21:06:15] <paul_c> Got some thoughts on tcl/tk lib detectin
[21:06:28] <alex_joni> shoot...
[21:06:55] <paul_c> Need to revisit AC_INIT and check - It may well work as it was with 2.13
[21:07:32] <alex_joni> seen the adds I did for CC check? those were neccessary for rtai-24.
[21:08:27] <paul_c> No I didn't
[21:08:46] <alex_joni> seems that realtime-config doesn't have a --cc output
[21:08:48] <paul_c> Wil have a look once I've penned a reply.
[21:09:34] <alex_joni> ok... maybe then you could tell me your thoughts about tcl, tk
[21:11:49] <alex_joni> maybe take a look at : http://www.polarhome.com/cvs/CVSROOT/eggdrop/configure.ac (it's a autoconf file for tcl)
[21:11:53] <paul_c> Reply sent...
[21:14:27] <paul_c> For tcl/tk 8.0 and above, we only need to search out two files
[21:14:43] <paul_c> tclConfig.sh and tkConfig.sh
[21:15:30] <paul_c> Compile/linking flags and paths can all be extracted from the two shell files
[21:21:37] <alex_joni> I see..
[21:22:14] <alex_joni> I have them in /usr/lib/
[21:24:29] <paul_c> /usr/lib/tcl8.4 and /usr/lib/tk8.4
[21:25:27] <alex_joni> yup.. but the .sh files are directly in /usr/lib
[21:25:54] <paul_c> Not on this system..
[21:26:03] <alex_joni> well.. different distro's
[21:26:08] <paul_c> yup
[21:26:16] <alex_joni> me on SuSE ;)
[21:26:26] <paul_c> * paul_c is running Debian
[21:26:51] <alex_joni> well... everybody with his favorite ...
[21:27:10] <alex_joni> * alex_joni was thinking about LFS some time ago...
[21:27:19] <paul_c> masochist
[21:27:34] <alex_joni> never got myself to do it though...
[21:27:35] <alex_joni> :P
[21:27:39] <paul_c> * paul_c did a basic LFS build once...
[21:27:45] <alex_joni> how was it?
[21:27:58] <alex_joni> soemthing to do once... and never again?
[21:28:01] <paul_c> 'bout a weeks worth of work
[21:28:43] <paul_c> but never moved on to compiling the BLFS stuff
[21:30:51] <alex_joni> I see...
[21:31:47] <paul_c> An interesting exercise none the less... And one way to learn about linux
[21:32:47] <alex_joni> there is a tclsh in /usr/bin here :-?
[21:33:27] <CIA-9> 03paul_c * 10emc2/docs/recommended_reading.txt: No comment
[21:33:55] <alex_joni> wondering if that one could be used...
[21:34:31] <paul_c> tclsh launches an interactive shell
[21:34:40] <alex_joni> yes...
[21:34:48] <alex_joni> but it can also run from a file...
[21:35:04] <alex_joni> but I don't find any tclvars or version or something like that
[21:35:08] <alex_joni> so it's not usefull
[21:35:09] <alex_joni> :(
[21:36:10] <paul_c> [tcl|tk]Config.sh
[21:36:24] <alex_joni> * alex_joni is adding a search for tclConfig.sh and tkConfig.sh in /usr/lib and subdirs
[21:36:45] <paul_c> Only need to go down one level
[21:37:05] <paul_c> and may be worth checking /usr/local/lib
[21:37:15] <alex_joni> ok
[21:37:20] <alex_joni> I'll add those too
[21:37:50] <paul_c> * paul_c needs to take a break - Finding it painfull to type at the mo.
[21:38:37] <alex_joni> relax... not worth getting mad...
[21:59:39] <alex_joni> well...
[21:59:43] <paul_c> There is Stepster - That is free source...
[21:59:58] <alex_joni> never heard of it ...
[22:00:00] <paul_c> if you want M$ VB
[22:00:12] <alex_joni> I looked for some CNC-control software...
[22:00:22] <alex_joni> and found some M$ stuff...
[22:00:35] <alex_joni> but I don't trust M$ software for realtime control..
[22:00:44] <alex_joni> linux-realtime is not really realtime...
[22:00:54] <alex_joni> but a LOT closer to the real thing
[22:01:15] <alex_joni> so M$ is out of the question...
[22:01:20] <paul_c> http://www.thegallos.com/stepster.htm
[22:03:17] <paul_c> http://www.cobbin.com/sierra.htm
[22:04:33] <alex_joni> interesting...
[22:04:41] <alex_joni> but now I've made up my mind...
[22:04:53] <alex_joni> I spent the last minds playing around with emc
[22:04:57] <paul_c> but if you want to use analogue servos, then EMC is about the only free (as in beer) choice.
[22:05:09] <alex_joni> and basically I can say I am very pleased with it
[22:05:24] <alex_joni> it surely lacks in a lot of fields...
[22:05:34] <alex_joni> but I am confident it will get better
[22:06:19] <alex_joni> I liked the ease to develop new drivers, and to run the whole thing (once set up..)
[22:06:53] <paul_c> There is a lot of work being done with it around the world - Much of which, we never hear about.
[22:07:00] <alex_joni> yes...
[22:07:28] <alex_joni> I think a wiki page could allow users to post their experiences
[22:07:45] <paul_c> There is a German wiki
[22:08:52] <paul_c> but if you wanted to set up an english one, I will offer as much support as I can...
[22:08:58] <alex_joni> I think the whole graphics, webpages, interfaces, etc. needs some work done....
[22:09:11] <paul_c> (not that I know anything about setting up wiki)
[22:09:51] <paul_c> Is alex_joni a web designer/guru ?
[22:09:51] <alex_joni> (me neither) but things are usually pretty well documented on the web...
[22:09:57] <alex_joni> not really guru
[22:10:06] <alex_joni> but I have some webdesign background
[22:10:49] <alex_joni> * alex_joni is having some small problems with source "$TCLCONFIG"
[22:11:03] <paul_c> If you want to make a proposal, send it to emc-board@lists.sourceforge.net
[22:11:11] <alex_joni> well.. gotta have the time for that...
[22:11:19] <alex_joni> not right now :(
[22:11:42] <alex_joni> but if I get the chance I'll make a framework and put it on the web.. and we can go from there
[22:12:02] <paul_c> As Pooh Bear said (as Tigger stepped on a land mine) "oh bummer"
[22:12:11] <alex_joni> bummer ;)
[22:12:28] <alex_joni> I'll try to squize it in ... ;)
[22:12:59] <paul_c> want to commit your changes ?
[22:13:58] <alex_joni> sure
[22:14:08] <alex_joni> * alex_joni is digging 5more minutes
[22:20:22] <paul_c> * paul_c will wait for CIA-9 to make an announcement.
[22:23:04] <alex_joni> any time soon... testing now
[22:24:18] <alex_joni> my geode is pretty slow ;)
[22:24:27] <alex_joni> 300 MHz... but struggling
[22:25:40] <paul_c> * paul_c boots up an old P166
[22:27:27] <alex_joni> * alex_joni is proud of his internet gateway running on P75 with fpbug ;)
[22:28:20] <paul_c> * paul_c eyes up a 386SX 33MHz....
[22:28:56] <paul_c> nah.... It is doing a useful job as a door stop.
[22:28:59] <alex_joni> I just got through some old hardware... got an 287 .... maybe you need it?
[22:29:01] <alex_joni> :D
[22:29:22] <paul_c> * paul_c can dig out a Sinclar ZX81
[22:29:30] <alex_joni> ;)
[22:29:50] <CIA-9> 03alex_joni 07auto_configure_0_1 * 10emc2/configure.in: changed tcl and tk search
[22:32:17] <paul_c> yup - That looks as if it will work
[22:33:21] <alex_joni> changed Makefile.inc.in too
[22:33:24] <CIA-9> 03alex_joni 07auto_configure_0_1 * 10emc2/Makefile.inc.in: changed tcl and tk search
[22:33:59] <alex_joni> could need some twiddling though... we'll see who complains ;)
[22:39:29] <paul_c> Urrgggn
[22:39:43] <alex_joni> what?
[22:39:49] <paul_c> Just noticed some changes in my copy that hadn't been committed.
[22:39:58] <alex_joni> huh... do that ;)
[22:40:56] <alex_joni> * alex_joni is angry... I just looked out the window... such a great weather.. and I'm stuck in here :(
[22:42:14] <CIA-9> 03paul_c 07auto_configure_0_1 * 10emc2/configure.in: Expand the search depth for tcl/tk Config.sh
[22:42:17] <alex_joni> when you commit... commit the latest ./configure too
[22:42:28] <paul_c> Dull, overcast and raining here.
[22:42:31] <alex_joni> don't really like the farm failing on -autoconf branch
[22:43:46] <CIA-9> 03paul_c 07auto_configure_0_1 * 10emc2/configure: Update the configure from configure.in
[22:53:12] <alex_joni> my make still fails on two things...
[22:53:23] <alex_joni> 1. rtai/include is not included
[22:54:14] <alex_joni> 2. I split TCL and TK... but in the makefiles only TCL_xxx get included...
[23:00:20] <alex_joni> fixed it
[23:00:22] <paul_c> Fix coming up
[23:00:31] <alex_joni> 2. at least...
[23:00:34] <CIA-9> 03paul_c 07auto_configure_0_1 * 10emc2/ (Makefile.inc.in configure.in configure): Fix for failing tk includes
[23:00:51] <alex_joni> :) .. you were faster on the commit...
[23:01:02] <alex_joni> I only changed Makefile.inc.in ...
[23:01:06] <paul_c> You running RTAI-3.x ?
[23:01:18] <alex_joni> TCL_CFLAGS = $(TK_CFLAGS) @etc...@
[23:01:19] <alex_joni> nope...
[23:01:24] <alex_joni> RTAI-24.1.12
[23:01:51] <alex_joni> ULFLAGS = -Wall -g -I$(INC_DIR) -I/root/include -I. -DULAPI -O2
[23:02:09] <alex_joni> I think /root/ is probably wrong ;)
[23:02:48] <paul_c> Looks like the user cflags are not being set correctly..
[23:02:52] <alex_joni> I know what's the problem
[23:03:03] <alex_joni> it's -I@RTDIR@
[23:03:12] <alex_joni> becauseit finds more than 1 RTS
[23:03:21] <alex_joni> RTDIR is wrong...
[23:03:32] <alex_joni> it used to stop... so I had to specify which one...
[23:03:52] <alex_joni> but since autoconf 2.13 it's accepted... but it doesn't work
[23:03:53] <paul_c> @RTPREFIX@ ?
[23:04:08] <alex_joni> RTPREFIX = rtai
[23:04:15] <alex_joni> @RTDIR@=/root
[23:04:36] <alex_joni> I'll fix it...
[23:05:43] <paul_c> * paul_c isn't too happy about the way realtime-config works, or how conigure uses it...
[23:08:15] <alex_joni> hmmm... it should have worked
[23:08:20] <alex_joni> the code is there....
[23:11:48] <alex_joni> if (test -d $TEMP) ; then
[23:11:48] <alex_joni> RTDIR=$(cd $RTDIR ; pwd -P )
[23:11:55] <alex_joni> shouldn't this be:
[23:12:12] <alex_joni> RTDIR=$(cd $TEMP ; pwd -P ) ????
[23:14:10] <paul_c> TEMP is set on the line above
[23:15:01] <alex_joni> yup... but never used
[23:15:50] <paul_c> * paul_c would suggest using the RTDIR=${RTS%%/bin/realtime-config} line
[23:16:00] <alex_joni> yes... but
[23:16:08] <alex_joni> here realtime-config is in /usr/bin
[23:16:16] <alex_joni> so RTDIR=/
[23:16:54] <paul_c> where is your .buildvars ?
[23:17:35] <alex_joni> it's in /usr/src/rtai-24.1.12/.buildvars
[23:18:06] <paul_c> do you have a /usr/realtime ?
[23:18:17] <alex_joni> yes... but it only has include
[23:18:48] <alex_joni> now make works...
[23:19:14] <alex_joni> TEMP=`$RTS --prefix`
[23:19:15] <alex_joni> if (test -d $TEMP) ; then
[23:19:15] <alex_joni> RTDIR=$(cd $TEMP ; pwd -P )
[23:19:15] <alex_joni> else
[23:19:15] <alex_joni> RTDIR=${RTS%%/bin/realtime-config}
[23:19:15] <alex_joni> fi
[23:19:25] <alex_joni> I'll commit it like this...
[23:20:10] <paul_c> Arrggg.. that was a silly error
[23:20:30] <paul_c> test on $TEMP, and then use RTBIR
[23:20:41] <alex_joni> exactly ;)
[23:21:00] <alex_joni> can happen ;) I get that all the time.. so I'm used to double check everything :P
[23:21:01] <paul_c> RTDIR would be null, so cd changes to the usr home
[23:21:18] <paul_c> which brings up the question...
[23:21:29] <paul_c> Why are you running as root ??
[23:21:31] <alex_joni> :P
[23:21:36] <alex_joni> no other users here...
[23:21:44] <alex_joni> * alex_joni is lazy...
[23:22:16] <paul_c> * paul_c points out the dangers
[23:22:24] <alex_joni> it's an embedded PC.. that does nothing else than emc...
[23:22:30] <alex_joni> so...
[23:22:41] <paul_c> never trust the seat<=>keyboard interface
[23:22:53] <alex_joni> excuse me?
[23:22:59] <alex_joni> didn't get that one...
[23:23:25] <paul_c> what sits between the seat and the keyboard ?
[23:23:39] <alex_joni> hmmm... there is no keyboad ;)
[23:23:43] <alex_joni> keyboard...
[23:24:16] <paul_c> lemme guess... You are running an ssh session on the target
[23:24:39] <alex_joni> exactly ;)
[23:25:02] <paul_c> * paul_c retracts the "never trust the seat<=>keyboard interface" comment.
[23:25:27] <alex_joni> * alex_joni is fearing a user<=>ssh<=>target comment ;)
[23:25:35] <alex_joni> sorry...
[23:25:41] <alex_joni> seat<=>ssh
[23:25:43] <alex_joni> ;)
[23:26:40] <paul_c> * paul_c suggests alex_joni reads the BOFH files
[23:27:49] <paul_c> http://www.theregister.co.uk/odds/bofh/
[23:27:54] <alex_joni> * alex_joni has read them a long time ago
[23:29:19] <CIA-9> 03alex_joni 07auto_configure_0_1 * 10emc2/ (configure.in configure): fixed a bug for RTAI-24.1.x
[23:41:54] <alex_joni> * alex_joni still finds them funny and sad (but true ;)
[23:46:46] <paul_c> * paul_c goes in search of a cattle prod
[23:47:42] <alex_joni> * alex_joni wasn't aware of the 2004 BOFH
[23:48:01] <alex_joni> * alex_joni is reading & laughing his ass off....