- Posts: 9
- Thank you received: 0
make install
PS - I recently converted our Shopbot Dekstop cnc machine over to linuxcnc control. I modified vfdb_vfd.c source code - adapted it to work with the Shopbot's Delta VFD-S spindle. That was a 3 week journey
Please Log in to join the conversation.
jut wrote: Everything looks good, now I want to permanently install. I thought the command " make install-menus " would accomplish this, but it's the the case for me. Am I missing something?
You do this with ./configure --prefix=/usr
The re-run make. I think you may also see to "sudo make install". The ./configure script output tells you what to do if you specify a --prefix.
Please Log in to join the conversation.
- jepler
- New Member
-
- Thank you received: 0
The consequence of running "make install" is that without 100% manual removal of all files installed that way, or a full OS reinstall, you can NEVER run a pre-packaged version again, because the two different methods (operating system package and "make install") don't cooperate.
Consequently, I strongly recommend against doing this.
Once you have the git source tree, you can build it into a debian package in the normal debian way, with dpkg-buildpackge or similar wrappers. This yields a .deb file which can be installed in the normal way in a debian system.
Please Log in to join the conversation.
As far as I can tell run-in-place systems are vaguely inconvenient, in that you have to open a terminal and type terminal commands to run LinuxCNC, so I can fully understand the desire to create an installed version.
I wonder if it would be a lot of work to add a --create-debs option?
Please Log in to join the conversation.
- jepler
- New Member
-
- Thank you received: 0
It was reported in this thread that "make install-menus" didn't work. It works for me (debian jessie with xfce desktop environment), so we need more information to determine what is going on. Some DEs (one of the ones that John T tested that is in the Mint family) was simply broken for menus, so maybe there's a trick to it that we need to document.
Please Log in to join the conversation.
andypugh wrote: As far as I can tell run-in-place systems are vaguely inconvenient, in that you have to open a terminal and type terminal commands to run LinuxCNC, so I can fully understand the desire to create an installed version.
Andy, yes, precisely. I have 2.6.12, but am making mods to 2.7.3 code. I don't wanna worry about which version of halrun/stepconf/etc from any given terminal.
Jepler, thanks for the tip on creating a deb package. I tried that with success. I got the source with "apt-get source linuxcnc". Then built a deb package with "debuild -b -uc -us". Modified the source code, then installed with "dpkg -i linuxcnc_2.7.3_i386.deb".
Unfortunately though, I previously ran "make install" on the source code from my git clone. Hopefully there's no issues.
Jut
Please Log in to join the conversation.
jepler wrote: Meanwhile, getting clicky items for RIP buils is what "make install-menus" is for; the shortcut-creating feature of the config picker helps out here too
Can a desktop launcher icon thingy set up the rip-environment prior to launching LinuxCNC? I had assumed not and not bothered to try.
Please Log in to join the conversation.
Example:Can a desktop launcher icon thingy set up the rip-environment prior to launching LinuxCNC? I had assumed not and not bothered to try.
Example is debian jessie xfce
Please Log in to join the conversation.
