{"id":695,"date":"2011-05-29T10:07:42","date_gmt":"2011-05-29T09:07:42","guid":{"rendered":"http:\/\/roboblog.fatal-fury.de\/?p=695"},"modified":"2011-05-29T10:07:42","modified_gmt":"2011-05-29T09:07:42","slug":"svn-client-selbst-compilieren","status":"publish","type":"post","link":"http:\/\/roboblog.fatal-fury.de\/?p=695","title":{"rendered":"svn client selbst compilieren"},"content":{"rendered":"<blockquote><p>svn: This client is too old to work with working copy '.'.  You need<br \/>\nto get a newer Subversion client, or to downgrade this working copy.<br \/>\nSee http:\/\/subversion.tigris.org\/faq.html#working-copy-format-change<br \/>\nfor details.<\/p><\/blockquote>\n<p>Narf. Ich hasse das. F\u00fcr eine neuere Version fehlen nat\u00fcrlich die Abh\u00e4nigkeiten und die Packetverwaltung kackt sich in die Hose. Neuinstallieren auf irgendwas moderneres als lenny ist auch nicht drin, dann bekomm ich irgendwas h\u00e4ssliches wie KDE4 noch.<\/p>\n<p>Aber heute ist source day, da compilieren wir uns alles sch\u00f6n selbst!<\/p>\n<p>svn gibt es hier irgendwo <a href=\"http:\/\/subversion.apache.org\/\">http:\/\/subversion.apache.org\/<\/a><br \/>\nAuspacken, ins Verzeichnis wechseln.<br \/>\nEin sch\u00f6nes Script was paar Abh\u00e4nigkeiten runterl\u00e4d gibt es hier <a href=\"http:\/\/svn.apache.org\/repos\/asf\/subversion\/trunk\/get-deps.sh\">http:\/\/svn.apache.org\/repos\/asf\/subversion\/trunk\/get-deps.sh<\/a><\/p>\n<p>Und was zum lesen hier <a href=\"http:\/\/svn.apache.org\/repos\/asf\/subversion\/trunk\/INSTALL\">http:\/\/svn.apache.org\/repos\/asf\/subversion\/trunk\/INSTALL<\/a><\/p>\n<p>Man f\u00fchre get-deps.sh im svn Verzeichnis aus. Das l\u00e4d serf, neon,<br \/>\nsqlite-amalgamation, apr und apr-util runter. apr und apr-util musste ich von Hand installieren, da sonst dieser Fehler beim compilieren kam:<\/p>\n<blockquote><p>libtool: link: cannot find the library `\/home\/kater\/download\/subversion-1.6.16\/apr-util\/xml\/expat\/lib\/libexpat.la' or unhandled argument `\/home\/kater\/download\/subversion-1.6.16\/apr-util\/xml\/expat\/lib\/libexpat.la'<\/p><\/blockquote>\n<p>Als erstes wird das apt und apt-util Verzeichnis verschoben, damit sie das svn configure nicht st\u00f6ren. Sonst gibt es den Fehler.<\/p>\n<p>$mv apr ..<br \/>\n$mv apr-util ..<\/p>\n<p>$cd ..\/apr<br \/>\n$.\/configure  --prefix=\/home\/kater\/bin\/<br \/>\n$make<br \/>\n$make install<\/p>\n<p>dann apr-util<\/p>\n<p>$cd ..\/apr-util<br \/>\n$.\/configure --prefix=\/home\/kater\/bin\/ --with-expat=buildin --with-apr=..\/apr\/<br \/>\n$make<br \/>\n$make install<\/p>\n<p>Wieder im svn Verzeichnis, kommt nun configure dran<\/p>\n<p>$.\/configure --prefix=\/home\/kater\/bin\/ --with-ssl  --with-serf=serf\/ --with-apr=\/home\/kater\/bin\/ --with-apr-util=\/home\/kater\/bin\/<\/p>\n<p>serf braucht man, damit der client http spricht.<br \/>\nssl braucht man, damit der client https spricht.<br \/>\napr und apr-util zeigen dahin, wohin wir sie vorher installiert hatten.<\/p>\n<p>$make<br \/>\n$make install<\/p>\n<p>$\/home\/kater\/bin\/bin\/svn --version |grep http<br \/>\nSubversion is open source software, see http:\/\/subversion.apache.org\/<br \/>\nThis product includes software developed by CollabNet (http:\/\/www.Collab.Net\/).<br \/>\n  - handles 'http' scheme<br \/>\n  - handles 'https' scheme<\/p>\n<p>Funktioniert :D<\/p>\n","protected":false},"excerpt":{"rendered":"<p>svn: This client is too old to work with working copy '.'. You need to get a newer Subversion client, or to downgrade this working copy. See http:\/\/subversion.tigris.org\/faq.html#working-copy-format-change for details. Narf. Ich hasse das. F\u00fcr eine neuere Version fehlen nat\u00fcrlich die Abh\u00e4nigkeiten und die Packetverwaltung kackt sich in die Hose. Neuinstallieren auf irgendwas moderneres als [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-695","post","type-post","status-publish","format-standard","hentry","category-allgemein"],"_links":{"self":[{"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=\/wp\/v2\/posts\/695","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=695"}],"version-history":[{"count":4,"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=\/wp\/v2\/posts\/695\/revisions"}],"predecessor-version":[{"id":705,"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=\/wp\/v2\/posts\/695\/revisions\/705"}],"wp:attachment":[{"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=695"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=695"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=695"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}