Hello hackers!
I try to compile yast2, but i have stucked at compiling gtk module....
The error says:
make all-recursive
make[1]: Entering directory `/home/gryffus/yast-svn/trunk/gtk'
Making all in src
make[2]: Entering directory `/home/gryffus/yast-svn/trunk/gtk/src'
CXX yzyppwrapper.lo
In file included from /usr/include/c++/4.3/ext/hash_map:64,
from /usr/include/YaST2/ycp/YCode.h:228,
from /usr/include/YaST2/ycp/YStatement.h:28,
from /usr/include/YaST2/ycp/ExecutionEnvironment.h:22,
from /usr/include/YaST2/ycp/y2log.h:16,
from yzyppwrapper.cc:12:
/usr/include/c++/4.3/backward/backward_warning.h:32:2: warning: #warning
This file includes at least one deprecated or antiquated header which
may be removed without further notice at a future date. Please use a
non-deprecated interface with equivalent functionality instead. For a
listing of replacement headers and interfaces, consult the file
backward_warning.h. To disable this warning use -Wno-deprecated.
yzyppwrapper.cc:18:28: error: zypp/Selection.h: No such file or directory
yzyppwrapper.cc:21:27: error: zypp/Language.h: No such file or directory
yzyppwrapper.cc:40: error: 'zypp::Language' has not been declared
yzyppwrapper.cc:40: error: expected initializer before 'ZyppLanguage'
yzyppwrapper.cc:47: error: 'ZyppLanguage' does not name a type
yzyppwrapper.cc: In member function 'std::string Ypp::Package::provides()':
yzyppwrapper.cc:406: error: expected initializer before '&' token
yzyppwrapper.cc:407: error: 'zypp::CapSet' has not been declared
yzyppwrapper.cc:407: error: expected `;' before 'it'
yzyppwrapper.cc:408: error: 'it' was not declared in this scope
yzyppwrapper.cc:408: error: 'capSet' was not declared in this scope
yzyppwrapper.cc: In member function 'std::string Ypp::Package::requires()':
yzyppwrapper.cc:420: error: expected initializer before '&' token
yzyppwrapper.cc:421: error: 'zypp::CapSet' has not been declared
yzyppwrapper.cc:421: error: expected `;' before 'it'
yzyppwrapper.cc:422: error: 'it' was not declared in this scope
yzyppwrapper.cc:422: error: 'capSet' was not declared in this scope
yzyppwrapper.cc: In member function 'bool
Ypp::Package::fromCollection(Ypp::Package*)':
yzyppwrapper.cc:444: warning: 'std::set,
std::less >, std::allocator > >
zypp::Pattern::install_packages(const zypp::Locale&) const' is
deprecated (declared at /usr/include/zypp/Pattern.h:53)
yzyppwrapper.cc:456: error: 'ZyppLanguage' was not declared in this scope
yzyppwrapper.cc:456: error: expected `;' before 'language'
yzyppwrapper.cc:459: error: expected initializer before '&' token
yzyppwrapper.cc:460: error: 'zypp::CapSet' has not been declared
yzyppwrapper.cc:460: error: expected `;' before 'it'
yzyppwrapper.cc:461: error: 'it' was not declared in this scope
yzyppwrapper.cc:461: error: 'capSet' was not declared in this scope
yzyppwrapper.cc:462: error: 'language' was not declared in this scope
yzyppwrapper.cc: In function 'Ypp::Package::Version*
constructVersion(ZyppObject)':
yzyppwrapper.cc:666: warning: 'zypp::Repository
zypp::ResObject::repository() const' is deprecated (declared at
/usr/include/zypp/ResObject.h:126)
yzyppwrapper.cc: In member function 'GSList*
Ypp::Impl::getPackages(Ypp::Package::Type)':
yzyppwrapper.cc:1324: error: 'Language' is not a member of 'zypp'
yzyppwrapper.cc:1324: error: 'Language' is not a member of 'zypp'
yzyppwrapper.cc:1324: error: no matching function for call to
'zypp::ResPoolProxy::byKindBegin()'
yzyppwrapper.cc:1325: error: 'Language' is not a member of 'zypp'
yzyppwrapper.cc:1325: error: 'Language' is not a member of 'zypp'
yzyppwrapper.cc:1325: error: no matching function for call to
'zypp::ResPoolProxy::byKindEnd()'
yzyppwrapper.cc: In constructor 'Ypp::Ypp()':
yzyppwrapper.cc:1391: error: 'Selection' is not a member of 'zypp'
yzyppwrapper.cc:1391: error: 'Selection' is not a member of 'zypp'
yzyppwrapper.cc:1391: error: no matching function for call to
'zypp::ResPoolProxy::saveState()'
yzyppwrapper.cc:1392: error: 'Language' is not a member of 'zypp'
yzyppwrapper.cc:1392: error: 'Language' is not a member of 'zypp'
yzyppwrapper.cc:1392: error: no matching function for call to
'zypp::ResPoolProxy::saveState()'
yzyppwrapper.cc: In member function 'bool Ypp::isModified()':
yzyppwrapper.cc:1414: error: 'Selection' is not a member of 'zypp'
yzyppwrapper.cc:1414: error: 'Selection' is not a member of 'zypp'
yzyppwrapper.cc:1414: error: no matching function for call to
'zypp::ResPoolProxy::diffState()'
yzyppwrapper.cc:1415: error: 'Language' is not a member of 'zypp'
yzyppwrapper.cc:1415: error: 'Language' is not a member of 'zypp'
yzyppwrapper.cc:1415: error: no matching function for call to
'zypp::ResPoolProxy::diffState()'
make[2]: *** [yzyppwrapper.lo] Error 1
make[2]: Leaving directory `/home/gryffus/yast-svn/trunk/gtk/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gryffus/yast-svn/trunk/gtk'
make: *** [all] Error 2
I have searched for the 2 libraries (Selection.h and Language.h) and
found them in some older rpms (i.e. dipe repository), but not in the one
on zypp:svn repository... It is a yast error, or zypper error?
Thanx
Gryffus
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-devel+help@opensuse.org