Skip to content
Alex Baines edited this page Jun 3, 2018 · 4 revisions

Building

insobot can be built on Linux with a recent version of gcc or clang via GNU make.

Just run make and the insobot executable will be built in the top-level directory, and the modules into a modules subdirectory that is created if necessary.

Dependencies

The main executable depends on:

  • libircclient
  • libcurl

Certain modules have additional dependencies:

  • mod_linkinfo, mod_twitch, mod_quotes, mod_imgmacro and others:

    • libyajl
  • mod_markov:

    • zlib
  • mod_imgmacro:

    • libcairo

zlib and cairo are optional, and mod_markov and mod_imgmacro are skipped by the makefile if they're not available.

Choosing modules

You can now select a subset of the modules to build by setting the MODULES variable in src/Makefile, or better yet, in the src/config.mk file. This latter file isn't in git, so won't get overwritten.

For a minimal set of modules, try this in src/config.mk: MODULES := core whitelist linkinfo But you'll probably want to add more.