bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: current development


From: Russ Allbery
Subject: Re: current development
Date: Tue, 03 Dec 2019 18:03:34 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Joseph Heled <address@hidden> 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 (address@hidden)             <https://www.eyrie.org/~eagle/>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]