Install entire LinuxCNC precompiled package 2.5.4

More
30 Nov 2015 15:20 #66111 by jstoquica
Good Day Everyone,

I have the source package of linuxcnc 2.5.4, downloaded from linuxcnc.org/dists/precise/linuxcnc2.5/source/ (linuxcnc_2.5.4.tar.gz)

In Ubuntu 10.04 with LinuxCNC 2.5.4 installed with LinuxCNC live CD, I compiled in RIP mode a downloaded package with the same version of the installed one.

Now, I have my conf in RIP mode but I want install the compiled package 2.5.4 in my current system. How do I do it?

In the install package and wiki.linuxcnc help are a complete instructions with it, but until now I don't know how compile all (make install?) with Ubuntu 10.04 and LinuxCNC 2.5.4 installed.
./autogen.sh  (this builds the configure script)
./configure
make clean
make
sudo make setuid

the commands make and sudo make setuid are only for RIP mode. How can I install my pre-compiled package?
./autogen.sh  (this builds the configure script)
./configure
make install ???
make

Thanks a lot.

Please Log in or Create an account to join the conversation.

More
30 Nov 2015 16:51 #66113 by cncbasher
cd src
.autogen.sh
./configure --prefix=/usr
make
sudo make setuid
make install
The following user(s) said Thank You: jstoquica

Please Log in or Create an account to join the conversation.

More
30 Nov 2015 17:29 - 30 Nov 2015 17:31 #66122 by jstoquica
Thanks for the answer.

It was a success!

How can I fix the launcher menu and the examples options with normal user? I have to run linuxcnc through terminal typing "linuxcnc" with root user and the option to generate a copy of the examples configs in /home/user/linuxcnc/configs disappeared. Other linuxcnc Launchers are running.

That install option from same linuxcnc pre-compiled package mesh with the original linuxcnc installation or how does it work?

Thanks a lot.
Last edit: 30 Nov 2015 17:31 by jstoquica.

Please Log in or Create an account to join the conversation.

More
07 Mar 2016 18:46 #71174 by jstoquica
Hi Everyone,

Any idea ????

Thanks a lot.

Please Log in or Create an account to join the conversation.

More
07 Mar 2016 23:11 #71191 by cmorley
try:
make install-menus

Chris M

Please Log in or Create an account to join the conversation.

More
24 Mar 2016 15:38 - 24 Mar 2016 15:38 #72097 by jstoquica
Hi,

After compile entire package, I can't run linuxcnc without root permissions. If I type "linuxcnc" in command line with normal user, system returns:
LINUXCNC - 2.5.4
Error in startup script: couldn't read directory "/usr/share/doc/linuxcnc/examples/sample-configs/": permission denied
    while executing
"glob -nocomplain $dir/*"
    (procedure "walktree" line 7)
    invoked from within
"walktree $dir"
    ("foreach" body line 4)
    invoked from within
"foreach dir $::configs_dir_list {
  if {[info exists visited($dir)]} continue
  set visited($dir) {}
  walktree $dir
}"
    (file "/usr/lib/tcltk/linuxcnc/bin/pickconfig.tcl" line 325)

How can I compile a entire package and run like normal user? Is It possible?

Thanks.
Last edit: 24 Mar 2016 15:38 by jstoquica.

Please Log in or Create an account to join the conversation.

More
29 Mar 2016 14:38 #72326 by jstoquica
Hi everyone,

Any idea for this issue ?

Thanks.

Please Log in or Create an account to join the conversation.

More
30 Mar 2016 10:18 #72373 by andypugh
You might need the "sudo make setuid" command?

Please Log in or Create an account to join the conversation.

More
31 Mar 2016 22:45 #72496 by jstoquica
Hi Andy,

I don't know, I only followed the system instruction. Doesn't I use that command?

Thanks.

Please Log in or Create an account to join the conversation.

More
02 Apr 2016 12:15 #72564 by BigJohnT
Is there some reason your not using the LiveCD to install Ubuntu 10.04 with LinuxCNC? That is the easy way for sure and you can update to LinuxCNC 2.7.4 with a small change to the Synaptic Package Manager and still have Ubuntu 10.04. I have several CNC machines still running Ubuntu 10.04 and have LinuxCNC 2.7.4.

linuxcnc.org/docs/2.7/html/getting-start...dating-linuxcnc.html

JT

Please Log in or Create an account to join the conversation.

Time to create page: 0.202 seconds
Powered by Kunena Forum