- Posts: 8
- Thank you received: 0
Installing LinuxCNC 2.9 or Master on Linux Mint 21
3 years 7 months ago #266733
by song_gy
[/code]
Replied by song_gy on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
Code:
configure: error:
Could not link test program to Python. Maybe the main Python library has been
installed in some non-standard library path. If so, pass it to configure,
via the LIBS environment variable.
Example: ./configure LIBS="-L/usr/non-standard-path/python/lib"
============================================================================
ERROR!
You probably have to install the development version of the Python package
for your distribution. The exact name of this package varies among them.
============================================================================
[code] 选择 路径 优先级 状态
------------------------------------------------------------
0 /usr/bin/python3.11 2 自动模式
1 /usr/bin/python3.10 1 手动模式
* 2 /usr/bin/python3.11 2 手动模式
要维持当前值
-
[/code]Code:[code]请按<回车键>,或者键入选择的编号:
- It reports an error like this, when I use this command "./configure --with-realtime=uspace --disable-build-documentation-translation --enable-non"
Do you know what his problem is!
Looking forward to your reply
Thanks
Please Log in to join the conversation.
3 years 7 months ago #266735
by Aciera
Replied by Aciera on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
Hmm, I have never come across this error.
Did you execute:
$ ./autogen.sh
before running './configure.sh ....' ? In my case I had to install 'automake' first:
$ sudo apt install automake
Did you execute:
$ ./autogen.sh
before running './configure.sh ....' ? In my case I had to install 'automake' first:
$ sudo apt install automake
Please Log in to join the conversation.
3 years 7 months ago #266736
by song_gy
configure: error:
Could not link test program to Python. Maybe the main Python library has been
installed in some non-standard library path. If so, pass it to configure,
via the LIBS environment variable.
Example: ./configure LIBS="-L/usr/non-standard-path/python/lib"
============================================================================
ERROR!
You probably have to install the development version of the Python package
for your distribution. The exact name of this package varies among them.
============================================================================
Yes I also installed "automake"
But the error still exists
Thank you very much for your reply, it seems that I can only live bookworm version
Replied by song_gy on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
Code:
song@song-virtual-machine:~$ sudo apt install automake
[sudo] song 的密码:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成
automake 已经是最新版 (1:1.16.5-1.3)。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
song@song-virtual-machine:~$ cd linuxcnc-dev/src
song@song-virtual-machine:~/linuxcnc-dev/src$ ./autogen.sh
song@song-virtual-machine:~/linuxcnc-dev/src$ ./configure --with-realtime=uspace --disable-build-documentation-translation --enable-non-distributable
checking for c++... c++
checking whether the C++ compiler works... yes
configure: error:
Could not link test program to Python. Maybe the main Python library has been
installed in some non-standard library path. If so, pass it to configure,
via the LIBS environment variable.
Example: ./configure LIBS="-L/usr/non-standard-path/python/lib"
============================================================================
ERROR!
You probably have to install the development version of the Python package
for your distribution. The exact name of this package varies among them.
============================================================================
Yes I also installed "automake"
But the error still exists
Thank you very much for your reply, it seems that I can only live bookworm version
Please Log in to join the conversation.
3 years 7 months ago #266737
by Aciera
Replied by Aciera on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
Here is a list of installed packages from my terminal history. (Some may be unnecessary as it can be a bit of a process of trial and error to get the right packages installed) :
sudo apt install automake
sudo apt install libudev-dev
sudo apt install libusb-1.0-0-dev
sudo apt install glib
sudo apt install libglib2.0-dev
sudo apt install libgtk-3-dev
sudo apt install yapps2
sudo apt install intltool
sudo apt install tcl8.6-dev tk8.6-dev
sudo apt install bwidget
sudo apt install tclx
sudo apt install libreadline-gplv2-dev
sudo apt install libxmu6
sudo apt install libxmu-dev
sudo apt install asciidoc
sudo apt install libmodbus-dev
sudo apt install libgtk2.0-dev
sudo apt install libboost-python-dev
#python update as per howto in the link
sudo apt update
sudo apt install python3.11-full
sudo apt install python3-gi
sudo apt install libpango-1.0-0
sudo apt install automake
sudo apt install libudev-dev
sudo apt install libusb-1.0-0-dev
sudo apt install glib
sudo apt install libglib2.0-dev
sudo apt install libgtk-3-dev
sudo apt install yapps2
sudo apt install intltool
sudo apt install tcl8.6-dev tk8.6-dev
sudo apt install bwidget
sudo apt install tclx
sudo apt install libreadline-gplv2-dev
sudo apt install libxmu6
sudo apt install libxmu-dev
sudo apt install asciidoc
sudo apt install libmodbus-dev
sudo apt install libgtk2.0-dev
sudo apt install libboost-python-dev
#python update as per howto in the link
sudo apt update
sudo apt install python3.11-full
sudo apt install python3-gi
sudo apt install libpango-1.0-0
Please Log in to join the conversation.
3 years 7 months ago #266738
by Aciera
Replied by Aciera on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
Also, have you checked that the folders 'python3', 'python3.10', 'python3.11' are present in '/usr/lib' ?
Please Log in to join the conversation.
3 years 7 months ago #266741
by song_gy
Replied by song_gy on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
Yes all of them are up to date
I will try a few more times
It's also possible that I'm running in a virtual machine
I will try a few more times
It's also possible that I'm running in a virtual machine
Please Log in to join the conversation.
- tommylight
-
Topic Author
- Away
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
3 years 7 months ago #266745
by tommylight
Replied by tommylight on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
Spammer booted.
Please Log in to join the conversation.
- my1987toyota
- Offline
- Platinum Member
-
Less
More
- Posts: 1003
- Thank you received: 0
3 years 7 months ago #266790
by my1987toyota
Replied by my1987toyota on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
I think they're multiplying.Spammer booted.
Please Log in to join the conversation.
3 years 4 months ago #273775
by Aciera
Replied by Aciera on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
Just as a little experiment I removed the configure check for pango on a recent rip install, which is where the build always failed for me when using Mint21 (Python 3.10.6). LinuxCNC then built just fine. Starting configs then give errors about missing opengl and missing qt packages that could easily be installed from the mint repo and I got an apparently working RIP install on Mint21 using Python 3.10.6.
If anybody knows why Python version 3.11 and above is stated as a requirement then please leave a comment.
Thanks
If anybody knows why Python version 3.11 and above is stated as a requirement then please leave a comment.
Thanks
Please Log in to join the conversation.
- tommylight
-
Topic Author
- Away
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
3 years 4 months ago #273777
by tommylight
Replied by tommylight on topic Installing LinuxCNC 2.9 or Master on Linux Mint 21
Compiling and building debs almost always worked for Mint, it just takes a bit of time.
Granted, the docs gave issues for as far as i can recall back, then again i rarely build debs.
I always aim to find the simplest way to install, so new users do not have to go through a bunch of hoops and get lost in the way.
As for Python, i really liked it ... i said liked, past tense. Now it has become a headache of huge proportions.
Now with Debian it is very easy, a single line and it is up and running.
Again, granted you do not bump into Debian messes, they also tend to do a lot of those, like, yesterday i downloaded the Hybrid ISO with Mate desktop, installed, installing LinuxCNC fails while building the kernel, but LinuxCNC installs and runs OK, without the RT kernel as it insists on having some raspi (raspberry PI) stuff despite being a 64bit AMD version. Had to delete 3 files for rpi stuff, on a 64bit AMD version!!!
After removing those files, everything works perfectly well.
Just to be clear, that is a Debian Mate issue, XFCE version does not seem to have it, and i have not tested other flavors/versions.
Granted, the docs gave issues for as far as i can recall back, then again i rarely build debs.
I always aim to find the simplest way to install, so new users do not have to go through a bunch of hoops and get lost in the way.
As for Python, i really liked it ... i said liked, past tense. Now it has become a headache of huge proportions.
Now with Debian it is very easy, a single line and it is up and running.
Again, granted you do not bump into Debian messes, they also tend to do a lot of those, like, yesterday i downloaded the Hybrid ISO with Mate desktop, installed, installing LinuxCNC fails while building the kernel, but LinuxCNC installs and runs OK, without the RT kernel as it insists on having some raspi (raspberry PI) stuff despite being a 64bit AMD version. Had to delete 3 files for rpi stuff, on a 64bit AMD version!!!
After removing those files, everything works perfectly well.
Just to be clear, that is a Debian Mate issue, XFCE version does not seem to have it, and i have not tested other flavors/versions.
Please Log in to join the conversation.
Time to create page: 0.170 seconds
