about:./configure --with-realtime=uspace

More
12 Sep 2023 05:25 #280523 by zq17788959338@gmail.com

嗯,这很有趣。

我安装了python3,这是运行检查您失败的行,我添加了python3位,原始行是
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]



 
[/code][/code][/code][/code]

Attachments:

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

More
12 Sep 2023 06:36 #280525 by rmu
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
./configure --with-realtime=uspace 2>&1 >configure.txt
[*], 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

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

More
12 Sep 2023 12:05 - 12 Sep 2023 12:08 #280534 by cornholio
What does
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.

More
12 Sep 2023 12:21 #280535 by rodw

I 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

 

ooops, I forgot to add a link forum.linuxcnc.org/9-installing-linuxcnc...or-linuxcnc-x86-only

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

More
12 Sep 2023 13:06 #280538 by tommylight

For anyone listening in which was the last version of Linuxcnc to build against python 2.7 ?

Early builds of 2.8.
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.

More
12 Sep 2023 15:07 #280557 by cornholio
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.

More
12 Sep 2023 15:36 #280562 by tommylight
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! :)

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

More
13 Sep 2023 01:05 #280585 by zq17788959338@gmail.com
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.

More
13 Sep 2023 01:12 #280586 by zq17788959338@gmail.com
thank you.This problem has been solved.

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

More
13 Sep 2023 05:06 #280596 by cornholio
What version of Debian did you sue ?

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.174 seconds
Powered by Kunena Forum