Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Anope 1.9.6 Error Install  (Read 3410 times)

0 Members and 1 Guest are viewing this topic.

nguyenalm

  • Anope User
  • Offline Offline
  • Posts: 4
Anope 1.9.6 Error Install
« on: April 11, 2012, 07:54:12 PM »

Hi all,
This is my error
Please help me configure it. Thanks !

Quote
Scanning dependencies of target m_sqlite.so
[ 65%] Building CXX object modules/CMakeFiles/m_sqlite.so.dir/extra/m_sqlite.o
/home/irc_install/anope-1.9.6-source/modules/extra/sql.h:98: warning: ‘class SQLInterface’ has virtual functions but non-virtual destructor
/home/irc_install/anope-1.9.6-source/modules/extra/m_sqlite.cpp: In constructor ‘SQLiteService::SQLiteService(Module*, const Anope::string&, const Anope::string&)’:
/home/irc_install/anope-1.9.6-source/modules/extra/m_sqlite.cpp:125: error: ‘SQLITE_OPEN_READWRITE’ was not declared in this scope
/home/irc_install/anope-1.9.6-source/modules/extra/m_sqlite.cpp:125: error: ‘SQLITE_OPEN_CREATE’ was not declared in this scope
/home/irc_install/anope-1.9.6-source/modules/extra/m_sqlite.cpp:125: error: ‘sqlite3_open_v2’ was not declared in this scope
/home/irc_install/anope-1.9.6-source/modules/extra/m_sqlite.cpp: In member function ‘virtual SQLResult SQLiteService::RunQuery(const SQLQuery&)’:
/home/irc_install/anope-1.9.6-source/modules/extra/m_sqlite.cpp:149: error: ‘sqlite3_prepare_v2’ was not declared in this scope
make[2]: *** [modules/CMakeFiles/m_sqlite.so.dir/extra/m_sqlite.o] Error 1
make[1]: *** [modules/CMakeFiles/m_sqlite.so.dir/all] Error 2
make: *** [all] Error 2

Server Centos 5.8 (apache, mysql, php, sqlite installed)
Logged

nguyenalm

  • Anope User
  • Offline Offline
  • Posts: 4
Re: Anope 1.9.6 Error Install
« Reply #1 on: April 12, 2012, 09:44:54 PM »

Fixed: reinstall sqlite from source code.
Anope worked.

Thanks,
Logged
Pages: [1]   Go Up