With these commands :
./configure --with-mysql=/usr/local/mysql
sudo make
i'm getting this error.
has anyone on this list compiled this app in osx before? or run into
this error?
thanks for any info
rand
In file included from ../../include/sqldbi.h:34,
from ../../include/mysqldbi.h:25,
from mysqldb.cpp:27:
../../include/squeue.h:36: `hash_map' not declared
../../include/squeue.h:185: parse error before `<' token
../../include/squeue.h:196: redefinition of `pthread_mutex_t m_mutex'
../../include/hrefs.h:117: `pthread_mutex_t m_mutex' previously declared here
../../include/squeue.h:198: parse error before `public'
../../include/squeue.h:202: warning: ISO C++ forbids declaration of `
m_currentFail' with no type
../../include/squeue.h:202: conflicting types for `int m_currentFail'
../../include/squeue.h:193: previous declaration as `CSiteUrls*m_currentFail'
../../include/squeue.h:203: warning: ISO C++ forbids declaration of `m_qDocs'
with no type
../../include/squeue.h:203: conflicting types for `int m_qDocs'
../../include/squeue.h:195: previous declaration as `ULONG m_qDocs'
../../include/squeue.h:204: warning: ISO C++ forbids declaration of `
m_activeSize' with no type
../../include/squeue.h:205: warning: ISO C++ forbids declaration of `
m_failedConns' with no type
../../include/squeue.h:205: redefinition of `int m_failedConns'
../../include/squeue.h:190: `int m_failedConns' previously declared here
../../include/squeue.h:206: warning: ISO C++ forbids declaration of `
m_failedProcessed' with no type
../../include/squeue.h:206: redefinition of `int m_failedProcessed'
../../include/squeue.h:191: `int m_failedProcessed' previously declared here
../../include/squeue.h:207: warning: ISO C++ forbids declaration of `
pthread_mutex_init' with no type
../../include/squeue.h:207: redefinition of `int pthread_mutex_init'
../../include/hrefs.h:126: `int pthread_mutex_init' previously defined here
../../include/squeue.h:207: warning: initializer list being treated as compound
expression
../../include/squeue.h:208: parse error before `}' token
../../include/squeue.h:210: destructors must be member functions
../../include/squeue.h:223: parse error before `}' token
../../include/squeue.h:256: syntax error before `;' token
In file included from ../../include/mysqldbi.h:25,
from mysqldb.cpp:27:
../../include/sqldbi.h:48: 'CSitesQueue' is used as a type, but is not defined
as a type.
../../include/sqldbi.h:52: 'hash_map' is used as a type, but is not defined as
a type.
../../include/sqldbi.h:85: type specifier omitted for parameter `CIntSet'
../../include/sqldbi.h:85: parse error before `*' token
mysqldb.cpp: In member function `virtual char* CMySQLDatabase::DispError()':
mysqldb.cpp:409: warning: invalid conversion from `const char*' to `char*'
make[2]: *** [mysqldb.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1