請問要如何安裝aspseek呢?

看板FreeBSD作者時間20年前 (2005/10/02 16:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
請教一個問題 我要在5.4下安裝aspseek-1.2.10,configure時沒有出現問題, 可是make時就有個錯誤出現如下(由於完全不知道如何處理,只好全部show出現) =============================================================================== Making all in src Making all in mysql /bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I/usr/local/mysql/include/mysql -g -O2 -D_THREAD_SAFE -pthread -D_PTHREADS -c mysqldb.cpp c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I/usr/local/mysql/include/mysql -g -O2 -D_THREAD_SAFE -pthread -D_PTHREADS -c mysqldb.cpp -fPIC -DPIC In file included from ../../include/charsets.h:34, from ../../include/ucharset.h:34, from ../../include/sqldb.h:40, from ../../include/mysqldb.h:30, from mysqldb.cpp:26: ../../include/maps.h:38: error: `std::hash_map' has not been declared ../../include/maps.h:39: error: `std::hash_set' has not been declared ../../include/maps.h:42: error: `hash' is not a template ../../include/maps.h: In member function `size_t std::hash::operator()(const std::string&) const': ../../include/maps.h:45: error: `__stl_hash_string' undeclared (first use this function) ../../include/maps.h:45: error: (Each undeclared identifier is reported only once for each function it appears in.) ../../include/maps.h: At global scope: ../../include/maps.h:50: error: expected init-declarator before '<' token ../../include/maps.h:50: error: expected `,' or `;' before '<' token ../../include/maps.h:51: error: expected init-declarator before '<' token ../../include/maps.h:51: error: expected `,' or `;' before '<' token ../../include/maps.h:52: error: expected init-declarator before '<' token ../../include/maps.h:52: error: expected `,' or `;' before '<' token In file included from ../../include/ucharset.h:34, from ../../include/sqldb.h:40, from ../../include/mysqldb.h:30, from mysqldb.cpp:26: ../../include/charsets.h:38: error: `std::hash_map' has not been declared ../../include/charsets.h:118: error: `hash' is not a template ../../include/charsets.h:118: error: redefinition of `struct std::hash' ../../include/maps.h:42: error: previous definition of `struct std::hash' ../../include/charsets.h:188: error: expected template-name before '<' token ../../include/charsets.h:188: error: expected `{' before '<' token ../../include/charsets.h:188: error: expected unqualified-id before '<' token ../../include/charsets.h:188: error: expected `,' or `;' before '<' token ../../include/charsets.h:209: error: expected template-name before '<' token ../../include/charsets.h:209: error: expected `{' before '<' token ../../include/charsets.h:209: error: expected unqualified-id before '<' token ../../include/charsets.h:209: error: expected `,' or `;' before '<' token ../../include/charsets.h:229: error: invalid use of undefined type `class CSgmlCharMap' ../../include/charsets.h:209: error: forward declaration of `class CSgmlCharMap' In file included from ../../include/sqldb.h:40, from ../../include/mysqldb.h:30, from mysqldb.cpp:26: ../../include/ucharset.h:38: error: `std::hash_map' has not been declared ../../include/ucharset.h:227: error: ISO C++ forbids declaration of `hash_map' with no type ../../include/ucharset.h:227: error: expected `;' before '<' token ../../include/ucharset.h: In member function `virtual BYTE CCharsetU1::Code(WORD, BYTE)': ../../include/ucharset.h:254: error: `hash_map' undeclared (first use this function) ../../include/ucharset.h:254: error: expected primary-expression before ',' token ../../include/ucharset.h:254: error: expected primary-expression before '*' token ../../include/ucharset.h:254: error: expected primary-expression before '>' token ../../include/ucharset.h:254: error: `::iterator' has not been declared ../../include/ucharset.h:254: error: expected `;' before "it" ../../include/ucharset.h:255: error: `it' undeclared (first use this function) ../../include/ucharset.h:255: error: `m_reverseMap' undeclared (first use this function) ../../include/ucharset.h: At global scope: ../../include/ucharset.h:273: error: expected template-name before '<' token ../../include/ucharset.h:273: error: expected `{' before '<' token ../../include/ucharset.h:273: error: expected unqualified-id before '<' token ../../include/ucharset.h:273: error: expected `,' or `;' before '<' token ../../include/ucharset.h: In member function `void CUFixedString<n>::operator=(const char*)': ../../include/ucharset.h:445: error: `str' undeclared (first use this function) ../../include/ucharset.h: At global scope: ../../include/ucharset.h:482: error: `hash' is not a template ../../include/ucharset.h:482: error: redefinition of `struct std::hash' ../../include/maps.h:42: error: previous definition of `struct std::hash' ../../include/ucharset.h:575: error: `hash' is not a template ../../include/ucharset.h:575: error: redefinition of `struct std::hash' ../../include/maps.h:42: error: previous definition of `struct std::hash' ../../include/ucharset.h:583: error: expected template-name before '<' token ../../include/ucharset.h:583: error: expected `{' before '<' token ../../include/ucharset.h:583: error: expected unqualified-id before '<' token ../../include/ucharset.h:583: error: expected `,' or `;' before '<' token In file included from ../../include/mysqldb.h:30, from mysqldb.cpp:26: ../../include/sqldb.h:45: error: `std::hash_set' has not been declared ../../include/sqldb.h:46: error: `std::hash_map' has not been declared ../../include/sqldb.h:75: error: expected init-declarator before '<' token ../../include/sqldb.h:75: error: expected `,' or `;' before '<' token In file included from ../../include/sqldbi.h:32, from ../../include/mysqldbi.h:25, from mysqldb.cpp:27: ../../include/config.h:41: error: `std::hash_map' has not been declared In file included from ../../include/squeue.h:33, from ../../include/sqldbi.h:34, from ../../include/mysqldbi.h:25, from mysqldb.cpp:27: ../../include/hrefs.h:35: error: `std::hash_map' has not been declared ../../include/hrefs.h:91: error: `hash' is not a template ../../include/hrefs.h:91: error: redefinition of `struct std::hash' ../../include/maps.h:42: error: previous definition of `struct std::hash' ../../include/hrefs.h:108: error: expected template-name before '<' token ../../include/hrefs.h:108: error: expected `{' before '<' token ../../include/hrefs.h:108: error: expected unqualified-id before '<' token ../../include/hrefs.h:108: error: expected `,' or `;' before '<' token ../../include/hrefs.h:147: error: expected init-declarator before '<' token ../../include/hrefs.h:147: error: expected `,' or `;' before '<' token ../../include/hrefs.h:148: error: `CStringToHrefMap' does not name a type In file included from ../../include/sqldbi.h:34, from ../../include/mysqldbi.h:25, from mysqldb.cpp:27: ../../include/squeue.h:36: error: `std::hash_map' has not been declared ../../include/squeue.h:185: error: expected template-name before '<' token ../../include/squeue.h:185: error: expected `{' before '<' token ../../include/squeue.h:185: error: expected unqualified-id before '<' token ../../include/squeue.h:185: error: expected `,' or `;' before '<' token ../../include/squeue.h:256: error: expected init-declarator before '<' token ../../include/squeue.h:256: error: expected `,' or `;' before '<' token In file included from ../../include/mysqldbi.h:25, from mysqldb.cpp:27: ../../include/sqldbi.h:48: error: field `m_squeue' has incomplete type ../../include/sqldbi.h:52: error: ISO C++ forbids declaration of `hash_map' with no type ../../include/sqldbi.h:52: error: expected `;' before '<' token ../../include/sqldbi.h:85: error: `CIntSet' has not been declared ../../include/sqldbi.h:85: error: ISO C++ forbids declaration of `set' with no type mysqldb.cpp: In member function `virtual char* CMySQLQuery::MakeQuery()': mysqldb.cpp:137: error: invalid conversion from `const char*' to `char*' mysqldb.cpp:137: error: initializing argument 2 of `char* memcpyq(char*, char*, int)' mysqldb.cpp:147: error: invalid conversion from `const char*' to `char*' mysqldb.cpp:147: error: initializing argument 2 of `char* memcpyq(char*, char*, int)' mysqldb.cpp: At global scope: mysqldb.cpp:399: error: prototype for `int CMySQLDatabase::Connect(char*, char*, char*, char*, int)' does not match any in class `CMySQLDatabase' ../../include/mysqldb.h:185: error: candidate is: virtual int CMySQLDatabase::Connect(const char*, const char*, const char*, const char*, int) mysqldb.cpp: In member function `virtual char* CMySQLDatabase::DispError()': mysqldb.cpp:409: error: invalid conversion from `const char*' to `char*' *** Error code 1 Stop in /usr/home/jackysun/aspseek-1.2.10/src/mysql. *** Error code 1 Stop in /usr/home/jackysun/aspseek-1.2.10/src. *** Error code 1 Stop in /usr/home/jackysun/aspseek-1.2.10.
文章代碼(AID): #13FviB00 (FreeBSD)
文章代碼(AID): #13FviB00 (FreeBSD)