From: Mladen G. <mg...@ya...> - 2015-01-14 01:23:25
|
Thanks Ivan, it is indeed fixed. I love tora and am using it for a very, very long time. Keep up the good job. Regards, On 01/13/2015 05:23 PM, Ivan Brezina wrote: > It should be fixed now. > > Ivan > PS: you should build tora in other directory than sources. Try > something like: > > mkdir -p /tmp/tora > cd /tmp/tora > svn checkout svn://svn.code.sf.net/p/tora/code/trunk tora-code || exit -1 > cd /tmp/tora/tora-code || exit -1 > mkdir BUILD_DIR > cd BUILD_DIR > cmake -DBOOST_ROOT=/usr/include -DCMAKE_BUILD_TYPE=Release tora .. > make -j4 tora poracle || rm-tora > > > On 01/13/2015 12:06 AM, Mladen Gogala wrote: >> I have a running version of Tora 3 alpha, but the last two revisions >> are simply not compiling. The errors are below. >> >> Qt Found OK >> QScintilla2 Found OK >> Oracle OCI Library Found OK >> >> CMake Warning at CMakeLists.txt:263 (MESSAGE): >> No PostgreSQL environment has been found. >> >> >> CMake Warning at CMakeLists.txt:264 (MESSAGE): >> Specify -DPOSTGRESQL_PATH_INCLUDES=path >> >> >> CMake Warning at CMakeLists.txt:265 (MESSAGE): >> and -DPOSTGRESQL_PATH_LIB=path manually >> >> >> >> >> >> -- Oracle OCI Library Found OK >> /tmp/tora/tora-code/tora/extlibs/trotl/src/trotl_describe.cpp: In >> constructor >> ‘trotl::DescribeColumn::DescribeColumn(trotl::OciConnection&, >> trotl::OciHandle<OCIStmt>&, unsigned int, const tstring&)’: >> /tmp/tora/tora-code/tora/extlibs/trotl/src/trotl_describe.cpp:476:9: >> warning: unused variable ‘res’ [-Wunused-variable] >> sword res = OCICALL(OCIParamGet((OCIStmt*)stmt, >> OciHandleID<OCIStmt>::get_type_id(), con._env._errh, >> (dvoid**)(OCIParam**)param, columnPosition)); >> ^ >> /tmp/tora/tora-code/tora/extlibs/trotl/src/trotl_lob.cpp: In member >> function ‘oraub8 trotl::SqlLob::length()’: >> /tmp/tora/tora-code/tora/extlibs/trotl/src/trotl_lob.cpp:261:10: >> warning: unused variable ‘res2’ [-Wunused-variable] >> sword res2 = OCICALL(OCIErrorGet(_conn._env._errh, 1, NULL, >> &errorcode, NULL, 0, OCI_HTYPE_ERROR)); >> ^ >> /tmp/tora/tora-code/tora/extlibs/trotl/src/trotl_lob.cpp: In >> constructor ‘trotl::SqlOpenLob::SqlOpenLob(trotl::SqlLob&, ub1)’: >> /tmp/tora/tora-code/tora/extlibs/trotl/src/trotl_lob.cpp:356:10: >> warning: unused variable ‘res2’ [-Wunused-variable] >> sword res2 = OCICALL(OCIErrorGet(_lob._conn._env._errh, 1, NULL, >> &errorcode, NULL, 0, OCI_HTYPE_ERROR)); >> ^ >> /tmp/tora/tora-code/tora/extlibs/trotl/src/trotl_lob.cpp: In >> destructor ‘trotl::SqlOpenLob::~SqlOpenLob()’: >> /tmp/tora/tora-code/tora/extlibs/trotl/src/trotl_lob.cpp:390:10: >> warning: unused variable ‘res2’ [-Wunused-variable] >> sword res2 = OCICALL(OCIErrorGet(_lob._conn._env._errh, 1, NULL, >> &errorcode, NULL, 0, OCI_HTYPE_ERROR)); >> ^ >> /tmp/tora/tora-code/tora/extlibs/trotl/src/trotl_lob.cpp: In member >> function ‘oraub8 trotl::SqlClob::read(void*, oraub8, oraub8, oraub8, >> oraub8*, ub2, ub1)’: >> /tmp/tora/tora-code/tora/extlibs/trotl/src/trotl_lob.cpp:516:10: >> warning: unused variable ‘res2’ [-Wunused-variable] >> sword res2 = OCICALL(OCIErrorGet(_conn._env._errh, 1, NULL, >> &errorcode, NULL, 0, OCI_HTYPE_ERROR)); >> ^ >> /tmp/tora/tora-code/tora/extlibs/trotl/src/trotl_spatial.cpp: In >> member function ‘virtual trotl::tstring >> trotl::BindParSpatial::get_string(unsigned int) const’: >> /tmp/tora/tora-code/tora/extlibs/trotl/src/trotl_spatial.cpp:190:22: >> warning: comparison between signed and unsigned integer expressions >> [-Wsign-compare] >> for(unsigned i=0; i<global_nelems; i+=3) >> ^ >> /tmp/tora/tora-code/tora/extlibs/trotl/src/trotl_spatial.cpp:119:8: >> warning: variable ‘res’ set but not used [-Wunused-but-set-variable] >> sword res; >> ^ >> /tmp/tora/tora-code/tora/extlibs/trotl/src/trotl_stat.cpp: In member >> function ‘void trotl::SqlStatement::define_all()’: >> /tmp/tora/tora-code/tora/extlibs/trotl/src/trotl_stat.cpp:242:64: >> warning: ‘auto_ptr’ is deprecated (declared at >> /usr/include/c++/4.8.3/backward/auto_ptr.h:87) >> [-Wdeprecated-declarations] >> _all_defines= new std::auto_ptr<BindPar> [get_column_count()+1]; >> ^ >> /tmp/tora/tora-code/tora/extlibs/trotl/src/trotl_parser.cpp: In >> static member function ‘static trotl::tstring >> trotl::SimplePlsqlParser::colorword(const tstring&, int)’: >> /tmp/tora/tora-code/tora/extlibs/trotl/src/trotl_parser.cpp:204:6: >> warning: unused variable ‘attr’ [-Wunused-variable] >> int attr = BRIGHT; >> ^ >> /tmp/tora/tora-code/tora/extlibs/trotl/src/trotl_parser.cpp:205:6: >> warning: unused variable ‘bg’ [-Wunused-variable] >> int bg = BLACK; >> ^ >> /tmp/tora/tora-code/tora/src/tools/tosecuritytreeitem.h:0: Note: No >> relevant classes found. No output generated. >> /tmp/tora/tora-code/tora/src/tools/tosecuritytreeitem.h:0: Note: No >> relevant classes found. No output generated. >> In file included from >> /tmp/tora/tora-code/src/core/../../tora/src/core/toeventquery.h:40:0, >> from >> /tmp/tora/tora-code/src/core/moc_toeventquery.cxx:9: >> /tmp/tora/tora-code/tora/src/core/toconnectionsub.h: In constructor >> ‘toConnectionSub::toConnectionSub()’: >> /tmp/tora/tora-code/tora/src/core/toconnectionsub.h:110:14: warning: >> ‘toConnectionSub::Query’ will be initialized after [-Wreorder] >> toQuery *Query; >> ^ >> /tmp/tora/tora-code/tora/src/core/toconnectionsub.h:109:10: >> warning: ‘bool toConnectionSub::Broken’ [-Wreorder] >> bool Broken, Initialized; >> ^ >> /tmp/tora/tora-code/tora/src/core/toconnectionsub.h:23:5: warning: >> when initialized here [-Wreorder] >> toConnectionSub() : Query(NULL), Broken(false), >> Initialized(false) {} >> ^ >> In file included from >> /tmp/tora/tora-code/tora/src/core/toeventquery.h:40:0, >> from >> /tmp/tora/tora-code/src/core/../../tora/src/core/toeventqueryworker.h:43, >> from >> /tmp/tora/tora-code/src/core/moc_toeventqueryworker.cxx:9: >> /tmp/tora/tora-code/tora/src/core/toconnectionsub.h: In constructor >> ‘toConnectionSub::toConnectionSub()’: >> /tmp/tora/tora-code/tora/src/core/toconnectionsub.h:110:14: warning: >> ‘toConnectionSub::Query’ will be initialized after [-Wreorder] >> toQuery *Query; >> ^ >> /tmp/tora/tora-code/tora/src/core/toconnectionsub.h:109:10: >> warning: ‘bool toConnectionSub::Broken’ [-Wreorder] >> bool Broken, Initialized; >> ^ >> /tmp/tora/tora-code/tora/src/core/toconnectionsub.h:23:5: warning: >> when initialized here [-Wreorder] >> toConnectionSub() : Query(NULL), Broken(false), >> Initialized(false) {} >> ^ >> /tmp/tora/tora-code/tora/src/core/main.cpp: In function ‘int >> main(int, char**)’: >> /tmp/tora/tora-code/tora/src/core/main.cpp:118:128: note: #pragma >> message: WARNING: TODO/FIXME: hicolor theme is broken for Docklet >> icons. But we need to resolve X11 themes one day >> #pragma message WARN( "TODO/FIXME: hicolor theme is broken for >> Docklet icons. But we need to resolve X11 themes one day" ) >> ^ >> /tmp/tora/tora-code/tora/src/core/main.cpp:124:84: error: >> ‘ToConfiguration::Global’ has not been declared >> QString >> style(toConfigurationNewSingle::Instance().option(ToConfiguration::Global::Style).toString()); >> ^ >> /tmp/tora/tora-code/tora/src/core/main.cpp:138:109: error: >> ‘ToConfiguration::Global’ has not been declared >> torats.load(qmDir + QString("tora_") + >> toConfigurationNewSingle::Instance().option(ToConfiguration::Global::Translation).toString(), >> "."); >> ^ >> /tmp/tora/tora-code/tora/src/core/main.cpp:141:74: error: >> ‘ToConfiguration::Global’ has not been declared >> if >> (toConfigurationNewSingle::Instance().option(ToConfiguration::Global::ToadBindingsBool).toBool()) >> ^ >> /tmp/tora/tora-code/tora/src/core/main.cpp:240:87: error: >> ‘ToConfiguration::Global’ has not been declared >> QDir oHome = >> toConfigurationNewSingle::Instance().option(ToConfiguration::Global::OracleHomeDirectory).toString(); >> ^ >> /tmp/tora/tora-code/tora/src/core/main.cpp:304:89: error: >> ‘ToConfiguration::Global’ has not been declared >> toSQL::loadSQL(toConfigurationNewSingle::Instance().option(ToConfiguration::Global::CustomSQL).toString()); >> ^ >> make[3]: *** [src/CMakeFiles/tora.dir/core/main.cpp.o] Error 1 >> make[2]: *** [src/CMakeFiles/tora.dir/all] Error 2 >> make[1]: *** [src/CMakeFiles/poracle.dir/rule] Error 2 >> make: *** [poracle] Error 2 >> make: *** Waiting for unfinished jobs.... >> /tmp/tora/tora-code/tora/src/core/main.cpp: In function ‘int >> main(int, char**)’: >> /tmp/tora/tora-code/tora/src/core/main.cpp:118:128: note: #pragma >> message: WARNING: TODO/FIXME: hicolor theme is broken for Docklet >> icons. But we need to resolve X11 themes one day >> #pragma message WARN( "TODO/FIXME: hicolor theme is broken for >> Docklet icons. But we need to resolve X11 themes one day" ) >> ^ >> /tmp/tora/tora-code/tora/src/core/main.cpp:124:84: error: >> ‘ToConfiguration::Global’ has not been declared >> QString >> style(toConfigurationNewSingle::Instance().option(ToConfiguration::Global::Style).toString()); >> ^ >> /tmp/tora/tora-code/tora/src/core/main.cpp:138:109: error: >> ‘ToConfiguration::Global’ has not been declared >> torats.load(qmDir + QString("tora_") + >> toConfigurationNewSingle::Instance().option(ToConfiguration::Global::Translation).toString(), >> "."); >> ^ >> /tmp/tora/tora-code/tora/src/core/main.cpp:141:74: error: >> ‘ToConfiguration::Global’ has not been declared >> if >> (toConfigurationNewSingle::Instance().option(ToConfiguration::Global::ToadBindingsBool).toBool()) >> ^ >> /tmp/tora/tora-code/tora/src/core/main.cpp:240:87: error: >> ‘ToConfiguration::Global’ has not been declared >> QDir oHome = >> toConfigurationNewSingle::Instance().option(ToConfiguration::Global::OracleHomeDirectory).toString(); >> ^ >> /tmp/tora/tora-code/tora/src/core/main.cpp:304:89: error: >> ‘ToConfiguration::Global’ has not been declared >> toSQL::loadSQL(toConfigurationNewSingle::Instance().option(ToConfiguration::Global::CustomSQL).toString()); >> ^ >> make[3]: *** [src/CMakeFiles/tora.dir/core/main.cpp.o] Error 1 >> make[3]: *** Waiting for unfinished jobs.... >> make[2]: *** [src/CMakeFiles/tora.dir/all] Error 2 >> make[1]: *** [src/CMakeFiles/tora.dir/rule] Error 2 >> make: *** [tora] Error 2 >> >> The script used to make tora is the following: >> >> #!/bin/bash >> >> function rm-tora() { >> echo "Removing /tmp/tora"; >> rm -rf /tmp/tora >> sync; >> } >> >> mkdir -p /tmp/tora >> cd /tmp/tora >> svn checkout svn://svn.code.sf.net/p/tora/code/trunk tora-code || >> exit -1 >> cd /tmp/tora/tora-code || exit -1 >> cmake -DBOOST_ROOT=/usr/include -DCMAKE_BUILD_TYPE=Release tora >> make -j4 tora poracle || rm-tora >> >> >> -- >> Mladen Gogala >> Oracle DBA >> http://mgogala.freehostia.com >> >> >> ------------------------------------------------------------------------------ >> New Year. New Location. New Benefits. New Data Center in Ashburn, VA. >> GigeNET is offering a free month of service with a new server in Ashburn. >> Choose from 2 high performing configs, both with 100TB of bandwidth. >> Higher redundancy.Lower latency.Increased capacity.Completely compliant. >> http://p.sf.net/sfu/gigenet >> >> >> _______________________________________________ >> Tora-develop mailing list >> Tor...@li... >> https://lists.sourceforge.net/lists/listinfo/tora-develop > > > > ------------------------------------------------------------------------------ > New Year. New Location. New Benefits. New Data Center in Ashburn, VA. > GigeNET is offering a free month of service with a new server in Ashburn. > Choose from 2 high performing configs, both with 100TB of bandwidth. > Higher redundancy.Lower latency.Increased capacity.Completely compliant. > http://p.sf.net/sfu/gigenet > > > _______________________________________________ > Tora-develop mailing list > Tor...@li... > https://lists.sourceforge.net/lists/listinfo/tora-develop -- Mladen Gogala Oracle DBA http://mgogala.freehostia.com |