Install entire LinuxCNC precompiled package 2.5.4

More
10 years 11 months ago #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.
Code:
./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?
Code:
./autogen.sh (this builds the configure script) ./configure make install ??? make

Thanks a lot.

Please Log in to join the conversation.

More
10 years 11 months ago #66113 by cncbasher
cd src
.autogen.sh
./configure --prefix=/usr
make
sudo make setuid
make install

Please Log in to join the conversation.

More
10 years 11 months ago #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.

Please Log in to join the conversation.

More
10 years 7 months ago #71174 by jstoquica
Hi Everyone,

Any idea ????

Thanks a lot.

Please Log in to join the conversation.

More
10 years 7 months ago #71191 by cmorley
try:
make install-menus

Chris M

Please Log in to join the conversation.

More
10 years 7 months ago #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:
Code:
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.

Please Log in to join the conversation.

More
10 years 7 months ago #72326 by jstoquica
Hi everyone,

Any idea for this issue ?

Thanks.

Please Log in to join the conversation.

More
10 years 7 months ago #72373 by andypugh
You might need the "sudo make setuid" command?

Please Log in to join the conversation.

More
10 years 6 months ago #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 to join the conversation.

More
10 years 6 months ago #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 to join the conversation.

Time to create page: 2.060 seconds
Powered by Kunena Forum