I am on kubuntu. $ sudo apt-get install build-dep gnubg Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package build-dep
On Wed, 4 Dec 2019 at 15:03, Russ Allbery <[email protected]> wrote: > > Joseph Heled <[email protected]> writes: > > > tried to compile gnubg > > missing glib2 > > any ideas? > > > checking for GLIB... no > > configure: error: You need to have glib2 version 2.8.0 or higher to > > compile GNU Backgammon > > joseph@blkdow:~/Projects/gnubg/gnubg$ sudo apt-get install glib2-devel > > Reading package lists... Done > > Building dependency tree > > Reading state information... Done > > E: Unable to locate package glib2-devel > > If you're trying to build on Debian or Ubuntu, you want to run: > > sudo apt-get install build-dep gnubg > > to get all the dependencies installed. Then you can run: > > apt-get source gnubg > > to get the latest source from Ubuntu, go into the gnubg directory, go to > the debian subdirectory, and edit the rules file. Find this bit: > > ifeq ($(DEB_HOST_ARCH_CPU),amd64) > SSE = --enable-simd=sse2 > else > SSE = --enable-simd=no > endif > > and change the flags in the amd64 branch. You should then be able to run > debian/rules build and it should do the rest. > > -- > Russ Allbery ([email protected]) <https://www.eyrie.org/~eagle/>
