[root@localhost gnudialer]# make && make install
/bin/sh: detect: command not found
Checking Linux Dist Info...
DISTRIBUTION: RedHat
Asterisk being RUN...
AS: root
WE GUESSED THAT THE PATH TO cgi-bin IS: /var/www/cgi-bin/
I WILL TRY TO USE THIS PATH
IF THIS IS INCORRECT, PLEASE EDIT THE PATH MANUALLY IN Makefile
Checking for Apache (httpd.conf)...
/etc/httpd/conf/httpd.conf
OK.
WE GUESSED THAT THE PATH TO DocumentRoot IS: /var/www/html/
I WILL TRY TO USE THIS PATH
IF THIS IS INCORRECT, PLEASE EDIT THE PATH MANUALLY IN Makefile
Checking for asterisk...
Asterisk SVN-branch-1.2-r47359M
OK.
Checking MySQL Version...
MYSQL VERSION: 5.
THIS MUST SAY 4.1 OR HIGHER!!!!!!
CURRENTLY THERE ARE NO CHECKS TO STOP COMPILING IF TOO OLD!
Checking for mysql_config...
/usr/bin/mysql_config
/usr/lib/mysql/mysql_config
/usr/lib/mysql4/mysql/mysql_config
/usr/share/man/man1/mysql_config.1.gz
OK.
g++ -Wall gnudialer.cpp -g -o gnudialer `mysql_config --include` `mysql_config --libs`
gnudialer.cpp:31:19: error: mysql.h: No such file or directory
log.h: In function void __writeCampaignSale(const std::string&, const std::string&, const std::string&, const std::string&):
log.h:40: error: MYSQL was not declared in this scope
log.h:40: error: mysql was not declared in this scope
log.h:41: error: MYSQL_RES was not declared in this scope
log.h:41: error: result was not declared in this scope
log.h:42: error: MYSQL_ROW was not declared in this scope
log.h:42: error: expected `;' before row
log.h:46: error: mysql_init was not declared in this scope
log.h:50: error: mysql_real_connect was not declared in this scope
log.h:63: error: mysql_query was not declared in this scope
log.h:67: error: mysql_use_result was not declared in this scope
log.h:69: error: row was not declared in this scope
log.h:69: error: mysql_fetch_row was not declared in this scope
log.h:120: error: mysql_free_result was not declared in this scope
gnudialer.cpp: In function int main(int, char**):
gnudialer.cpp:378: error: MYSQL was not declared in this scope
gnudialer.cpp:378: error: mysql was not declared in this scope
gnudialer.cpp:379: error: MYSQL_RES was not declared in this scope
gnudialer.cpp:379: error: result was not declared in this scope
gnudialer.cpp:380: error: MYSQL_ROW was not declared in this scope
gnudialer.cpp:380: error: expected `;' before row
gnudialer.cpp:382: error: mysql_init was not declared in this scope
gnudialer.cpp:387: error: mysql_real_connect was not declared in this scope
gnudialer.cpp:1945: error: mysql_query was not declared in this scope
gnudialer.cpp:1948: error: mysql_use_result was not declared in this scope
gnudialer.cpp:1949: error: row was not declared in this scope
gnudialer.cpp:1949: error: mysql_fetch_row was not declared in this scope
gnudialer.cpp:1956: error: mysql_free_result was not declared in this scope
gnudialer.cpp:1968: error: mysql_query was not declared in this scope
gnudialer.cpp:1972: error: mysql_use_result was not declared in this scope
gnudialer.cpp:1975: error: row was not declared in this scope
gnudialer.cpp:1975: error: mysql_fetch_row was not declared in this scope
gnudialer.cpp:1988: error: mysql_errno was not declared in this scope
gnudialer.cpp:1993: error: mysql_free_result was not declared in this scope
gnudialer.cpp:2021: error: mysql_query was not declared in this scope
gnudialer.cpp:2024: error: mysql_use_result was not declared in this scope
gnudialer.cpp:2025: error: row was not declared in this scope
gnudialer.cpp:2025: error: mysql_fetch_row was not declared in this scope
gnudialer.cpp:2032: error: mysql_free_result was not declared in this scope
gnudialer.cpp:2043: error: mysql_query was not declared in this scope
gnudialer.cpp:2047: error: mysql_use_result was not declared in this scope
gnudialer.cpp:2050: error: row was not declared in this scope
gnudialer.cpp:2050: error: mysql_fetch_row was not declared in this scope
gnudialer.cpp:2063: error: mysql_errno was not declared in this scope
gnudialer.cpp:2068: error: mysql_free_result was not declared in this scope
gnudialer.cpp:2268: error: mysql_query was not declared in this scope
gnudialer.cpp:2273: error: mysql_use_result was not declared in this scope
gnudialer.cpp:2275: error: row was not declared in this scope
gnudialer.cpp:2275: error: mysql_fetch_row was not declared in this scope
gnudialer.cpp:2285: error: mysql_errno was not declared in this scope
gnudialer.cpp:2303: error: mysql_free_result was not declared in this scope
gnudialer.cpp:2332: error: mysql_close was not declared in this scope
make: *** [thegnudialer] Error 1
[root@localhost gnudialer]#