Anope IRC Services
Anope Support => 2.0.x/1.9.x Support => Topic started by: Matt Smith on April 23, 2013, 08:45:31 PM
-
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
-
OS?
-
OS?
CentOS 6
-
Sqlite version?
-
Sqlite version?
3
-
I have sqlite 3.6.20 on centos 6.3 and it works for me.
-
I have sqlite 3.6.20 on centos 6.3 and it works for me.
could I have an older version installed and not realize it?
-
That's why I asked you what version you had installed, but you gave a vague answer.
-
That's why I asked you what version you had installed, but you gave a vague answer.
Package sqlite-3.3.6-6.x86_64 already installed and latest version
Package sqlite-3.3.6-6.i386 already installed and latest version
-
That is from 2006. Can you try to find a newer package?
-
That is from 2006. Can you try to find a newer package?
Wow, that will be tomorrow's project :)
-
Wow, that will be tomorrow's project :)
Updated to Sqllite 3.7.16.2 and it's still doing it >:(
-
Are you sure the old one isn't installed still and it isn't using the header from it?
-
Are you sure the old one isn't installed still and it isn't using the header from it?
I did a make clean....Is there something I missed?
-
I mean remove the older sqlite package.
You actually want to use sqlite right? If you don't need sqlite you can just remove m_sqlite.cpp and re ./Config and it will continue on.
-
I did point ./Config at the new SQLlite location