[one-users] Fwd: help needed at opennebula final compilation step
Stefan Freitag
stefan.freitag at udo.edu
Tue Nov 10 05:21:32 PST 2009
Hello digvijay,
some linux distroy offer sqlite2 and sqlite3 packages.
On the distro I am using (SUSE Enterprise Linux) I have following sqlite
packages installed:
one:~ # rpm -qa sqlite*
sqlite3-3.6.4-1.13
sqlite3-devel-3.6.4-1.13
So, I suggest that you install sqlite3-devel. Maybe you can provide some info
about the linux distro you are using? Sound like a Redhat based one.
Cheers
Stefan
On Tuesday 10 November 2009 14:03:54 digvijay singh shaktawat wrote:
> i guess there is some problem ???
> i installed sqlite by
> yum install sqlite sqlite-devel
> because it could not find anything from
> yum install sqlite3 or
> yum install sqlite3-devel
> Is the problem like it is looking for sqlite3-devel but sqlite-devel is
> installed ???
> how can i solve ...
> but you know to run sql still command is
> $>sqlite3
>
> finally sqlite-devel is installed already .... still should i go ahead and
> install sqlite3-devel????
>
> thanks for help:)
> -digvijay
>
> On Tue, Nov 10, 2009 at 3:15 PM, Stefan Freitag
<stefan.freitag at udo.edu>wrote:
> > Hi digvijay,
> >
> > I think the problem lies in the line:
> >
> > include/SqliteDB.h:24:21: error: sqlite3.h: No such file or directory
> >
> > which could mean that you have not the sqlite3 headers installed on your
> > system. Please check for something like sqlite3-devel in the package
> > manager
> > of your linux distro and install it.
> >
> > Kind regards
> > Stefan
> >
> > digvijay singh shaktawat schrieb:
> > > Hi,
> > > when i execute the command in the opennebula directory followong output
> > > come, if anyone can help please help, i need opennebula running asap
> > > for my
> > > project work!!!
> > >
> > > [root at localhost one-1.3.85]# scons
> > > scons: Reading SConscript files ...
> > > Testing recipe: pkg-config
> > > g++ .xmlrpc_test/xmlrpc_test.ce1a86.cc -o
> > > .xmlrpc_test/xmlrpc_test.ce1a86.cc.out -lxmlrpc_server_abyss++
> > > -lxmlrpc_server_abyss -lxmlrpc_server++
> > > 1>>.xmlrpc_test/xmlrpc_test.ce1a86.cc.log 2>&1
> > >
> > > Testing recipe: pkg-config
> > > g++ .xmlrpc_test/xmlrpc_test.b1f402.cc -o
> > > .xmlrpc_test/xmlrpc_test.b1f402.cc.out -lxmlrpc_client++ -lxmlrpc++
> > > 1>>.xmlrpc_test/xmlrpc_test.b1f402.cc.log 2>&1
> > >
> > > Testing recipe: pkg-config
> > > g++ .xmlrpc_test/xmlrpc_test.fd8811.cc -o
> > > .xmlrpc_test/xmlrpc_test.fd8811.cc.out -lxmlrpc_server_abyss++
> > > -lxmlrpc_server_abyss -lxmlrpc_server++
> > > 1>>.xmlrpc_test/xmlrpc_test.fd8811.cc.log 2>&1
> > >
> > > Testing recipe: pkg-config
> > > g++ .xmlrpc_test/xmlrpc_test.8d7904.cc -o
> > > .xmlrpc_test/xmlrpc_test.8d7904.cc.out -lxmlrpc_client++ -lxmlrpc++
> > > 1>>.xmlrpc_test/xmlrpc_test.8d7904.cc.log 2>&1
> > >
> > > scons: done reading SConscript files.
> > > scons: Building targets ...
> > > g++ -o src/dm/DispatchManager.o -c -g -Wall -Iinclude
> > > src/dm/DispatchManager.cc
> > > In file included from include/PoolSQL.h:25,
> > > from include/HostPool.h:21,
> > > from include/DispatchManager.h:22,
> > > from src/dm/DispatchManager.cc:18:
> > > include/SqliteDB.h:24:21: error: sqlite3.h: No such file or directory
> > > include/SqliteDB.h:161: error: ISO C++ forbids declaration of 'sqlite3'
> > > with
> > > no type
> > > include/SqliteDB.h:161: error: expected ';' before '*' token
> > > include/SqliteDB.h: In constructor 'SqliteDB::SqliteDB(std::string&,
> > > void (*)(const char*, Log::MessageType, const std::ostringstream&,
> > > const
> >
> > char*,
> >
> > > Log::MessageType))':
> > > include/SqliteDB.h:52: error: 'db' was not declared in this scope
> > > include/SqliteDB.h:52: error: 'sqlite3_open' was not declared in this
> > > scope
> > > include/SqliteDB.h:54: error: 'SQLITE_OK' was not declared in this
> > > scope include/SqliteDB.h: In destructor 'SqliteDB::~SqliteDB()':
> > > include/SqliteDB.h:64: error: 'db' was not declared in this scope
> > > include/SqliteDB.h:64: error: 'sqlite3_close' was not declared in this
> > > scope
> > > include/SqliteDB.h: In member function 'int
> > > SqliteDB::exec(std::ostringstream&, int (*)(void*, int, char**,
> > > char**), void*)':
> > > include/SqliteDB.h:99: error: 'db' was not declared in this scope
> > > include/SqliteDB.h:99: error: 'sqlite3_exec' was not declared in this
> > > scope
> > > include/SqliteDB.h:101: error: 'SQLITE_BUSY' was not declared in this
> > > scope
> > > include/SqliteDB.h:101: error: 'SQLITE_IOERR_BLOCKED' was not declared
> > > in this scope
> > > include/SqliteDB.h:113: error: 'SQLITE_BUSY' was not declared in this
> > > scope
> > > include/SqliteDB.h:113: error: 'SQLITE_IOERR_BLOCKED' was not declared
> > > in this scope
> > > include/SqliteDB.h:118: error: 'SQLITE_OK' was not declared in this
> > > scope include/SqliteDB.h:127: error: 'sqlite3_free' was not declared in
> > > this scope
> > > scons: *** [src/dm/DispatchManager.o] Error 1
> > > scons: building terminated because of errors.
> > >
> > >
> > >
> > > ---------- Forwarded message ----------
> > > From: digvijay singh shaktawat <digvijaysinghshaktawat at gmail.com>
> > > Date: Tue, Nov 10, 2009 at 2:45 PM
> > > Subject: help needed at opennebula final compilation step
> > > To: users at lists.opennebula.org
> > >
> > >
> > >
> > > Hi,
> > > It was a very long journey to install and get the machine ready in
> > > working for Opennebula. I have to setup the cloud cluster as soon as
> > > possible as i have submissions coming.....
> > > Please anyone of you could help asap
> > >
> > > [root at localhost one-1.3.85]# scons sqlite=/usr/bin/sqlite3
> > > scons: Reading SConscript files ...
> > > Testing recipe: pkg-config
> > > g++ .xmlrpc_test/xmlrpc_test.1f8d4c.cc -o
> > > .xmlrpc_test/xmlrpc_test.1f8d4c.cc.out -lxmlrpc_server_abyss++
> > > -lxmlrpc_server_abyss -lxmlrpc_server++
> > > 1>>.xmlrpc_test/xmlrpc_test.1f8d4c.cc.log 2>&1
> > >
> > > Testing recipe: pkg-config
> > > g++ .xmlrpc_test/xmlrpc_test.a1d87b.cc -o
> > > .xmlrpc_test/xmlrpc_test.a1d87b.cc.out -lxmlrpc_client++ -lxmlrpc++
> > > 1>>.xmlrpc_test/xmlrpc_test.a1d87b.cc.log 2>&1
> > >
> > > Testing recipe: pkg-config
> > > g++ .xmlrpc_test/xmlrpc_test.21cf47.cc -o
> > > .xmlrpc_test/xmlrpc_test.21cf47.cc.out -lxmlrpc_server_abyss++
> > > -lxmlrpc_server_abyss -lxmlrpc_server++
> > > 1>>.xmlrpc_test/xmlrpc_test.21cf47.cc.log 2>&1
> > >
> > > Testing recipe: pkg-config
> > > g++ .xmlrpc_test/xmlrpc_test.033d7c.cc -o
> > > .xmlrpc_test/xmlrpc_test.033d7c.cc.out -lxmlrpc_client++ -lxmlrpc++
> > > 1>>.xmlrpc_test/xmlrpc_test.033d7c.cc.log 2>&1
> > >
> > > scons: done reading SConscript files.
> > > scons: Building targets ...
> > > scons: *** [src/client/OneClient.o] TypeError `File /usr/bin/sqlite3
> >
> > found
> >
> > > where directory expected.' trying to evaluate `${_concat(INCPREFIX,
> > > CPPPATH,
> > > INCSUFFIX, __env__, RDirs, TARGET, SOURCE)}'
> > > scons: building terminated because of errors.
> > > _______________________________________________
> > > Users mailing list
> > > Users at lists.opennebula.org
> > > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> >
> > --
> > Dipl.-Inform. Stefan Freitag
> > Institut für Roboterforschung - Abteilung Informationstechnik
> > Universitaet Dortmund | phone: +49 (0)231-755-7009
> > Otto-Hahn-Str. 8 | mobile: +49 (0)176-23900074
> > 44221 Dortmund, Germany | fax: +49 (0)231-755-3251
> > www.irf.uni-dortmund.de | email: stefan.freitag at udo.edu
>
--
Dipl.-Inform. Stefan Freitag
Institut für Roboterforschung - Abteilung Informationstechnik
Technische Universität Dortmund | phone: +49 (0)231-755-7009
Otto-Hahn-Str. 8 | mobile: +49 (0)176-23900074
44221 Dortmund, Germany | fax: +49 (0)231-755-3251
www.irf.uni-dortmund.de | email: stefan.freitag at udo.edu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20091110/49257f38/attachment-0003.pgp>
More information about the Users
mailing list