Ticket #117 (closed: fixed)
kdesvn-0.10.0 uses ::setenv which is not available on Solaris 8
| Reported by: | Gorbag | Owned by: | alwin |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.10.x |
| Component: | All | Version: | 0.10.x |
| Severity: | major | Keywords: | RESOLVED |
| Cc: |
Description
I get this compile error:
[ 70%] Building CXX object src/helpers/CMakeFiles/kdesvnhelpers.dir/sshagent.o /cad4/stevee/kde_build/kdesvn-0.10.0/src/helpers/sshagent.cpp: In member function `bool SshAgent::querySshAgent()': /cad4/stevee/kde_build/kdesvn-0.10.0/src/helpers/sshagent.cpp:74: error: `::setenv' has not been declared
Attachments
Change History
comment:1 Changed 7 years ago by Gorbag
- Owner changed from anonymous to alwin
- Status changed from new to assigned
comment:2 Changed 7 years ago by alwin
oh! I'll fix it, may you replace this line meanwhile with
::putenv("SSH_ASKPASS=kdesvn")
so you have a working kdesvn (I hope)
comment:3 Changed 7 years ago by Gorbag
I now seem to be getting a different error earlier in the build:
[ 3%] Building CXX object src/svnqt/CMakeFiles/svnqt.dir/client_cat.o In file included from /cad4/stevee/kde_build/kdesvn-0.10.0/src/svnqt/client_cat.cpp:29: /cad4/stevee/kde_build/kdesvn-0.10.0/src/svnqt/client_impl.hpp:56: error: expected `)' before "context" /cad4/stevee/kde_build/kdesvn-0.10.0/src/svnqt/client_impl.hpp:63: error: `ContextP' does not name a type /cad4/stevee/kde_build/kdesvn-0.10.0/src/svnqt/client_impl.hpp:74: error: `ContextP' has not been declared /cad4/stevee/kde_build/kdesvn-0.10.0/src/svnqt/client_impl.hpp:74: error: ISO C++ forbids declaration of `context' with no type /cad4/stevee/kde_build/kdesvn-0.10.0/src/svnqt/client_impl.hpp:693: error: `ContextP' does not name a type /cad4/stevee/kde_build/kdesvn-0.10.0/src/svnqt/client_cat.cpp: In member function `virtual QByteArray svn::Client_impl::cat(const svn::Path&, const svn::Revision&, const svn::Revision&)': /cad4/stevee/kde_build/kdesvn-0.10.0/src/svnqt/client_cat.cpp:49: error: `m_context' was not declared in this scope /cad4/stevee/kde_build/kdesvn-0.10.0/src/svnqt/client_cat.cpp: In member function `virtual void svn::Client_impl::get(const svn::Path&, const QString&, const svn::Revision&, const svn::Revision&)': /cad4/stevee/kde_build/kdesvn-0.10.0/src/svnqt/client_cat.cpp:74: error: `m_context' was not declared in this scope /cad4/stevee/kde_build/kdesvn-0.10.0/src/svnqt/client_cat.cpp: In member function `svn_error_t* svn::Client_impl::internal_cat(const svn::Path&, const svn::Revision&, const svn::Revision&, svn::stream::SvnStream?&)': /cad4/stevee/kde_build/kdesvn-0.10.0/src/svnqt/client_cat.cpp:90: error: `m_context' was not declared in this scope distcc[26017] ERROR: compile /cad4/stevee/kde_build/kdesvn-0.10.0/src/svnqt/client_cat.cpp on rooster/3 failed
I'm not sure why the behavior has changed. After getting this error I removed the source and started again, with the same error appearing :-(
comment:4 Changed 7 years ago by alwin
see #0000107 or bug-list on kdesvn homepage, you should remove (or rename) elder install of libsvnqt (<installprefix>/include/svnqt and libsvnqt.*) - it is a error in buildsystem.
Sorry for that.
