[one-users] Fwd: Fwd: help needed at opennebula final compilation step
digvijay singh shaktawat
digvijaysinghshaktawat at gmail.com
Tue Nov 10 05:44:16 PST 2009
if any one can help please help
-digvijay
---------- Forwarded message ----------
From: Stefan Freitag <stefan.freitag at udo.edu>
Date: Tue, Nov 10, 2009 at 7:13 PM
Subject: Re: [one-users] Fwd: help needed at opennebula final compilation
step
To: digvijay singh shaktawat <digvijaysinghshaktawat at gmail.com>
nope, that seems to be ok.
so there must be an issue with the include path when you try to compile.
(please post your questions in cc to the mailing lists, so that other can
learn from the mail exchange too)
Cheers
Stefan
digvijay singh shaktawat schrieb:
> i have already tried it a number of times ....
>
> [root at localhost /]# rpm -qa sqlite*
> sqlite-devel-3.3.6-5
> sqlite-3.3.6-5
>
> do i still need to install ??
>
> On Tue, Nov 10, 2009 at 7:06 PM, Stefan Freitag
> <stefan.freitag at udo.edu>wrote:
>
>> Hi,
>>
>> i checked the Centos5 repository and and this looks ok:
>>
>>
>>
http://centos.arcticnetwork.ca/5/os/x86_64/CentOS/sqlite-devel-3.3.6-5.x86_64.rpm
>> (64 Bit OS)
>>
>> and if you are running a 32 bit OS:
>>
>>
http://centos.arcticnetwork.ca/5/os/x86_64/CentOS/sqlite-devel-3.3.6-5.i386.rpm
>>
>> Installation is done via rpm tool.
>>
>> Please could you do also an
>>
>> rpm -qa sqlite* on your system?
>>
>>
>> Cheers
>> Stefan
>>
>> digvijay singh shaktawat schrieb:
>> > i am using centos 5
>> > if you could tell which sqlite3-devel to install ....
>> > i am a not very conversant with the details of various linux
>> distribution
>> > and versions system...
>> > i might install anything with so it is better to learn before i mess
>> up
>> > sqlite-devel
>> >
>> > -digvijay
>> >
>> > 2009/11/10 Stefan Freitag <stefan.freitag at udo.edu>
>> >
>> >> 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
>> >>
>> >
>>
>>
>> --
>> 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
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20091110/2acb5c5a/attachment-0001.htm>
More information about the Users
mailing list