Custom Mint-19.2 with Linuxcnc

More
20 Feb 2020 08:25 - 20 Feb 2020 08:28 #157948 by BeagleBrainz
This is the script I use to pull in the deps to build Linuxcnc when running MATE Desktop.

Many thanks to JT
#!/bin/sh
sudo apt-get install devscripts build-essential \
 debhelper dh-python libudev-dev libxenomai-dev \
 tcl8.6-dev tk8.6-dev libreadline-gplv2-dev \
 asciidoc dblatex dvipng graphviz groff \
 imagemagick inkscape python-lxml source-highlight \
 texlive-extra-utils texlive-font-utils \
 texlive-fonts-recommended texlive-lang-cyrillic \
 texlive-lang-french texlive-lang-german \
 texlive-lang-polish texlive-lang-spanish \
 texlive-latex-recommended w3c-linkchecker \
 asciidoc-dblatex python-dev python-tk \
 libxmu-dev libglu1-mesa-dev libgl1-mesa-dev \
 libgtk2.0-dev libboost-python-dev \
 libmodbus-dev libusb-1.0-0-dev yapps2

If anything is missing please add to it.
Last edit: 20 Feb 2020 08:28 by BeagleBrainz.
The following user(s) said Thank You: rodw

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

More
20 Feb 2020 08:27 #157949 by rodw
Replied by rodw on topic Custom Mint-19.2 with Linuxcnc
Which is probably reported if you follow the process here:
linuxcnc.org/docs/2.8/html/code/building...g-Build-Dependencies
The following user(s) said Thank You: BeagleBrainz

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

More
20 Feb 2020 08:34 #157953 by BeagleBrainz
Do you think it would be an idea to add a script that pulls in the deps then gets the source from git, to save a bit of time and hassle if people wanna build from source ?

I could add it to /user/local/bin so its out of the way.

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

More
20 Feb 2020 08:39 #157955 by rodw
Replied by rodw on topic Custom Mint-19.2 with Linuxcnc
It would be handy but if it needs editing, it would be easier if its in the home folder somewhere. Maybe just in the linuxcnc folder.

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

More
20 Feb 2020 09:24 #157960 by BeagleBrainz
I can place it in /etc/skel/utils/bin in the iso image.

When a new user is created they will have the scrpit in $HOME/utils/bin. The user can will have rw permissions and can run the file by sh ~/utils/bin/get-build-deps.sh.

I can also place a README.txt file in /etc/skel which will be placed in the users home directory...hopefully if the user goes into their home directory they will read it.

Or maybe call it building-linuxcnc-if-needed.txt

I will bet some users will still have issues. hahahaha

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

More
20 Feb 2020 09:42 #157967 by phillc54
Why not just add all the dependencies in the ISO.

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

More
20 Feb 2020 10:12 #157972 by BeagleBrainz
It adds a fair old bit to the iso and not everyone will need it. As it stands my google drive is just about full. If I add it to one it'd need adding to all 4.
If there is enough call for it, I doubt there would be, I'd think about it.

But for the moment I'd like to have a few more users run with the images and report any bugs and then stamp them out.

Personally I use a installation of Stretch that I have made a custom net install image that I can install via pxe. I have a complete local mirror of Stretch AMD64 repo, which I need to update. ;)

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

More
20 Feb 2020 10:17 #157973 by phillc54
Yeah, I thought Google Drive was a fair size until I uploaded a few ISOs.

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

More
20 Feb 2020 11:23 #157982 by BeagleBrainz
I've had to delete some ISOs I've had stored to make room for the recent ones.

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

More
20 Feb 2020 11:28 #157983 by phillc54
I got half through an upload and it stopped cause I forgot to empty the trash, it's a pain.

I was thinking of making another me on Google.

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

Time to create page: 0.139 seconds
Powered by Kunena Forum