#emc | Logs for 2009-06-14

Back
[00:01:53] <Roguish> Jepler or others: little help with a compile error: http://pastebin.com/d4761fd54
[00:02:12] <Roguish> doing a cvs update and make. errors......
[00:02:57] <jepler> #
[00:02:57] <jepler> /usr/bin/ld: crt1.o: No such file: No such file or directory
[00:03:16] <jepler> is this a new system? it looks like you've forgotten to install something essential to compiling software.
[00:03:36] <Roguish> no. older ssystem that i've updated many times.
[00:05:25] <jepler> echo 'main(){}' > test.c; gcc test.c
[00:05:37] <jepler> ^^ does that work?
[00:06:14] <Roguish> no
[00:06:34] <jepler> dpkg -l libc6-dev
[00:06:41] <jepler> is 'ii' printed at the start of the line?
[00:07:19] <Roguish> no
[00:07:22] <jepler> what is?
[00:07:30] <jepler> 'rc'?
[00:07:43] <jepler> ii libc6-dev 2.7-10ubuntu4 GNU C Library: Development Libraries and Hea
[00:07:46] <jepler> ^^ that's what I get on my system
[00:08:23] <Roguish> where should i do that command? in the emc2-trunk directory?
[00:08:43] <jepler> in any terminal
[00:08:53] <Roguish> pn libc6-dev <none> (no description available)
[00:09:14] <jepler> 'p' means 'purged'
[00:09:25] <jepler> some action you took on the sysetm caused the package to be removed
[00:09:37] <Roguish> should i do the 'apt-get build-dep.....' ?
[00:10:02] <Roguish> don't know exactly what might have happened.
[00:10:05] <jepler> that should install the necessary packages, but it would be nice to understand what you did to make them be purged
[00:10:20] <Roguish> haven't a clue.
[00:11:05] <Roguish> i did make a script to do the cvs update. could have goofed that up...
[00:11:10] <jepler> /var/log/dpkg.log lists actions like adding, removing, and updating packages
[00:11:23] <jepler> you could find lines concerning 'libc6-dev' and at least know *when* it happened
[00:11:34] <jepler> what other packages were affected at the same time
[00:11:44] <jepler> it might let you relate it back to something you remember doing
[00:12:23] <jepler> only with a 'sudo' type program could you have removed packages, so just a 'cvs up' couldn't do it
[00:13:09] <jepler> (sudo dpkg, sudo apt-get, or entering your password while inside synaptic)
[00:14:06] <Roguish> just looked at that file that was created today and did not find a reference to the libc6-dev package.
[00:14:50] <jepler> there's .1, then .2.gz through (on my system) .12.gz
[00:14:59] <jepler> for even older logs
[00:15:44] <Roguish> in the .1 : 2009-05-02 12:41:59 status installed libc6-dev 2.3.6-0ubuntu20.5
[00:16:32] <Roguish> jepler, it's cool. i'll to the build depends thing.
[00:19:11] <jepler> bbl
[00:20:20] <Roguish> jepler: thanks for the help.... did the build-dep and all is good again.
[01:01:43] <KimK> KimK is now known as KimK_afk
[01:31:26] <Jymmm> ds3: Free HBO/Cinemax - at least today
[01:32:28] <geo01005_home> So I would like to run HAL with pyvcp for a non-EMC task. Is there any documentation on the loadusr options?
[01:32:58] <geo01005_home> like "Loadusr -W" should wait for that component to load right?\
[01:33:03] <SWPadnos> man halcmd
[01:36:49] <Roguish> hey. is 'HOME_FINAL_VEL' working?
[01:40:51] <mdynac> well the ubuntu 8.04 emc3-install.sh script does not seem to work.....error to follow
[01:41:12] <mdynac> Hit http://us.archive.ubuntu.com hardy-updates/multiverse Packages
[01:41:12] <mdynac> Hit http://us.archive.ubuntu.com hardy-updates/universe Packages
[01:41:12] <mdynac> Hit http://us.archive.ubuntu.com hardy-backports/main Packages
[01:41:12] <mdynac> Hit http://us.archive.ubuntu.com hardy-backports/restricted Packages
[01:41:12] <mdynac> Hit http://us.archive.ubuntu.com hardy-backports/universe Packages
[01:41:13] <mdynac> Hit http://us.archive.ubuntu.com hardy-backports/multiverse Packages
[01:41:15] <mdynac> W: Failed to fetch http://www.linuxcnc.org/hardy/dists/hardy/Release Unable to find expected entry emc2/binary-i386/Packages in Meta-index file (malformed Release file?)
[01:41:18] <mdynac> E: Some index files failed to download, they have been ignored, or old ones used instead.
[01:41:20] <mdynac> emcuser@emcuser:~$
[01:43:46] <SWPadnos> was this from a stock 8.04 install?
[01:44:15] <mdynac> yes
[01:44:21] <mdynac> stock install
[01:45:22] <SWPadnos> can you pastebin your /etc/apt/sources.list file?
[01:46:08] <mdynac> i could not get the live 8.04 emc2 cd to work on my ibm piii machine here, so i installed the ubuntu 8.04 with the hopes of running the install script....
[01:46:19] <mdynac> sure hang on
[01:46:21] <SWPadnos> that'ok
[01:46:33] <SWPadnos> the script looks correct (I'm looking at it on the website)
[01:46:54] <SWPadnos> I know you had some issues with spaces and stuff, did you use it unmodified, or did you make any changes first?
[01:50:27] <mdynac> no i had to modify it to at least dload the repos, but know the it does not like the Pacjkage file ...
[01:50:44] <SWPadnos> I think you might have modified it wrong :)
[01:50:51] <mdynac> pastebin m77eee657
[01:51:31] <SWPadnos> the emc2 lines should read as follows:
[01:52:23] <SWPadnos> deb http://www.linuxcnc.org/hardy hardy base emc2.3
[01:52:36] <SWPadnos> deb-src http://www.linuxcnc.org/hardy hardy base emc2.3
[01:52:42] <mdynac> ic ...i'll give it a shot...
[01:58:51] <mdynac> great it worked....she is installing right now....still not sure what went wrong with the script.....
[01:59:32] <SWPadnos> one possibility is that the script is a bit stupid about detecting whether you already have an emc2-related repositories selected
[01:59:52] <SWPadnos> so if you had started to edit the sources list, then ran the script, it wouldn't do anything
[02:00:11] <SWPadnos> (it just looks for the letters "emc2" in the file, and if it finds them it does nothing to the file)
[02:00:28] <mdynac> i see....
[02:00:55] <SWPadnos> if you didn't fiddle with it first, then I'm not sure what went wrong
[02:01:49] <mdynac> gee i don't really know, i downloaded it, did a chmod then a ./ and it would not run....but it really does not matter now....
[02:02:01] <SWPadnos> strange
[02:02:25] <SWPadnos> the same question popped up in the devel channel about 5 minutes before you asked
[02:02:27] <mdynac> whatever, but i must reboot now to finish the install.....later...
[02:02:33] <SWPadnos> have fun :)
[02:06:45] <geo01005_home> thanks SWPadnos, I finally figured it out.
[02:07:00] <SWPadnos> did the manpage help?
[02:11:38] <geo01005_home> yes, I was trying to get halrun to wait for my pyvcp interface to come up so that I could link to it's pins.
[02:12:03] <geo01005_home> I actually found the answer here: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?PyVCP
[02:12:05] <SWPadnos> right - -Wn <name> <module>
[02:12:28] <SWPadnos> I guess I'm wondering what was missing from the manpage
[02:12:49] <geo01005_home> sure but in the case of pyvcp the name is the name of the XML file if you don't include pyvcp -c name junk.xml.
[02:13:07] <geo01005_home> I just didn't have the -c option.
[02:13:08] <SWPadnos> ok, so it was a pyvcp quesion, not a halcmd question
[02:13:23] <SWPadnos> which man pyvcp might have answered for you :)
[02:13:31] <geo01005_home> yeah, I thought it was a halcmd question.
[02:14:05] <geo01005_home> just looked, it sure does.
[02:14:17] <SWPadnos> :)
[02:15:39] <geo01005_home> I guess I'll turn to man before I turn to the net or #emc.
[02:16:02] <geo01005_home> Thanks, again. Leaving to watch a movie with the wife.
[02:20:09] <SWPadnos> enjoy
[02:25:17] <fgleich> hi genfool
[02:26:57] <genfool> fgleich luv you buddy, hanging out lurking and learning :)
[02:57:04] <fgleich> is there some linux program that converts text files to gcode ?
[02:57:15] <fgleich> anyone know ?
[03:00:26] <roh> hmm.,... now to the interresting problems.. how to measure an analog voltage with an parport *g*
[03:01:04] <roh> this reprap-emc will be eh.. interresting
[03:14:32] <Jymmm> Um g-code *IS* text =)
[03:16:54] <geo01005_home> roh, the easy way is the use an arduino to read the analog value and send it through the serial port to emc.
[03:17:06] <geo01005_home> The problem is that it isn't realtime.
[03:24:44] <roh> hmm.. arduino or 'some atmeÃl' isnt the issue.. more that i have loads of free parport pins and would rather like to use these instead yet another used port
[03:26:10] <roh> any chance to do i2c or spi on some parport pins by using hal?
[03:29:33] <geo01005_home> I believe somebody has done spi over parport.
[03:29:52] <geo01005_home> don't remember who though, I think it was in userspace though.
[03:32:00] <pcw> IICRC Kirk Wallace has a SPI A-D dine over parallel port
[03:32:14] <pcw> (done)
[03:39:22] <roh> geo1005: well.. i'm open for new ideas, but since we have our mill also running via partport it was simple to just add another 2 parports for 8Euro
[03:39:59] <roh> just hoped i can spare the 2nd serial. have the camera on the 1rst already
[03:40:47] <roh> geo01005_home: how 'not realtime' fast is your solution via serial?
[03:41:07] <roh> as in 'is it 1-2 seconds lag' or is it 'it somehow works' ?
[03:42:12] <roh> basically i like the idea using as 'standard' and 'proven' compnents as possible and not reinvent the wheel if possible... also found this: http://axis.unpy.net/01198594294
[03:43:25] <roh> will need my own hal-foo if i understood and found yours anyways. have 2 pwm outputs (which is really only 2 tip122 with some protection in open collector) and one L293 which is abused as dc-servo amp (for the geared motor i have to extrude)
[03:44:55] <roh> all pwm inputs are run through an and gate behind a simple chargepump-detector. so i have parport outputs: chargepump, pwm1,pwm2, dc-servo pwm and direction1 and pwm and dir2. only missing the one analog input ;)
[03:45:42] <roh> if one ignores the chargepump its only standard reprap-electonic 'amps' hooked up to the parport instead of an arduino
[03:48:39] <roh> can 'hal components' (.pde files) be built without a complete emc2 devel-setup?
[04:10:00] <fgleich> I meant, type in some text, like , say, 'Hello dolly!' , then have it output in gcode.......
[04:10:24] <fgleich> to have it engraved maybe
[04:11:13] <cradek> fgleich: truetype-tracer does that
[04:11:29] <fgleich> runs on linux ?
[04:11:51] <cradek> yes
[04:11:53] <fgleich> is it a part of emc ?
[04:12:11] <cradek> no, but it generates gcode that works with emc
[04:12:25] <fgleich> cradek: thank you
[04:12:29] <cradek> it comes preinstalled on the emc disc
[04:12:48] <fgleich> ubuntu 8.04 ?
[04:13:08] <cradek> the linuxcnc version of ubuntu 8.04 yes
[04:13:24] <fgleich> ok thanks cradek
[05:31:43] <geo01005_home> roh: The arduino connects by USB anyhow, you don't need to worry about running out of usb ports.
[05:32:09] <geo01005_home> I suspect that the delay is well under a second.
[05:32:59] <geo01005_home> Others have already used the arduino to control a reprap extruder.
[07:37:04] <Goslowjimbo> pcw: can I ask some questions about Mesa's 7i43 and getting a SPI port to drive the 7i64 digital I/O board?
[07:38:19] <Goslowjimbo> I've been trying to find seb, but my timing has been poor.
[13:43:05] <BigJohnT> does anyone else get extra text pasted when several file are open in gedit?
[13:48:09] <BigJohnT> * BigJohnT wanders out to the shop for a bit
[14:08:00] <pcw> Goslowjimbo: for now probably the best thing is to kludge the right sequence of raw-read and raw-write
[14:08:01] <pcw> commands like geo1005. I'll get you a 7I43 or 5I20 bitfile that supports SPI, there are none in CVS yet
[14:08:03] <pcw> What I/O combination do you have (what current config are you using and where do you want the SPI pins?)
[14:16:17] <Jymmm> BigJohnT No
[14:17:04] <Jymmm> BigJohnT Could it be your mouse settings?
[15:43:29] <skunkworks451> facia and soffit. no severed fingers yet.
[16:25:30] <EbiDK> EbiDK is now known as EbiDK|AWAY
[16:59:05] <Goslowjimbo> pcw: I have a 7i43 feeding a 7i33 servo card and a 7i37 digital I/O card for fast I/O. I had intentions of locating the SPI interface on the 035 to 039 pin area, and separate the conductors before they got to the 7i37 card.
[18:46:53] <anonimas1> anonimas1 is now known as anonimasu
[20:46:55] <geo01005_home_> There really isn't anything keeping a EMC user from using any python gui they want right?
[20:47:10] <geo01005_home_> Like, I could use wxWidgets if I wanted right?
[21:07:53] <roh> geo01005_home_ if youre bored and want more pain, please.
[21:08:28] <roh> to be serious.. i havenbt seen a signe wx-app which doesnt _suck_ (which includes heeks* at some points)
[21:09:02] <roh> nothing which just works in gtk on x11, win32 and osx does properly on wx. basically its like a reinvented, worse wheel
[21:09:51] <geo01005_home_> Well, I'm just saying that the link between the hal and any python gui is the same.
[21:10:12] <roh> basically yet. emc has no fixed ui afaik.
[21:10:53] <roh> yet i would love a native gtk2-ui for axis. the current style looks and feels like motif when it comes to usability (only the shortcuts save me grief there)
[21:12:04] <roh> its little stuff which gets annoying more and more over time. like 'what happens when you press <tab> .. or 'what happens when you klick into a textbox (input enabled) and then move the mouse (but do not click) and your windowanager does NOT have focus follows mouse?'
[21:12:33] <geo01005_home_> I like pyvcp, but I would be nice to have something that can render SVG based widgets.
[21:12:51] <roh> in wxwindows it will leave your textbox content 'selected' but removes the input from the box, so you MUST need to click into it again to be able to type.
[21:13:20] <roh> which is like.. FAIL on wxwindows part.
[21:13:34] <roh> whatfor?
[21:13:46] <geo01005_home_> Do you have any problems with QT?
[21:13:47] <roh> svg iss a nice intermediate, but has no real use in ui.
[21:13:55] <roh> qt is not better.
[21:14:14] <geo01005_home_> http://www.beremiz.org/
[21:14:25] <roh> also not free in origin and future (nokia just bought trolltech)
[21:15:27] <geo01005_home_> I like how the HMI for beremiz is easily drawn with SVG content.
[21:15:28] <roh> geo01005_home_ whats that?
[21:15:40] <geo01005_home_> Linux based PLC.
[21:15:46] <roh> ?
[21:16:03] <roh> .oO website fail, fail to name what your app does on the first page)
[21:16:17] <roh> PLC is not.. eh unique
[21:17:29] <geo01005_home_> It would just be nice to easily (read without writing code) customize a virtual control panel to a specific use.
[21:17:47] <roh> hm.. wikipedias entry to plc makes me think of siemens sps and not anything a sane person would want to use
[21:18:21] <roh> pyvcp iss nice as it is. atleast as far as i can understand it atm.
[21:18:45] <roh> all attempts to make stuff 'work' completeley without coding result in pain and utter destruction. (see php)
[21:19:12] <roh> you will always need to code 'a bit' or make it worse for everybody
[21:19:45] <geo01005_home_> Well roh, here is the deal, The are many commercial PLC/HMI companies that do a very good job at doing just that for touch HMIs (Human Machine Intercface)
[21:20:08] <roh> geo01005_home_ well. maybe. what does emc have to do with it?
[21:20:18] <geo01005_home_> I know it can be done well, I just don't know that most of the EMC user/ Developers are interested in it.
[21:20:21] <roh> please dont mix stuff up too much.
[21:20:53] <geo01005_home_> EMC wasn't really inteded to just be used for machining, as I recall.
[21:21:23] <geo01005_home_> It can be used to control any process that need realtime support.
[21:21:43] <geo01005_home_> So it could be used for all sorts of machines in a factory, not just machining centers.
[21:21:53] <roh> basically... yes. but when you want svg in your ui,you are far from realtime anyways.
[21:22:14] <geo01005_home_> That is in userspace!!! It is just the gui.
[21:22:20] <roh> touchscreen e.g. will never be as secure as buttons. only by how it works. wouldnt use it for e.g. emergency-stop ever.
[21:22:50] <roh> still.. generating a svg will take me much more work than coding down a pyvcÃp.
[21:23:10] <roh> only to do the layout even. why? coders are not graphics-guys. simple as that.
[21:23:18] <roh> and a svg still has no logic behind it.
[21:24:06] <roh> in the result -> you need a coder and somebody to do graphics anyways (if your graphics-guy has a clue about Human input concepts, if not, you'll need a 3rd person)
[21:25:58] <roh> geo01005_home_ i really do not want to demotivate you, i just see that some stuff shouldnt be mixed up and some things cannot be made magically work just by using buzzwords
[23:16:21] <skunkworks> http://imagebin.ca/img/JzPFhm.jpg
[23:23:35] <Jymmm> skunkworks: you can send any spare rolls of tyvek to me =)
[23:24:23] <Jymmm> skunkworks: coming along nicely. Will it be finished before the hottest part of summer comes?