I just downloaded 3.0.4rc2 to check it on a development box I recently had built for me.
It seems the configure script isn't checking to make sure pcre development libs are installed.
This was on a RHEL 6.5 64bit box.
....
CC src/lib/heap.c
CC src/lib/tcp.c
CC src/lib/base64.c
CC src/lib/version.c
/usr/bin/ld: cannot find -lpcre
collect2: ld returned 1 exit status
...
Then afterwards
....
CC src/lib/heap.c
CC src/lib/tcp.c
CC src/lib/base64.c
CC src/lib/version.c
CC src/tests/rbmonkey.c
LINK build/bin/rbmonkey
...
Might be worth adding a check in to make sure the development libs are available.
Cheers
Peter