Sound and Fury edited this page May 24, 2013 · 6 revisions
Clone this wiki locally

Welcome to the quIRC wiki!

Which tarball should I download? What’s a ‘gitless’ source tarball?

  • If you intend to do development on quIRC and possibly contribute your changes back to the project, you should clone the git repository, and not download a tarball at all.
  • Otherwise, you should download the ‘gitless’ source tarball (from http://jttlov.no-ip.org/projects/quirc.htm), which you should be able to compile with a simple ‘make’ (and optionally ‘sudo make install’).
  • At present we don’t provide prebuilt binaries.

A ‘gitless’ source tarball is one from which git calls, specifically the ‘git describe —tags’ used to generate the version number (and version.h), have been removed. This enables you to compile quIRC from source without having to clone the repository.

My system doesn’t have getaddrinfo_a() / It won’t compile!

getaddrinfo_a() is used to provide asynchronous name lookups, preventing quIRC’s interface from locking up while waiting for a server name to resolve. If your system doesn’t have it (it’s a glibc extension), copy ‘config.mak’ from the dist/ subdirectory into the main quirc directory, and uncomment the relevant lines. Note that the old synchronous NL code may not get as thorough testing as the new asynch NL.

Another possible source of compile errors is a bug in gcc, which occurs when using a C runtime library other than glibc, for example uclibc or musl. gcc complains because it disagrees with the C runtime on what an intmax_t is, and so printfs using %jd cause warnings (which -Werror promotes to errors). There is a workaround for this, which can be enabled using config.mak, similarly to the previous case.