Re: Problems of compiling EMC on BDI 4.38 (Paul)
Thank you very much, Paul! With your help, the problem is solved. Now I can compile EMC and run it successfully. Thank you! On Mar 18, 2006, at 7:00 PM, bdi4emc-help- [email protected] wrote:
Compiling the emc-1.0 sources is not quite the same as emc2, some of the configure options differ, as does the way install is done. There is also a difference in required package dependencies which is not made clear on that wiki page.
Make sure you have the http://bdi4emc.ourproject/debian/ repository listed in your /etc/apt/sources.list, run an update followed by "apt-get build-dep emc". This should ensure all the required development packages are installed.. Then an "apt-get source emc" to download the current tarball. I've uploaded a new source package that should hopefully resolve the errors you were getting.. If you want to continue with the existing source tree, do:
make KDIR=/usr/src/linux-headers-2.6.12.6-rtai
Alternatively, you can edit the emc-1.0/src/Makefile and change line 138 to:
KDIR = /usr/src/linux-headers-2.6.12.6-rtai
Regards, Paul.
On Monday 20 March 2006 10:47, ?? wrote:
Thank you very much, Paul! With your help, the problem is solved. Now I can compile EMC and run it successfully. Thank you!
Unless there are some specific changes needed to the original source code, you don't need to compile to run it - `apt-get install emc emc-modules-2.6.12.6-rtai` will get you the latest version.. If you have found a bug during the course of installing from source, I would willingly accept a patch and apply it to the next release. Regards, Paul.
participants (2)
-
Paul -
沈濛