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

More
3 years 1 month ago #280460 by zq17788959338@gmail.com
Code:
When I was executing "./configure --with-realtime=uspace"  [attachment=55898]326fafdb94d4b26e5884c1619de669b.png[/attachment] Reminder: I don't have 'python3 gi' When I was executing "sudo apt-get install python3-gi" Python 3 gi is already the latest version (3.30.4-1). I don't know where the problem is. who can help me?  [attachment=55900]微信图片_20230911160224.png[/attachment]
 linuxcnc version: 2.10.0~pre0

Please Log in to join the conversation.

More
3 years 1 month ago #280462 by rmu
Something went wrong with attaching the pictures.

Please Log in to join the conversation.

More
3 years 1 month ago #280463 by zq17788959338@gmail.com
image1:
checking for python pango module... Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'gi'
no
configure: error: Python pango module not found!
install with "sudo apt-get install python3-gi"

image2:
crush@debian:~/linuxcnc-dev/src$ sudo apt-get install python3-gi
Reading package list complete
Analyzing dependency tree for software package       
Reading status information complete
Python 3 gi is already the latest version (3.30.4-1).
0 software packages have been upgraded, 0 new packages have been installed, and 0 software packages need to be uninstalled. 179 software packages have not been upgraded.

 

Attachment not found

Attachment not found

Please Log in to join the conversation.

More
3 years 1 month ago #280474 by Cant do this anymore bye all
you can run
Code:
dpkg-checkbuilddeps
to see what is missing.

Please Log in to join the conversation.

More
3 years 1 month ago #280507 by rodw
Here is a video I did of the build process which may help. It shows how to use dpkg-checkbuilddeps

Please Log in to join the conversation.

More
3 years 1 month ago #280510 by zq17788959338@gmail.com
I have run 'dpkg-checkbuilddeps' 
 

Attachment not found


This shows that the dependency should have been installed

Please Log in to join the conversation.

More
3 years 1 month ago #280513 by Cant do this anymore bye all
hmmm that was interesting.

I have python3 installed, this is the line that runs the check where you are failing, I added the python3 bit, the original line is
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 ?  
[/code][/code][/code]

Please Log in to join the conversation.

More
3 years 1 month ago #280514 by zq17788959338@gmail.com
I followed the video to operate. When I execute 'sudo./configure -- with real-time=uspace'

When, the system will prompt me to install 'Python 3 gi', but I have this module in my system, so I don't know how to solve this problem.
 

Attachment not found


When I execute 'sudo./configure -- with real-time=uspace' again
 

Attachment not found


Remind me again that I need to install 'python3 gi'

Please Log in to join the conversation.

More
3 years 1 month ago #280516 by Cant do this anymore bye all
See my edited reply above your last

Please Log in to join the conversation.

More
3 years 1 month ago #280517 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
 

Please Log in to join the conversation.

Time to create page: 0.273 seconds
Powered by Kunena Forum