Comments you submit will be routed for moderation. If you have an account, please log in first.
Modify

Ticket #117 (closed: fixed)

Opened 7 years ago

Last modified 7 years ago

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.

comment:5 Changed 7 years ago by Gorbag

That fixed the problem. Version 0.10.0 is now build and runs successfully. Thanks.

comment:6 Changed 7 years ago by alwin

  • Keywords RESOLVED added
  • Status changed from assigned to closed
  • Resolution set to fixed

in next release it will check for setenv or putenv on buildtime

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.

Ihr Browser versucht gerade eine Seite aus dem sogenannten Internet auszudrucken. Das Internet ist ein weltweites Netzwerk von Computern, das den Menschen ganz neue Möglichkeiten der Kommunikation bietet.

Da Politiker im Regelfall von neuen Dingen nichts verstehen, halten wir es für notwendig, sie davor zu schützen. Dies ist im beidseitigen Interesse, da unnötige Angstzustände bei Ihnen verhindert werden, ebenso wie es uns vor profilierungs- und machtsüchtigen Politikern schützt.

Sollten Sie der Meinung sein, dass Sie diese Internetseite dennoch sehen sollten, so können Sie jederzeit durch normalen Gebrauch eines Internetbrowsers darauf zugreifen. Dazu sind aber minimale Computerkenntnisse erforderlich. Sollten Sie diese nicht haben, vergessen Sie einfach dieses Internet und lassen uns in Ruhe.

Die Umgehung dieser Ausdrucksperre ist nach §95a UrhG verboten.

Mehr Informationen unter www.politiker-stopp.de.