Re: ./configure failure, can't find glib on debian-arm buster 10.1
On 2019-09-21, Gene Heskett <gheskett@shentel.net> wrote:
>
> My instant show stopper is in (fresh git clone today)
> linuxcnc-dev/src: ./configure --with-realtime=uspace
> [...]
> checking for GTK 2.4.0 or above... no
> configure: error: GTK2 missing. Install it or specify --disable-gtk to
> skip the parts of LinuxCNC that depend on GTK
>
> This is rasbian 10.1, so its got some wayland in it. What do I do next?
> Cheers, Gene Heskett
Rather than stabbing the darkness time and time again, did you perform the
following?
http://linuxcnc.org/docs/master/html/code/building-linuxcnc.html#Satisfying-Build-Dependencies
apt-get install dpkg-dev
sudo apt-get install dpkg-dev
Then ask your LinuxCNC git checkout to generate its Debian package meta-data:
cd linuxcnc-dev/debian
./configure uspace
cd ..
Finally ask dpkg-checkbuilddeps to do its job (note that it needs to run from
the linuxcnc-dev directory, not from linuxcnc-dev/debian):
dpkg-checkbuilddeps
It will emit a list of packages that are required to build LinuxCNC on your
system, but that are not installed yet. Install them all with sudo apt-get
install, followed by the package names.
You can rerun dpkg-checkbuilddeps any time you want, to list any missing packages.
--
"I understand what you’re saying, and your comments are valuable, but I’m
gonna ignore your advice." -- Fantastic Mr. Fox
Reply to: