Find the answer to your Linux question:
Results 1 to 4 of 4
Hi I'm trying to install ETHNOS, a programming environment for the design of a real time control system composed of different robots, devices and external supervising or control stations. Installing ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2013
    Posts
    2

    cp: cannot create regular file: ****************


    Hi I'm trying to install ETHNOS, a programming environment for the design of a real time control system composed of different robots, devices and external supervising or control stations.
    Installing instruction are simple:
    cd source
    make
    make install

    but when i use make install then it says:
    cp *.h /usr/include
    cp: cannot create regular file `/usr/include/broadrx.h': Permission denied
    cp: cannot create regular file `/usr/include/broadtx.h': Permission denied
    cp: cannot create regular file `/usr/include/etconst.h': Permission denied
    cp: cannot create regular file `/usr/include/etctlmsg.h': Permission denied
    cp: cannot create regular file `/usr/include/etexpert.h': Permission denied
    cp: cannot create regular file `/usr/include/etkernel.h': Permission denied
    cp: cannot create regular file `/usr/include/etmasks.h': Permission denied
    cp: cannot create regular file `/usr/include/etmemory.h': Permission denied
    cp: cannot create regular file `/usr/include/etmsg.h': Permission denied
    cp: cannot create regular file `/usr/include/etmsgbmb.h': Permission denied
    cp: cannot create regular file `/usr/include/etsubsched.h': Permission denied
    cp: cannot create regular file `/usr/include/ettimer.h': Permission denied
    cp: cannot create regular file `/usr/include/exception.h': Permission denied
    cp: cannot create regular file `/usr/include/libsock.h': Permission denied
    cp: cannot create regular file `/usr/include/mastersocket.h': Permission denied
    cp: cannot create regular file `/usr/include/sockexrx.h': Permission denied
    cp: cannot create regular file `/usr/include/sockextx.h': Permission denied
    cp: cannot create regular file `/usr/include/trace.h': Permission denied
    cp: cannot create regular file `/usr/include/trace_generic.h': Permission denied
    make: *** [install] Error 1

    Thanks

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,390
    Hi and welcome

    You compiled the source as a regular user, which is good.
    But the last command (make install) tries to copy the files into the system, to which a regular user doesnt have write access.

    By using "sudo make install" the copy will succeed.
    However, you will introduce unmanaged files into the system.
    On a private machine/VM this might be accecptable, though.
    You must always face the curtain with a bow.

  3. #3
    Just Joined!
    Join Date
    Mar 2013
    Posts
    2
    Thanks
    I think you solved my problem, unfortunately i'm new in the lunx world so everything is a problem for me,
    and i'm also new in the forum so i don't know if i have to give you feedback or not.

  4. #4
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,390
    No worries, all is well.

    It might be good for future questions, if you include your distribution and version.
    You are probably using ubuntu, as you have chosen the ubuntu section, but the version makes a difference in some cases.

    Also it is good practice to use the CODE tags for examples and output, as this increases readability.
    e.g.
    Code:
    echo "hello world"
    You must always face the curtain with a bow.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •