On 19.05.11 16:12, Rudy du Preez wrote: > Not finding any other way to upload the XYZACkins that I recently developed, > I added a small description to the Wiki under HAL user contributed > components: Kinematics. A link to a tar.gz file is given which contains the > kinematics code as well as the ini and hal files, a vismach simulation model > and a demo ngc file. > > Comments will be appreciated once you have tried it out. The remaining > problem I have is the homing and setup to start a job. I am still working on > a solution.
Rudy, I'm having trouble unpacking the tarball, possibly due to the strangest tarball behaviour I've seen in a quarter of a century. A "tar zxvf 5_axis_kinematics_XYZAC.tar.gz" unpacks a symlink in the current directory, pointing to "../emc2/configs/XYZAC, so unless I create that directory manually, we have the issue: XYZAC: broken symbolic link to `../emc2/configs/XYZAC' OK, I've created ~/emc2/configs/XYZAC/, and now have the errors: tar: XYZAC/XYZACkins.c: Cannot open: Not a directory XYZAC/XYZAC_sim.hal tar: XYZAC/XYZAC_sim.hal: Cannot open: Not a directory XYZAC/Flange.ngc etc. So let's check the symlink$ ls -l XYZAC lrwxrwxrwx 1 erik erik 21 2011-05-23 21:53 XYZAC -> ../emc2/configs/XYZAC/ Good, it's pointing to the empty directory I've manually created, to help things along: $ ls -alL XYZAC total 8 drwxr-xr-x 2 erik erik 4096 2011-05-23 21:41 ./ drwxr-xr-x 4 erik erik 4096 2011-05-23 21:41 ../ I have navigate (x) permissions on the intervening directories: $ ls -ld ~/emc2/ drwxr-xr-x 4 erik erik 4096 2011-04-05 19:44 /home/erik/emc2// $ ls -ld ~/emc2/configs/ drwxr-xr-x 4 erik erik 4096 2011-05-23 21:41 /home/erik/emc2/configs// so we can get there. (Well, I did in fact, to create the directory, but it doesn't hurt to verify.) After digging through the 40 likeliest google hits, the closest to an explanation I've found was in German: "D.h. im aktuellen Verzeichnis gibt es eine _Datei_ (tar-file) mit dem Namen res.tar und im tar selbst gibt es ein _Verzeichnis_ mit dem Namen res.tar." My translation: "I.e. in the current directory there exists a _File_ (tar-file) with the name res.tar and in tar itself [here he means the tarball] there is a _Directory_ with the name res.tar." Comparing your tarball, Rudy, we find it creates a symlink named XYZAC, and the tarball contains a directory of the same name. Maybe that's the problem? Would you have a tarball which doesn't create the symlink, so we could see if that works? I could then unpack in /tmp, or directly into the configs directory with: tar zxvf -C ~/emc2/configs/ 5_axis_kinematics_XYZAC.tar.gz Erik -- Forum moderator: Did you take the [End of the world on 21.05.11] doomsday prediction seriously? Contributor: Bugger, now I have to go to work tomorrow. - Seen on ABC website on 22.05.11 ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users