Upgrade time, What do I need to know first?
gear4 is a custom component, I missed it because the name is so similar to other components
2 machines could be using the same component, possibly just in different ways if the machines are different.
I have attached the code if you can build it yourself
Otherwise I will be able to build it on the same Wheezy install as you are running a bit later, add it to the deb package and send you that later
regards
Please Log in or Create an account to join the conversation.
I have now built the module and sent you an updated deb package on email
Even got your company name right this time
![:laugh: :laugh:](/media/kunena/emoticons/laughing.png)
Attached here in case there are any problems with the email
regards
Please Log in or Create an account to join the conversation.
Now looked at the RIPs from the GandL machine and the Enshu.
There are several custom components, including a different version of gear4 for the GandL machine, which is still called the same name.
To create some sanity, I have renamed that component gear4gnl. You just need to change the name of the component in the hal file for that machine, each time it is used.
Now the deb contains all the components I could find from all 3 machines and since there are no duplicate names, you can install the same deb to all of them.
It will do no harm to have unused components installed and gives you a generic install.
I was guessing to an extent as to which RIPs were in use, the last 2 machines appear to have been updated more recently than the Cincinatti, if I have missed any components
you will have to tell me.
regards
Please Log in or Create an account to join the conversation.
I am on a fresh build and a new PC. I have installed the hybrid ISO and the default sim configs run. I tried to do what i had done before but am getting anywhere.
mpm@LinuxCNC:~$ ls -l /usr/realtime-2.6.32-122-rtai/modules/linuxcnc/
ls: cannot access /usr/realtime-2.6.32-122-rtai/modules/linuxcnc/: No such file or directory
mpm@LinuxCNC:~$
[sudo] password for mpm:
dpkg: error processing mpm-custom-modules-0.3 (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
mpm-custom-modules-0.3
mpm@LinuxCNC:~/Downloads$
Please Log in or Create an account to join the conversation.
30.839406] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
At least your ethernet chip works now!
I am on a fresh build and a new PC. I have installed the hybrid ISO and the default sim configs run. I tried to do what i had done before but am getting anywhere.
mpm@LinuxCNC:~$ ls -l /usr/realtime-2.6.32-122-rtai/modules/linuxcnc/
ls: cannot access /usr/realtime-2.6.32-122-rtai/modules/linuxcnc/: No such file or directory
mpm@LinuxCNC:~$
That is the location for modules under Ubuntu 10.04
The modules under wheezy would be at /usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc
sudo] password for mpm:
dpkg: error processing mpm-custom-modules-0.3 (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
mpm-custom-modules-0.3
mpm@LinuxCNC:~/Downloads$
You have not included the command that produced these errors.
I have to guess therefore that it was
sudo dpkg -i mpm-custom-modules-0.3
The error is because it was not executed from the directory the package was in, or the package was not present at all.
regards
Please Log in or Create an account to join the conversation.
mpm@LinuxCNC:~/linuxcnc$ sudo dpkg -i mpm.deb
(Reading database ... 193799 files and directories currently installed.)
Unpacking mpm-custom-modules (from mpm.deb) ...
dpkg: error processing mpm.deb (--install):
trying to overwrite '/usr/bin/5axhydrotelgui', which is also in package mmc-modules 0.1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
mpm.deb
mpm@LinuxCNC:~/linuxcnc$
Please Log in or Create an account to join the conversation.
mpm@LinuxCNC:~$ ls -l /usr/realtime-2.6.32-122-rtai/modules/linuxcnc/
ls: cannot access /usr/realtime-2.6.32-122-rtai/modules/linuxcnc/: No such file or directory
mpm@LinuxCNC:~$
That is the location for modules under Ubuntu 10.04
The modules under wheezy would be at /usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc
[/quote]
Do I need to have done something diffente here?
Please Log in or Create an account to join the conversation.
mpm@LinuxCNC:~$ ls -l /usr/realtime-2.6.32-122-rtai/modules/linuxcnc/
ls: cannot access /usr/realtime-2.6.32-122-rtai/modules/linuxcnc/: No such file or directory
mpm@LinuxCNC:~$
That is the location for modules under Ubuntu 10.04
The modules under wheezy would be at /usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc
Do I need to have done something diffente here?[/quote]
I don't know what you were doing in the first place, other than trying to get a directory listing of a dir that didn't exist
It must not like the - or something in the name. I just renamed it to mpm.deb and recived a different message.
mpm@LinuxCNC:~/linuxcnc$ sudo dpkg -i mpm.deb
(Reading database ... 193799 files and directories currently installed.)
Unpacking mpm-custom-modules (from mpm.deb) ...
dpkg: error processing mpm.deb (--install):
trying to overwrite '/usr/bin/5axhydrotelgui', which is also in package mmc-modules 0.1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
mpm.deb
mpm@LinuxCNC:~/linuxcnc$
This cannot be a new install, how could dpkg possibly know what was in package mmc-modules-0.1?
Why would 5axhydrotelgui exist?
You need to remove all the old packages before you install the latest one.
The package must be named 'as is' or you could get into an awful mess later, even if you rename the file, the debian control file inside still sets the old name for the package and it is that you need to
quote to remove it again.
It should be called mpm-custom-modules-0.3.deb
dpkg is quite happy with dashes in package names
You need to get rid of
mmc-modules-0.1
mpm-custom-modules-0.1
ie
dpkg -r mpm-custom-modules-0.3
to make sure none of it installed
dpkg -r mmc-modules-0.1
dpkg -r mpm-custom-modules-0.1
to get rid of previous clashing installs
then
dpkg -i mpm-custom-modules-0.3.deb
from the directory where it is saved
regards
Please Log in or Create an account to join the conversation.
I am starting here article.gmane.org/gmane.linux.distributions.emc.user/52401 that is the link in the top left corner of the fourm page.
Please Log in or Create an account to join the conversation.
That didnt work either it said it could find those packages
Without details, I can't advise properly.
This deb is just a handy method of installing. If that is not working for you, just download this zip and copy the files across to the matching directories on your system
regards
Please Log in or Create an account to join the conversation.