{"id":432,"date":"2012-02-20T09:10:01","date_gmt":"2012-02-20T15:10:01","guid":{"rendered":"http:\/\/www.cavanaugh.pro\/sean\/?p=432"},"modified":"2012-02-20T09:17:17","modified_gmt":"2012-02-20T15:17:17","slug":"installing-the-readylogo-tahi-scripts-to-freebsd-9-0-utmp-h-bug","status":"publish","type":"post","link":"https:\/\/www.cavanaugh.pro\/sean\/installing-the-readylogo-tahi-scripts-to-freebsd-9-0-utmp-h-bug\/","title":{"rendered":"Installing the ReadyLogo Tahi Scripts to FreeBSD 9.0 utmp.h bug"},"content":{"rendered":"<p>Hello all. Last week I was upgrading one of our vmware templates to FreeBSD 9.0 to conduct <a href=\"http:\/\/www.ipv6ready.org\/\">ReadyLogo <\/a>testing via the <a href=\"http:\/\/tahi.org\/\">Tahi scripts<\/a> and stumbled across a bug where I could make v6eval compile correctly. Basically it looks like this-&gt;<\/p>\n<p><code>freebsd-9-USGv6# cd v6eval-3.3.2<br \/>\nfreebsd-9-USGv6# make<br \/>\n===&gt; lib (depend)<br \/>\n===&gt; lib\/Cm (depend)<br \/>\nrm -f .depend GPATH GRTAGS GSYMS GTAGS<br \/>\nrm -f .depend<br \/>\nmkdep -f .depend -a -DYYDEBUG -I. -I\/usr\/local\/include CmTypes.cc BtObject.cc BtArray.cc BtList.cc BtSet.cc CmQueue.cc CmAgent.cc CmMain.cc CmSocket.cc CmFdSet.cc CmFdMasks.cc CmString.cc PerfCollect.cc Timer.cc CmDispatch.cc CmReceiver.cc timeval.cc CmToken.cc CmMatch.cc CmLexer.cc<br \/>\nCmMain.cc:51:18: error: utmp.h: No such file or directory<br \/>\nmkdep: compile failed<br \/>\n*** Error code 1<br \/>\nStop in \/v6eval-3.3.2\/lib\/Cm.<br \/>\n*** Error code 1<br \/>\nStop in \/v6eval-3.3.2\/lib.<br \/>\n*** Error code 1<br \/>\nStop in \/v6eval-3.3.2.<br \/>\nfreebsd-9-USGv6#<br \/>\n<\/code><\/p>\n<p>I sent out an email to Ed Schouten of the FreeBSD project (who is in charge of integrating the new utmpx.h now that utmc.h has been deprecated) and he was able to help me in less than an hour (wow!). You can tell that Ed Schouten is the person if charge of this by doing this command <code>head \/usr\/include\/utmpx.h<\/code>. I also asked him why he was being so helpful and besides being a great guy he has this to say-&gt;<\/p>\n<blockquote><p>Though utmpx is quite an improvement over the utmp stuff we had in 8, it<br \/>\nbroke quite a lot of ports (about a hundred or so). I fixed quite a lot<br \/>\nof them, but at some point I decided to stop fixing them until people<br \/>\ncontacted me about them. That way I know which ports are used and which<br \/>\nare not. Many of the broken tools are (or should be) used so little in<br \/>\npractice, that we&#8217;d better just sit back and watch them die. \ud83d\ude09<\/p><\/blockquote>\n<p>.<\/p>\n<p><strong>Installation \/ Fix<\/strong><br \/>\nGo to the directory of the v6eval port (\/usr\/ports\/net\/v6eval) . You then do:<\/p>\n<p><code>fetch -o files\/patch-utmpx http:\/\/80386.nl\/pub\/v6eval.txt<br \/>\nmake clean<br \/>\nmake install clean<\/code><\/p>\n<p>I have attached the patch here:<a href=\"http:\/\/www.cavanaugh.pro\/sean\/wp-content\/uploads\/2012\/02\/v6eval.diff_.gz\">v6eval.diff<\/a> in case it is not on his website anymore.<\/p>\n<p>Also for me it still would not compile so I had to do-&gt;<br \/>\n<code> make TRYBROKEN= clean<br \/>\nmake TRYBROKEN= install clean<\/code><\/p>\n<p>Comment below if you have any problems!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello all. Last week I was upgrading one of our vmware templates to FreeBSD 9.0 to conduct ReadyLogo testing via the Tahi scripts and stumbled across a bug where I could make v6eval compile correctly. Basically it looks like this-&gt; freebsd-9-USGv6# cd v6eval-3.3.2 freebsd-9-USGv6# make ===&gt; lib (depend) ===&gt; lib\/Cm (depend) rm -f .depend GPATH &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.cavanaugh.pro\/sean\/installing-the-readylogo-tahi-scripts-to-freebsd-9-0-utmp-h-bug\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Installing the ReadyLogo Tahi Scripts to FreeBSD 9.0 utmp.h bug&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-432","post","type-post","status-publish","format-standard","hentry","category-geek"],"_links":{"self":[{"href":"https:\/\/www.cavanaugh.pro\/sean\/wp-json\/wp\/v2\/posts\/432","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cavanaugh.pro\/sean\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cavanaugh.pro\/sean\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cavanaugh.pro\/sean\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cavanaugh.pro\/sean\/wp-json\/wp\/v2\/comments?post=432"}],"version-history":[{"count":6,"href":"https:\/\/www.cavanaugh.pro\/sean\/wp-json\/wp\/v2\/posts\/432\/revisions"}],"predecessor-version":[{"id":439,"href":"https:\/\/www.cavanaugh.pro\/sean\/wp-json\/wp\/v2\/posts\/432\/revisions\/439"}],"wp:attachment":[{"href":"https:\/\/www.cavanaugh.pro\/sean\/wp-json\/wp\/v2\/media?parent=432"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cavanaugh.pro\/sean\/wp-json\/wp\/v2\/categories?post=432"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cavanaugh.pro\/sean\/wp-json\/wp\/v2\/tags?post=432"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}