[etherlab-users] No such file or directory (AGAIN)
Jeff Krasky
jeff.krasky at dspcg.com
Mon Jul 25 22:25:11 CEST 2011
> You aren't doing your commands right. Why would you make a symbolic link
> to /etc/init.d/ which is a
> directory? Follow the directions in the INSTALL file.
I have a file called ethercat-1.5-6129a5f715fb.pdf that I got from the
website. If you look on page 80 (90 of 93 in Acrobat reader) the command to
use is written as ln -s etc/init.d/ethercat /etc/init.d/ Now I cant help
it if this PDF has typos in it. I don't know enough Linux to catch typos
like this.
I now see that it is written a little differently in the INSTALL file. Of
course, the first thing the INSTALL file does is tell you that the complete
procedure should be read from the documentation. The rest is only for the
"impatient". Since I wanted to be thorough, as opposed to "impatient", I
read the PDF. I was trying to be a good user.
I will try the command as given in the INSTALL file. Thank you for pointing
that out. As a suggestion to the people who maintain this, they may which
to correct this typo.
What is $PREFIX supposed to mean?
Thanks,
Jeff
On Mon, Jul 25, 2011 at 12:51 PM, Jeff Krasky <jeff.krasky at dspcg.com> wrote:
I am trying this for the SECOND time. I took the advice and used a new
download of SUSE Linux 11.4 with kernel 2.6.37. Now I can't even get an
ethercat executable in /usr/bin and nothing in /etc/init.d/ either. WHY?
Does this work? All I want to do is download and compile the source, then
run it. I was given the impression that this was doable. Can someone help
me?
As user, I did:
./bootstrap //even though the docs mention the file should be called
bootstrap.sh
./configure
make all modules
make
make modules
As root, I did:
make modules_install install
depmod
make install
make modules install
depmod
cd /opt/etherlab
cp etc/sysconfig/ethercat /etc/sysconfig/
ln -s etc/init.d/ethercat /etc/init.d/
insserv ethercat
Even the insserve errors out: "insserv: ethercat: No such file or directory"
I also have an issue with running
/etc/init.d/ethercat start
I get the message "/etc/init.d/ethercat: No such file or directory"
Please help. The file I started from is
etherlabmaster-4adb56c4198d.tar.bz2. If this is a development version that
hasn't even been tested yet, which it appears to be if I can't even get
/usr/bin/ethercat, can someone point me a link to a version that WILL work?
Thanks,
Jeff
_______________________________________________
etherlab-users mailing list
etherlab-users at etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-users
--
Newell
More information about the Etherlab-users
mailing list