i am trying to compile emc2 and i got the following error
make: *** [po/rs274_err.pot] Error 127
kaien: is this trunk or 2.2.7?
it is trunk i guess
i got source from cvs
try running make again
have you compiled this successfully before?
yes, two days ago i have compiled this successfully
but in another computer, i am trying to figure out why
on the other computer did you have a standard EMC intall?
I guess what I'm asking is what is different
on the other computer, Ii have two emc2, one is from cvs and the other one is emc2-2.2.6.tar.gz from linuxcnc.org
first one is good to work, second one is bad
do you have 2.2.6 on the problem computer?
on the problem computer? i don't understand
the one with the make error...
ok, so you have 2.2.6 installed on both computers...
and you did sudo apt-get build-dep emc2
and sudo apt-get install build-essential libpth-dev
[02:13:54] <BigJohnT> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Installing_EMC2#Preparing_Ubuntu_to_compile_emc2
cvs -z5 -d:ext:firstname.lastname@example.org:/cvs co emc2
is this wrong cmd?
the prerequisites need doing first
no, but you need the other ones to be able to build emc
we are watching Faulty Towers :)
isn't it like 2:15am there?
step 1.sudo apt-get build-dep emc2
step 2.sudo apt-get install build-essential libpth-dev
SWPadnos: did you buy the lathe?
I don't think you need libpth-dev for a RT EMC compile
emc doesn't require build-essential in its build-dep?
kaien: nothing's wrong, ignore that
BigJohnT, no. I bid just under $2400 but someone else got it
we want to know, I stayed up!
i don't think you should need that second install line
ok, i'll try again thanks all
SWPadnos: it wasn't me
heh, nope :)
that's a lot of lanes
similar to what I have though, http://www.newegg.com/Product/Product.aspx?Item=N82E16816116042
same RAID features, but differnet number of disks
different too :)
that has 4
(just what the RAID encloseure I have will hold)
right, mine has 4, the one you linked has 24
Ah. sorry, I thought you menat yours was similar to the link you gave
yes, very! :)
like... exactly =)
maybe, maybe not. I bought it a year ago (so the design may have changed ;) )
have you tested it?
yep, works great
yank a drive and such?
I did yank a drive, and it worked OK
define "ok" ?
I don't think the BIOS does the rebuild automatically
(like my old Adaptecs did)
did you have a hot spare?
I had a 3-drive RAID5 with a hot spare
but I think the rebuild has to be at least started by the OS
and it didn't auto rebuild?
I don't think so, but I'm not sure. it's been a while since I tested
Another essential feature in IT environments is the ability for the 3ware 9650SE card to automatically rebuild the RAID array if a drive fails
well, I don't know whether that's "without administrator intervention" or "without OS intervention"
Well, it always should be imho
kinda defeats the purpose otherwise
should be without OS intervention
sort of. even without auto-rebuild, if the OS sees that the array is degraded, it can take action
also, the data remains available
in any case, don't take my word for it, it was a year ago ;)
it should be stupid to the OS... mgmt should be in the card itself.
even if it was MS-DOS imo
should be, but you also need OS tools
for instance, to expand an array or to create another one, without having to reboot
Some now are coming with their own webserver build in for mgmt
it has it's own ethernet port =)
that still needs OS help, unless there's a separate
interesting. it looks like JBOD and RAID are exclusive settings - you can't have a RAID and "normal disks" at the same time
That sounds correct.
if you had 100, 150, 200, 250 in a raid 5 config, it only be 5x 100gb
yes and no - especially with a controller with that many drive connections, I might want a RAID or two, but still have the ability to connect a single drive from time to time (for data copying or something)
that's what USB/FW or on mobo connectors are for =)
no no, it looks like the controller is *either* RAID *or* normal disks - not the same drive, but all drives
unless you're looking to use the hot-swap features of a nice RAID controller ...
Yeah, RAID ot JBOD
YEOW! BLU-RAY blanks... 15 for $70
talk about coasters!
5pk for $30
SWPadnos_ is now known as SWPadnos
SWPadnos_ is now known as SWPadnos
can any one tell me the 'Calculation' that doing Arc(part of circle) on g-code in EMC2 source..? which file is it?
F1514: it's a bit more complicated based on applying offsets
but basicly you can look for convert_arc()
that's a function somewhere in emc2/src/emc/rs274ngc/
I think it's in interp_conver.cc
acording im reading on HOSTMOT2.c, PC communication behave on Mesa is based on 3 Major variable:
"Encoder", "StepGen", "PWMGen" ... and PID calc being done on PC, based on encoder information, is my perception Correct?
mesa do the counting and send the value of pos to pc
if u dont mind, please explain anything on this, to enrich my knowledge(or curious)... any commment would be very usefull for me
|_____|``|_____| ''=is the length of PWM and stepgen is how much |``| pulse being generate
im trying to do something on USB stuff
g'morning to all
F1514: You might try asking again in a few hours, not sure everyone is awake yet
:) well ok
all ask at latter time, thxs...
:) must leave now, have i nice-st Day to all.
alex_joni: BIG LAG =)
don't look good for motorcycle riding today here
JymmmEMC: you think?
that's what rain gear is for
hmmm, there ain't no windshield wipers on a goldwing
no rain today but low 50's
BigJohnT: Sure there is... it's the round thing on the right side of the handle bar
BigJohnT: you might know it as athe throttle =)
I need to rainx my windshield first
I thought it was the vertical hold knob
BigJohnT: If you have a veritcal hold on your goldwing, you've bought WAY TOO MANY accessories for it!
bad enough you have a REVERSE gear =)
I even took some of the fluff off and I still can't get the front wheel off the ground :)
BigJohnT: Well, whos' sitting bitch? Tell em to lean back some more
or toss a conder block in the trunk or sumthin ;)
that be my wife, the one who has more cammo than I do and is a real good shot
ahh, you don't toss things in the trunk of a wing, you place them carefully, cinder blocks go on the trailer hitch
BigJohnT: Um, if you have a trailer connected to that hitch, I think I know why you can't get the front tire off the ground =)
more like it's BIG John T that holds it down :)
and I quit doing that a long time ago
BigJohnT: Well, then YOU sit bitch, and let the wifey drive!
I have a question for you guys...
her feet only reach the ground just before the bike finishes falling over
If you were to sent an invitation from a website to one of your friends, would you mind sendthign the invitation from your email client (mailto link) instead of have the website do it for you?
I don't even know what you said :)
BigJohnT: Ok, you are on a website that offers a neat service. You want to invite me to join as well. Instead of just signing me up on the website, actually have a link that will create the invitation to sign up, but it would come from your email client, instead of from the website.
JymmmEMC: I thought you said "friends"
alex_joni: friends, enemies, same thing
JymmmEMC: joke aside, I would mind it as I'm not always on a PC with my email configured
* alex_joni uses 4-5 of them, not all properly set up for SMTP
alex_joni: Well, what if I added the invitation that you could copy-n-paste in whatever email you use (webmail, etc)
ok, I delete all that cra* as soon as I get it... If I get a personal e-mail from a friend I'll look at it...
alex_joni: For what BigJohnTjust said is the reasoning I have
spam, spam filters, etc
I just do a file/send link from the browser if I want to share a web site to a friend
BigJohnT: In this respect, it's more like a signup thing
like signing up to a website (registration)
Many don't validate email addresses entered, and if someone typos their email address, the website sends out a validation to a bogus email address.
JymmmEMC: I guess my real answer is against both kinds :)
$110.94 into supporting the american economy
Machine Tool Reconditioning and Applications of Hand Scraping
alex_joni: Well, that doens't help unfortunantly. The "norm" is to send out an email and wait for them to receive it, then click on the link in the email. I'd much rather not send out email at all, but let the perosn use their mailbox for that.
alex_joni: I think it'll cut down a LOT of bogus signups and invalid emails.
not having this at all will cut down even more
alex_joni: go back to bed already
if people want to sign up, they can do that at any site, no need fosignup emails
alex_joni: email address MUST be validated in this case.
if I want to tell someone about a site I like, I can write 2 lines of actual words
alex_joni: it's by invitation only.
JymmmEMC: of course you send a validation email after they start signing up
alex_joni: No, I want them to send me an email, not the other way around.
invitation only? I always wondered what good that is
alex_joni: it's called word of mouth
not beeing added to search engines databases, but having lots of traffic is word of mouth
if I found a site (doesn't matter how) it would probably annoy me not beeing able to sign up, if I'm interested
but it depends on the content, so I might be talking crap :)
alex_joni: Well, if you think about it, when gmail first started, it was via invitation only, and everyone was interested in it. This isn't gmail of course, but you get the idea.
alex_joni: There is also a security context here... instead of random person coming across random website, there is a "web of trust" where a trusted person is inviting someone they trust to join if they want to.
JymmmEMC: if it is by invitation then have a link that I can send to my friend with a trust code or something
BigJohnT: Each invitation would be valid for a single person and would expire after x number of hours. But yes, that is what I'm basically talking about, a "mailto" link is just a link on a website that will initiate a "new mail" in your (setup) email client.
mailto:BigJohnT@example.com?subject:test1&this is test number_one (if I remembered the syntax that is =)
oooops, guess I didn't remembr it correctly =)
mailto:BigJohnT@example.com&subject=test2&body=this is test number_two (if I remembered the syntax that is =)
mailto:BigJohnT@example.com?subject=test2&body=this is test number_two (if I remembered the syntax that is =)
mailto:BigJohnT@example.com?subject=test2&body=this_is_test_number_two (if I remembered the syntax that is =)
there we go.... click on that link BigJohnT
well, maybe not =) But via irc doens't work the same as via a browser
I don't do e-mail on this computer so it won't work for me
mailto:BigJohnT@example.com?subject=test%204&body=test%20four it still should work, just won't be able to send is all.
ah the url encoded spaces worked
fires up evolution and firefox
BigJohnT: do you use gmail mostly?
my e-mail is on the windoz box...
I use pegasus
Pegasus?! I haven't heard that since last century!
still works :)
Sure, but have they updated the GUI on that yet?
the look and feel
feels fine to me
POP3 or IMAP ?
pop3 I think
Ah, all mine are IMAP, so I cna't use it too much for the thing sI do.
what is imap?
* BigJohnT wanders off to split wood
[15:02:34] <alex_joni> http://www.adek.com/PDF/MB-P4BWA.pdf
hmm.. didn't know there are mobos for quad core with ISA on them
hmm.. that one actually doesn't have parport on it :)
alex_joni: It does say it's an industrial board, even has GPIO too
this one does: http://www.adek.com/PDF/MB865F.pdf
JymmmEMC: and mini-pci
alex_joni: the 1st DOES have paraport
Internal I/O Ports
4 x RS-232, 1 x RS232/422/485, 1 x parallel, 1 x FDD, 1
x GPIO, 1 x IrDA, 4 x USB, 1 x front audio connector, 1 x
4 serial actually (cool)
6 usb is nice
Ohhhhhh has cardslot or CD slot (can't tell)
Uh oh.... they have to QUOTE you the price...
as the heading has industrial, likely the bios willbe sensible about power handling and realtime
archivist: heh, dont count on it
archivist: they are using shared video ram
which is bad thing for RT
plug in a cheap sensible card to override that
shouldn't need to is the thing, dedicated vram isn't that hard to do
I think they are focusing on I/O more than anythign else.
not that much
over priced and over there http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&ssPageName=STRK:MEWAX:IT&item=260311985325
The units are located in FLINT, MI.
dunno why he has put that to international
Seller is in UK, item in US
or just advertising internationally
There, that's the US ad
archivist: wth are you looking at UK in the first place?
looking at uk, seeler is US and canada
why are you even looking at UK listing at all?
I live here!
* JymmmEMC ducks
UK puts USA back under colonial rule, its for their own good
What going for the recordbooks again, trying to take over some place and lose again?
archivist: (just teasing)
archivist: do they have "yellow pages" in UK ?
[15:49:47] <JymmmEMC> http://www.thephonebook.bt.com/publisha.content/en/search/business_by_name/search.publisha?BusinessName=pub&x=32&y=4&Location=LONDON&OriginalLocation=london&Range=xloc
Is the (020) the country code, or area code?
041 == uk country code?
I think so
alex_joni: So when you call uk, it's 41 020 1234 5678 ?
no, it's 0041 ...
or +41 from a cell
literal '+' ?
hold down 0 till you get a +
* alex_joni finds that quicker than 00
alex_joni: and to call US ?
and I'd have to look up if uk uses 0041020.. vs 004120..
I dont use a phone enough to know without looking it up
archivist: from inside UK it wouldn't come up
JymmmEMC: your number? :P
alex_joni: No, mine is 001-900-OH-BABY
I have no home phone, not used the mobile for a couple of years
archivist: timber must be really cheap then
Weird... to call UK from MX is 00+44+blah
JymmmEMC: it depends on the country what the prefix for getting an international line is
from uk to mx is 00-52blah
some use 0, others use 00, etc..
alex_joni: Well, it's like the country coode for MX is 00
literal + should always work
can't be ;)
[15:59:14] <alex_joni> http://en.wikipedia.org/wiki/List_of_country_calling_codes
+52 is MX
I think MX is a unique one though, not much infrastructure there
oh, I bet it has lots more than others
ah uk is 44
41 is switzerland
Hmmmm Guam is now in NANPA
alex_joni: Ah.... The plus sign (+) indicates the code required to dial out of your local area; for example, in the United Kingdom, you use 00 to dial out and 1 to call the United States with the complete format being 00-1-xxx-xxx-xxxx
alex_joni: I think the cell providers are jsut implying the '+' for you.
alex_joni: 00 (international) - 51 (country code) + areacode-number
ok, this is making much more sense now
I never call international, so I always have to look it up when I do =)
archivist: on the numbers for london with the 020 area code, do you have to dial the initial '0' ?
or can you just dial 20 1234 5678
from here yes,
archivist: oh, so you HAVE to dial: 020 1234 5678
from anywhere internal, it means go out of area to the dialer
Us doens't have an AC's that begin with 0 is why I was asking
hence in area is without 0
I guess that's the equiv of 1-800-555-1212 in the US
the 1 means calling outside your area code
JymmmEMC: heh, over here we had 5 digits for local numbers
now it's up to 6 digits, and only recently you have to dial the area code too
before this change you only had to remember/dial 6 digits
alex_joni: When I was growing up, to dial the next town over was only 5 digits, not the full 7
So if your real number was 779-5000, to dial your neighbor, you only had to dial 91234
heh, similar to here
my phone number when I was a little kid was 36190, then they added a 1 in front of all numbers :)
now we need to dial the local code + number (0256-xxxxxx)
local code == area code?
56 was the area code for our city/area
then they changed it to 256
although that's only true for the former state phone company
so 0 to get outside your area, then area code - number
for private networks it's 356
too confusing =)
alex_joni: so, to call you it would be: 00 (international call) - 40 - 256 - xxxx - xxxx ?
nope, 011 + 40 + number
* JymmmEMC is so con fused =) lol
the first try was ok
bleh.. I wish I could cast iron
what keeps ou?
you from doing it?
im looking at making a mirco lathe
I need to get patterns made and get trunnion oarts done that way, currently machined from solid or going to be built up parts
* anonimasu nods
if I had means to cast I'd macine patterns
tomorrow, I'm ordering a new keyboard.
just re educate fingers to key locations
oh, the keys are dead sometimes
unless I slam them hard
y works 1/4th of the time unless i deliberately hit it forcefully
my keyboard gets filings and crumbs in it etc
this is part of why im looking at scraping(the lathe project)
scraping is hard
dunno, it seems more tedious then hard
and the big trick is to measure so you scrape everything in the right plane
from what I've read atleast
the rest is elbow grease ;)(alot)
well, for 0.5m of bed it should work out
my big mill should produce flat enough surfaces
shaublin lathe here needs doing
I want a small enough lathe that I can keep in my office at work
needs a rebuild
no tailstock and gang tooling
and a 1kw servo as spindle motor
or 1kw ac motor with a vector drive..
servo motor prices are a rip off
how did you solve the backslash issue?
with the trunions?
not made that part yes but have had another idea
cut out a few parts and merge spring with anchor
so spring preloaded?
spring is preload and hinge and due to length anti rotation of the driving worm (not done a drawing)
archivist: it's probably worth building a power scraper :p
oh, yeah, for the lathe im thinking of box ways
they seem much easier to make
and easier to scrape
dovetails are awkward to rectify my MD65 lathe was bad that way
* JymmmEMC notes... salt is not as effective in killing weeds as you might think
long term that is
also, I'm not sure they are all that great for light machining
or heavy(most machines seem to use box ways now
wear v accuracy I suppose
even when you put out 600 lbs of salt =)
err 400 lbs
$hit happens :)
yay ordering confirmation for the book
Machine Tool Reconditioning and Applications of Hand Scraping
the "tome" on scraping apparently
if you ever have trouble getting to sleep it is the perfect cure
I perfer that to the other way :)
Hi all what would the sofware updater be called?
im trying to insta the .deb for virtual box but it wont run bcz ANOTHER software management tool is running..
is synaptic running
synaptic or apt
i think its update manager
but how do i kill it
ps aux | grep update
get the pid, then kill pid
or kill -9 pid if it's stuck
dmess: you want it to not run even after a reboot right?
i cant even find its PID
dmess synaptic has virtual box listed you could install that way
but it was acting flacky too thats why i tried the DEB
it says i need to run 'dpkg --configure -a' manually to correct the problem but that rolls back nothing usefull
hi all.. still euchered...
or a descrieuchered?
i still cant install anything on this machine
did you end up scraping?
no.. but he did a nice job... i seen it this morning
dmess: when you try to manually install a deb you might end up in a state where you can't do much
basicly the new package that you want to install has some dependencies that cannot be met from the repositories
trying to install virtualbox.. but my synamptic / update manager is conflicting with somethig... i havent found yet
virtualbox? thought you wanted vmware?
vbox from Sun is open source
dmess, it could be update manager... it typically runs shortly after login to check for updates... it locks the datanase while its running.... it shouldnt take very long to finish (maybe a minute)
22:35 < dmess> it says i need to run 'dpkg --configure -a' manually to correct
the problem but that rolls back nothing usefull
that almost always is proof that something is wrong
probably a non ubuntu package installed, but only halfway
yes.. but what??
any ideas would be appreciated...
dmess: If software update ran, but is still waiting for you to reboot, you have to reboot before doing anything else
is the icon in the top right corner red?
red arrow I think is it still needs to reboot
i havent been able to update for quite some time
dmess: close all programs you have open (except irc)
open a terminal, type apt-get update
dmess: when was the last time you rebooted?
let us know exactly what it says
sudo apt-get update
JymmmEMC: it ain't windows.. you know :P
alex_joni: software update REQUIRES reboots
dmessier@dmessier-desktop:~$ apt-get update
E: Could not open lock file /var/lib/apt/lists/lock - open (13 Permission denied)
E: Unable to lock the list directory
not always, but a couple the last couples of months
no it doesn't.. it suggests reboots
because it installed new kernels
dmess: in a terminal, type uptime<enter>
dmess: sudo apt-get update
alex_joni: Yes, it does.
dmess: sudo apt-get upgrade
dmess: what did it say?
JymmmEMC: it ran means it didn't complain..
so it just loaded the new package lists
dmess: what does uptime tell you?
Fetched 6B in 7s (1B/s)
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
dmess: what does uptime tell you?
30 minutes or so
dmess: sudo dpkg --configure -a
17:38:49 up 37 min, 4 users, load average: 0.16, 0.40, 0.26
hey it did something other than complain
dmess: if there are many lines, use pastebin.ca
vbox is installing.... THX
dmess: the "free" vbox does NOT support USB btw
i have issues with it finding an host image.. or something
well, you probably need to build one..
but don't ask me how
lemme update this box and then we'll try again...
hm, I'd just purchase vmware
(borrow a licence until I'd concluded that opengl works as supposed)
there is vmware server, works just right
they have a 30 day trial I think
vmserve2 is free and runs nicely on ubuntu 8.04.1 amd63
im on 6.06 and intel
JymmmEMC: does that do opengl?
anonimasu: vmware server is free
JymmmEMC: well, then it's not relevant :/
i would like open gl for Catia
AXIS works nicely in it, so some openGL works :D
but that a long way off
no idea about running doze inside a vm though
dmess: did you hear what alex said
vmware server migt be a easier thing to get
brb gotta strt the bbq
especially since it's free
anonimasu: read their website and find otu
virtualbox is also pretty good from what I hear
[21:55:31] <anonimasu> http://linuxupdate.blogspot.com/2007/07/full-opengl-3d-acceleration-for.html
but it's quite new, and might be hard to setup
on 6.06 especially
well, I suggest vmware because it's dead easy to use
alex_joni: no accelerated 3d in vmware server :(
63 updates to do.... this should be dangerous...
it's usually safe
* alex_joni doesn't remember one update that went wrong
at least not apt-get update
i know.. i've just ever done that at 1st boot with so many
oh, if you install 6.06 form the CD, you'll get about 400 updates today
maybe lots more in the mean time, didn't try in a while
no this was my old install that sat on the floor for 4 months after i figured lightning hit her...
60 updates after 4 months sounds ok to me
anyways, off to bed here
good night all
i put a p/s in her and she fired.. but drives were all messed around.... and it required some fancy wiring
use duct tape :P
have a good nite
izua_ is now known as izua
I want to understand the inner workings of emc, so I can build a hardware device doing the same thing (will be o/s). I'm using this document as a start: http://www.lmwatts.com/traj/traptp.html.
Up to this point, I made a little C# simulator, which takes a bunch of points and stores them. It has a timer that triggers regulary, which refreshes the display (showing a spinning arc as a drill), and updates x/y positions from x/y speeds. I also have a faster timer, which s
YOu got cut off at: "I also have a faster timer, which s"
which should compute the x/y speeds from x/y accelerations
alex_joni: *SMACK* (duct in a pc *SIGH*)
What I think I need next is some line switching logic
take the first line, see where it ends, make up a motion profile for it.
I _think_ this implies computing a point where acceleration should stop, and another point where decceleration should start
sounds liek trjectory planner to me, but I know nothing
(really, I don't)
But I'm not sure of the values, either. For now, I'll be using a speed of 1, so the xspeed ^ 2 + yspeed ^ 1 should sum up to my current speed. But I don't think this is good.
if speed is always minimum, there's no need for blending, right?
jymmmEMC: yes, it is. I'm doing this "simulator" thing to understand how trajectory planning and blending works
also, there's one thing that page doens't document - how to handle points which are the start/end of a line (not intermediate points, but only the extreme ones, where no n-1 point or n+1 point is available)
the trouble is, I don't know what to do next. I think i should implement some line handling logic, where acc stops/ dec starts (eventually draw them) and some more logic to detect when we have switched from one line to the other (not sure how this is done, through the blending)
hi all.. well after a fer reboots.. i have something up.. still having issues with setup..
big J have you used virtual box??
what is it?