I just tried this on Debian Bookworm. It had been a while since I cloned
the source so I used these commands
git checkout 2.9
git pull
cd linuxcnc_dev/src
./autogen.sh
./configure --with-realtime=uspace
make

 It compiles fine. There was one new dependency I had to install and it
told me exactly the command to use.
I don't think you can assume it will compile out of the box on other
platforms any more due to divergence between the distros.

Rod Webster
*1300 896 832*
+61 435 765 611
Vehicle Modifications Network
www.vehiclemods.net.au


On Sun, 8 Dec 2024 at 08:20, Bertho Stultiens <l...@vagrearg.org> wrote:

> On 12/7/24 20:34, Rod Webster wrote:
> > What happens when you checkout the tag v2.9.3?
> > This is the currently released code. It should compile OK.
>
> Version tagged v2.9.3 fails in configure with:
>
> checking for python pango module... Traceback (most recent call last):
>    File "<string>", line 1, in <module>
> ImportError: No module named gi
> no
> configure: error: Python pango module not found!
> install with "sudo apt-get install python3-gi"
>
>
> I use Fedora, not Debian or Ubuntu. The package is installed, but
> apparently not compatible or found (running Python 3.12). Removing the
> check in configure.ac and running again will get me through configure,
> but then it bails on:
>
> Compiling hal/components/panelui.c
> hal/components/panelui.c: In function ‘main’:
> hal/components/panelui.c:210:22: error: implicit declaration of function
> ‘Py_DecodeLocale’ [-Werror=implicit-function-declaration]
>    210 |     wchar_t *wname = Py_DecodeLocale(name, NULL);
> ...
>
>
> But anyway, the HEAD of 2.9 branch should compile. It doesn't fail where
> v2.9.3 fails. This is the "minor-update and bug-fix" branch of the
> current release series. The errors provoked in 2.9/HEAD really look some
> bad code committed somewhere.
>
> --
> Greetings Bertho
>
> (disclaimers are disclaimed)
>
>
>
> _______________________________________________
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>

_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to