Bug #3758

error building opennebula(-4.12.1) from source with sqlite=no

Added by Rolandas Naujikas over 5 years ago. Updated over 5 years ago.

Status:ClosedStart date:04/20/2015
Priority:NormalDue date:
Assignee:Carlos Martín% Done:

0%

Category:Core & System
Target version:Release 4.14
Resolution:fixed Pull request:
Affected Versions:OpenNebula 4.12

Description

$ scons sqlite=no mysql=yes new_xmlrpc=no
...
g++ -o src/nebula/Nebula.o -c -fno-strict-aliasing -g -g -Wall -DMYSQL_DB -DOLD_XMLRPC -DBIG_JOINS=1 -Iinclude -I/usr/include/mysql -I/usr/include -I/usr/include/libxml2 src/nebula/Nebula.cc
src/nebula/Nebula.cc: In member function 'void Nebula::start(bool)':
src/nebula/Nebula.cc:303:38: error: cannot allocate an object of abstract type 'SqliteDB'
In file included from src/nebula/Nebula.cc:20:0:
include/SqliteDB.h:113:7: note: because the following virtual functions are pure within 'SqliteDB':
In file included from include/Nebula.h:20:0,
from src/nebula/Nebula.cc:17:
include/SqlDB.h:65:18: note: virtual bool SqlDB::multiple_values_support()
scons: *** [src/nebula/Nebula.o] Error 1
scons: building terminated because of errors.

$ dpkg -l|grep sqlite3-dev
ii libsqlite3-dev 3.7.13-1+deb7u1 amd64 SQLite 3 development files

Associated revisions

Revision 5a66cefb
Added by Carlos Martín over 5 years ago

Bug #3758: Fix compilation without sqlite

Revision 61b627e6
Added by Daniel Molina over 5 years ago

feature #3758: Do not remove context events

Revision e21d4ac9
Added by Daniel Molina over 5 years ago

feature #3758: Refactor dialogs

Revision 275dbfc4
Added by Daniel Molina over 5 years ago

feature #3758: Remove panels.js

Revision 9af0ff05
Added by Daniel Molina over 5 years ago

feature #3758: Use new dialogs in zones-tab

History

#1 Updated by Carlos Martín over 5 years ago

  • Status changed from Pending to Assigned
  • Assignee set to Carlos Martín
  • Target version set to Release 4.14

#2 Updated by Carlos Martín over 5 years ago

  • Status changed from Assigned to Closed
  • Resolution set to fixed

Fixed, thanks

Also available in: Atom PDF