Thursday, October 17, 2019

Building weechat from source on RHEL8

I got a new corporate laptop today with RHEL8 pre-installed.  Weechat isn't in the repos, so it needed to be build from source.  Simple:

First, grab the source and unpack it

$ wget https://weechat.org/files/src/weechat-2.6.tar.xz
$ tar xf weechat-2.6.tar.xz

Install the needed development libraries:

$ sudo yum install -y libgcrypt-devel zlib-devel gnutls-devel\
                      libcurl-devel ncurses-devel php-devel \
                      perl-ExtUtils-Embed

Finally built it.  These steps are in the README.adoc file.

$ cd weechat-2.6
$ mkdir build
$ cd build
$ cmake ..
$ make
$ sudo make install

Trust, but verify:

$ weechat -version
2.6

Now happily chat with your IRC friends!