I've built linuxcnc from source many times, but since upgrading to trixie, it no longer works. I'm following the instructions at
Building LinuxCNC
. I don't think they are entirely correct. In section 4.2 (Building Debian Packages) it says the following:
Code:
$ sudo apt-get install build-essential
$ git clone https://github.com/LinuxCNC/linuxcnc.git linuxcnc-source-dir
$ cd linuxcnc-source-dir/src
$ ./debian/configure
$ sudo apt-get build-dep .
$ DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -B
The result of ./debian/configure is bash: ./debian/configure: No such file or directory
If I don't cd into src, like it says in the previous step, then configure works.
The result of sudo apt-get build-dep . is Error: Unsupported file . given on commandline
The result without the . is Error: Unable to locate package build-dep
If I just go ahead anyway and run the last line, it seems to compile but ends with:
Code:
dh_auto_build: error: cd src && make -j4 build-software returned exit code 2
make[1]: *** [debian/rules:57: override_dh_auto_build-arch] Error 2
make[1]: Leaving directory '/home/jim/linuxcnc-dev'
make: *** [debian/rules:45: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
Since it appears buildbot is not building debs for trixie, my only option is to build from source. What is the correct procedure for building deb files for trixie? Thanks,
Jim