about:./configure --with-realtime=uspace
- zq17788959338@gmail.com
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 1
12 Sep 2023 05:25 #280523
by zq17788959338@gmail.com
Replied by zq17788959338@gmail.com on topic about:./configure --with-realtime=uspace
嗯,这很有趣。
我安装了python3,这是运行检查您失败的行,我添加了python3位,原始行是[/code][/code][/code][/code]if $PYTHON -c "import gi;gi.require_version('Pango', '1.0');from gi.repository import Pango"; then . [code]python3 -c "import gi;gi.require_version('Pango', '1.0');from gi.repository import Pango" was ok [code]python -c "import gi;gi.require_version('Pango', '1.0');from gi.repository import Pango" failed After linking /usr/bin/ptyhon3 to /usr/bin/python [code]python -c "import gi;gi.require_version('Pango', '1.0');from gi.repository import Pango" was ok What does [code]python --version[/return] ? Does Buster have both python3 & python2.x installed ? yes.I have python2.x &python3.x [attachment=55914]20230912132341.png[/attachment]
Attachments:
Please Log in or Create an account to join the conversation.
12 Sep 2023 06:36 #280525
by rmu
Replied by rmu on topic about:./configure --with-realtime=uspace
Try to capture the complete output of the ./configure command. It seems there are a bunch of other python related missing dependencies (libboost_python missing). You can capture the output into a text file with[*], also there should be a config.log that could give hints to what is failing and how. Before trying again run "make distclean".
[*] stackoverflow.com/questions/818255/what-does-21-mean
./configure --with-realtime=uspace 2>&1 >configure.txt
[*] stackoverflow.com/questions/818255/what-does-21-mean
Please Log in or Create an account to join the conversation.
12 Sep 2023 12:05 - 12 Sep 2023 12:08 #280534
by cornholio
Replied by cornholio on topic about:./configure --with-realtime=uspace
What does
I wouldn't go messing around with python too much as it can play havoc with apt. For anyone listening in which was the last version of Linuxcnc to build against python 2.7 ?
python --version return ?
I wouldn't go messing around with python too much as it can play havoc with apt. For anyone listening in which was the last version of Linuxcnc to build against python 2.7 ?
Last edit: 12 Sep 2023 12:08 by cornholio.
Please Log in or Create an account to join the conversation.
12 Sep 2023 12:21 #280535
by rodw
Replied by rodw on topic about:./configure --with-realtime=uspace
ooops, I forgot to add a link forum.linuxcnc.org/9-installing-linuxcnc...or-linuxcnc-x86-onlyI would recommend you build linuxcnc on a Bookworm installation.
I built an installer which do it all for you.
This will include linuxcnc 2.9 installed as a deb but that is the whole point of the rip-environment command. It will override the 2.9 settings while that window is opened.
If you do build 2.9 debs, I always first uninstall what is there
sudo apt remove linuxcnc-uspace linuxcnc-uspace-dev
Then reinstall the new ones you built (replace the x's with the full deb name with cut and paste)
sudo dpkg -i linuxcnc-uspacexxxxxx
sudo dpkg -i linuxcnc-uspace-devxxxxxx
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6432
12 Sep 2023 13:06 #280538
by tommylight
Here is a link to ready made debs, try stretch 2.8 or 2.7, or maybe even Jessie also 2.8 or 2.7.
linuxcnc.org/dists/
Replied by tommylight on topic about:./configure --with-realtime=uspace
Early builds of 2.8.For anyone listening in which was the last version of Linuxcnc to build against python 2.7 ?
Here is a link to ready made debs, try stretch 2.8 or 2.7, or maybe even Jessie also 2.8 or 2.7.
linuxcnc.org/dists/
Please Log in or Create an account to join the conversation.
12 Sep 2023 15:07 #280557
by cornholio
Replied by cornholio on topic about:./configure --with-realtime=uspace
Thanks Tommy, but I meant which was the last before the changes were made for Python 3. Not pre built packages but source tree.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6432
12 Sep 2023 15:36 #280562
by tommylight
Replied by tommylight on topic about:./configure --with-realtime=uspace
No idea, rarely build it, i force myself to use ready made stuff so i can make it easier for new users.
Now i have become obsolete since LinuxCNC is in Debian repos!
Now i have become obsolete since LinuxCNC is in Debian repos!
Please Log in or Create an account to join the conversation.
- zq17788959338@gmail.com
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 1
13 Sep 2023 01:05 #280585
by zq17788959338@gmail.com
Replied by zq17788959338@gmail.com on topic about:./configure --with-realtime=uspace
Thank you all. I reinstalled the Debian system yesterday. Rebuild. This problem has disappeared.
Please Log in or Create an account to join the conversation.
- zq17788959338@gmail.com
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 1
13 Sep 2023 01:12 #280586
by zq17788959338@gmail.com
Replied by zq17788959338@gmail.com on topic about:./configure --with-realtime=uspace
thank you.This problem has been solved.
Please Log in or Create an account to join the conversation.
13 Sep 2023 05:06 #280596
by cornholio
Replied by cornholio on topic about:./configure --with-realtime=uspace
What version of Debian did you sue ?
Just in case someone else has the same issue.
Just in case someone else has the same issue.
Please Log in or Create an account to join the conversation.
Time to create page: 0.175 seconds