Linuxcnc 2.9/Master on Gentoo
21 Jul 2022 05:41 - 21 Jul 2022 05:43 #247908
by Bari
Linuxcnc 2.9/Master on Gentoo was created by Bari
We are making a Gentoo ebuild for 2.9.
yapps2 fork:
github.com/NTULINUX/yapps2
The changes in 2.2.1-3.1 are in this commit:
github.com/NTULINUX/yapps2/commit/4e143b...c44b192326e70ebf3e85
And I have an ebuild (Gentoo package) which handles the installation using that repo:
github.com/NTULINUX/ntu_overlay/blob/mai...2/yapps2-9999.ebuild
This was all using the LinuxCNC master branch:
Commit: 9d025fa4ffa7af29c37cf99da03252513f2019dd
Commit message: Merge pull request #1854 from petterreinholdtsen/docs-fixme-not-foo
Initially, LinuxCNC had hundreds of Boost compiling errors, and these errors looked like one you'd get mixing gcc and Clang, so I forced CC="clang" CXX="clang++" LD="ld.lld" on my ./configure line for LinuxCNC, and all the problems went away, LinuxCNC compiled and came right up! I must say, if LinuxCNC did not support Clang, I would have been better off making a whole new root filesystem from scratch, all built using GCC. Luckily you guys included support for Clang, not sure if this was intentional or not, but THANK YOU!!!
Aside from my yapps2 ebuild, known required dependencies for LinuxCNC that I have satisfied right now are:
dev-lang/python (3.10.5) (USE=tk required)
dev-libs/libmodbus (3.1.7)
dev-libs/boost (1.79.0) (USE=python and python_targets_python3_10 required)
dev-tcltk/bwidget (1.9.15)
dev-python/pyopengl (3.1.6)
dev-tcltk/tclx (8.4.4)
Toolchain details:
sys-devel/clang (14.0.6)
sys-devel/lld (14.0.6)
yapps2 fork:
github.com/NTULINUX/yapps2
The changes in 2.2.1-3.1 are in this commit:
github.com/NTULINUX/yapps2/commit/4e143b...c44b192326e70ebf3e85
And I have an ebuild (Gentoo package) which handles the installation using that repo:
github.com/NTULINUX/ntu_overlay/blob/mai...2/yapps2-9999.ebuild
This was all using the LinuxCNC master branch:
Commit: 9d025fa4ffa7af29c37cf99da03252513f2019dd
Commit message: Merge pull request #1854 from petterreinholdtsen/docs-fixme-not-foo
Initially, LinuxCNC had hundreds of Boost compiling errors, and these errors looked like one you'd get mixing gcc and Clang, so I forced CC="clang" CXX="clang++" LD="ld.lld" on my ./configure line for LinuxCNC, and all the problems went away, LinuxCNC compiled and came right up! I must say, if LinuxCNC did not support Clang, I would have been better off making a whole new root filesystem from scratch, all built using GCC. Luckily you guys included support for Clang, not sure if this was intentional or not, but THANK YOU!!!
Aside from my yapps2 ebuild, known required dependencies for LinuxCNC that I have satisfied right now are:
dev-lang/python (3.10.5) (USE=tk required)
dev-libs/libmodbus (3.1.7)
dev-libs/boost (1.79.0) (USE=python and python_targets_python3_10 required)
dev-tcltk/bwidget (1.9.15)
dev-python/pyopengl (3.1.6)
dev-tcltk/tclx (8.4.4)
Toolchain details:
sys-devel/clang (14.0.6)
sys-devel/lld (14.0.6)
Attachments:
Last edit: 21 Jul 2022 05:43 by Bari. Reason: line spacing
Please Log in or Create an account to join the conversation.
23 Jul 2022 20:20 #248144
by Bari
Replied by Bari on topic Linuxcnc 2.9/Master on Gentoo
LCNC 2.9/master now running in Gentoo.
The following user(s) said Thank You: tommylight, JT
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19106
- Thank you received: 6398
29 Jul 2022 17:54 #248638
by tommylight
Replied by tommylight on topic Linuxcnc 2.9/Master on Gentoo
Sheeesh, whats with the stealthy spammers today??
Booted.
Booted.
Please Log in or Create an account to join the conversation.
02 Aug 2022 21:56 #248870
by Bari
Replied by Bari on topic Linuxcnc 2.9/Master on Gentoo
ebuild github.com/NTULINUX/ntu_overlay
# TODO:
# Fix documentation install directory (upstream bug?)
# Add CNC category to graphical menu drop-down
# Implement USE flags
# Check for PREEMPT_RT
# Maybe RTAI at some point
# TODO:
# Fix documentation install directory (upstream bug?)
# Add CNC category to graphical menu drop-down
# Implement USE flags
# Check for PREEMPT_RT
# Maybe RTAI at some point
Please Log in or Create an account to join the conversation.
16 Aug 2022 02:50 #249848
by Bari
Replied by Bari on topic Linuxcnc 2.9/Master on Gentoo
Attachments:
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
Time to create page: 0.106 seconds