Like akkartik before me, I'm having some trouble. Here's my story:
Started from a barely used Linux Mint 12 installation.
Installed libgmp-dev, check, and git. (The packages pkg-config,
autoconf, automake, and libtool were already installed.)
Created an SSH key and set it up with GitHub.
mkdir -p ~/mine/prog/repo
git clone git://github.com/dido/arcueid.git
Got the following error, among other output:
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT compiler.lo -MD -MP -MF .deps/compiler.Tpo -c -o compiler.lo compiler.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT compiler.lo -MD -MP -MF .deps/compiler.Tpo -c compiler.c -fPIC -DPIC -o .libs/compiler.o
compiler.c: In function 'macex':
compiler.c:81:9: error: 'debug' undeclared (first use in this function)
compiler.c:81:9: note: each undeclared identifier is reported only once for each function it appears in
make: *** [compiler.lo] Error 1
to the end of /etc/ld.so.conf and then run ldconfig -v. This is a frequent issue when it comes to shared libraries that get installed in /usr/local/lib. I have no idea why most Linux distros don't like to put /usr/local/lib in ld.so.conf by default. It is extremely irritating, since most everything one builds from source installs there by default.
Interestingly, this is what /etc/ld.so.conf looked like before:
And this was in /etc/ld.so.conf.d/libc.conf:
# libc default configuration
The "include" line doesn't seem to do what it looks like it's supposed to do. :-p The man page for ldconfig doesn't mention "include" at all (nor #-comments...). It would be funny if Linux Mint came with this kind of ld.so.conf but its version of ldconfig thought "include" was just another directory in the list.