Можете помочь?
Помогите себе сами, это (в данном случае не сложно).
1. Видим ошибку
checking for pcre.h... no
configure: error: pcre.h is required. Please see INSTALL
Читаем config.log:
configure:6990: checking pcre.h usability
configure:6990: g++ -c -g -O2 -pthread -pthread -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/FTGL -I/usr/include/freetype2 -pthread -pthread -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/fr
conftest.cpp:60:18: error: pcre.h: No such file or directory
...
...
| /* confdefs.h */
| #define PACKAGE_NAME "Gource"
| #define PACKAGE_TARNAME "gource"
....
... выкинуто много несущественного
....
| #endif
| #include <pcre.h>
Видим, что не собирается банальный файл с #include <pcre.h>
2. Ищем, а есть ли такой файл
[karlson@roof gource-0.32]$ locate pcre.h
locate: warning: database `/var/lib/locate/locatedb' is more than 8 days old
/usr/include/pcre/pcre.h
/usr/share/doc/pcre-8.10/html/pcre.html
Ага, файл есть, но не в /usr/include, а глубже, в pcre/.
3. Ищем в configure.ac (это файл, из которого autotools делают скрипт configure) упоминание pcre.h, и заменяем на pcre/pcre.h
Запускаем пересоздание configure
[karlson@roof gource-0.32]$ autoreconf
/usr/share/aclocal/sigc++.m4:8: warning: underquoted definition of AM_PATH_SIGC
/usr/share/aclocal/sigc++.m4:8: run info '(automake)Extending aclocal'
/usr/share/aclocal/sigc++.m4:8: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
Useless use of /d modifier in transliteration operator at /usr/share/automake-1.10/Automake/Wrap.pm line 60.
4. Запускаем configure, радуемся.
checking for ftgl.h... yes
checking pcre/pcre.h usability... yes
checking pcre/pcre.h presence... yes
checking for pcre/pcre.h... yes
checking GL/glew.h usability... yes
checking GL/glew.h presence... yes
checking for GL/glew.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
5. Запускаем сборку...
In file included from src/commitlog.h:24,
from src/apache.h:27,
from src/apache.cpp:18:
src/core/regex.h:35:18: error: pcre.h: Нет такого файла или каталога
и говорим "Ах да....", конфиг исправили, а искодник забыли :)
Правим файл src/core/regex.h на предмет корректного указания хидера pcre/pcre.h и получаем свою программу.
Делов-то на пару минут :)
Вдогонку: не исключено, что это грязный хак, и можно как-то проще/правильнее. Но, кажись, и так сойдет.