When I go to Compile Anope I get this:
Building CXX object modules/CMakeFiles/m_sqlite.so.dir/extra/m_sqlite.o
An error occured when executing: /usr/bin/c++ -Dm_sqlite_so_EXPORTS -fPIC -I/var/www/vhosts/kinksterschat.com/private/anope-1.9.8-source/build/include -I/var/www/vhosts/kinksterschat.com/private/anope-1.9.8-source/include -I/var/www/vhosts/kinksterschat.com/private/anope-1.9.8-source/build/language -I/var/www/vhosts/kinksterschat.com/private/anope-1.9.8-source/modules/pseudoclients -Wall -Wshadow -ansi -pedantic -Wno-long-long -fno-leading-underscore -o CMakeFiles/m_sqlite.so.dir/extra/m_sqlite.o -c /var/www/vhosts/kinksterschat.com/private/anope-1.9.8-source/modules/extra/m_sqlite.cpp
/var/www/vhosts/kinksterschat.com/private/anope-1.9.8-source/modules/extra/m_sqlite.cpp: In constructor âSQLiteService::SQLiteService(Module*, const Anope::string&, const Anope::string&)â:
/var/www/vhosts/kinksterschat.com/private/anope-1.9.8-source/modules/extra/m_sqlite.cpp:133: error: âSQLITE_OPEN_READWRITEâ was not declared in this scope
/var/www/vhosts/kinksterschat.com/private/anope-1.9.8-source/modules/extra/m_sqlite.cpp:133: error: âSQLITE_OPEN_CREATEâ was not declared in this scope
/var/www/vhosts/kinksterschat.com/private/anope-1.9.8-source/modules/extra/m_sqlite.cpp:133: error: âsqlite3_open_v2â was not declared in this scope
/var/www/vhosts/kinksterschat.com/private/anope-1.9.8-source/modules/extra/m_sqlite.cpp: In member function âvirtual SQL::Result SQLiteService::RunQuery(const SQL::Query&)â:
/var/www/vhosts/kinksterschat.com/private/anope-1.9.8-source/modules/extra/m_sqlite.cpp:157: 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
I suspect this has something to do with a library file mixup but everything seems ok. Any thoughts