Install entire LinuxCNC precompiled package 2.5.4

More
10 years 6 months ago #72580 by jstoquica
Hi BigJohnT,

Is there some reason your not using the LiveCD to install Ubuntu 10.04 with LinuxCNC?


Yes, It is. I have new kinmeatics file (*.c) for a manipulator robot. Let see:

forum.linuxcnc.org/forum/10-advanced-con...b6-s2-simulation-pre

Then I need to compile the entire linuxcnc package in RIP mode to test, and then compile in the entire system.

Thanks.

Please Log in to join the conversation.

More
10 years 6 months ago #72583 by BigJohnT
Here is how I build and install LinuxCNC on LinuxMint 17.3 with the Mate desktop

gnipsel.com/files/linuxmint/mint17.3.txt

JT

Please Log in to join the conversation.

More
10 years 6 months ago #72586 by jstoquica
BigJohnT,

But I have my own configuration in the package source file, It is not a new installation. I compiled the entire linuxcnc package with:
Code:
cd src .autogen.sh ./configure --prefix=/usr make sudo make setuid make install

But 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)

Thanks.

Please Log in to join the conversation.

More
10 years 6 months ago #72587 by BigJohnT
Sure you skip the step about cloning as you have done that already. Building a deb and installing it with the package manager works for me. Not sure why make install fouls it up.

JT

Please Log in to join the conversation.

More
10 years 6 months ago #72791 by cncnoob1979
I had the same issue as you with Mint 17.3, what I did was go to users and make myself an admin user. This cleared it up. I couldn't find another way to "fix" my issue. I still have to use an su password for anything admin related.

Not sure what the issue was that caused this. But I tried multiple times and that is how I got mine working without the headache

Please Log in to join the conversation.

More
10 years 6 months ago #72804 by BigJohnT

cncnoob1979 wrote: I had the same issue as you with Mint 17.3, what I did was go to users and make myself an admin user. This cleared it up. I couldn't find another way to "fix" my issue. I still have to use an su password for anything admin related.

Not sure what the issue was that caused this. But I tried multiple times and that is how I got mine working without the headache


I wonder what you did different than me, I've never had to play with the user. I've installed LinuxMint 17.3 with Mate desktop about 20 times to be sure I had it right. I use the instructions here

gnipsel.com/files/linuxmint/mint17.3.txt

JT

Please Log in to join the conversation.

More
10 years 6 months ago #72807 by cncnoob1979
John,

I used your directions to install Linux mint with :) If it wasn't for your instructions I would not have attempted it! So thanks for having your instructions available. It was just a minor inconvenience and reading your website has help me a lot!

Thanks!

Please Log in to join the conversation.

More
10 years 5 months ago #74979 by jstoquica
Hi,

I made a mistake. I deleted "Makefile" from /usr/src/linux-headers-2.6.32-122-rtai, and when I try to compile linuxcnc from source with any modification of my config, It generates error!

make[1]: Entering directory `/usr/src/linux-headers-2.6.32-122-rtai'
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-122-rtai'
make[1]: *** No rule to make target `modules'. Stop.
make: *** [modules] Error 2


I think with compiling linuxcnc from source the linuxheaders files will recover, but nothing ....... How can I fix that?

Thanks.

Please Log in to join the conversation.

More
10 years 5 months ago #74984 by andypugh
I think that autogen might re-create the makefile from makefile.inc.

So, before panicing, do the ./configure and ./autogen.sh steps. (I ave managed to foget which order they come in)

Please Log in to join the conversation.

More
10 years 5 months ago #74986 by jstoquica
Hi Andy,

I did it, a lot of times:
Code:
./autogen.sh ./configure --prefix=/usr make clean make make install

But It generates the same error. It didn't re-create the Makefile....

Thanks....

Please Log in to join the conversation.

Time to create page: 0.305 seconds
Powered by Kunena Forum