{"id":330,"date":"2009-03-09T14:05:28","date_gmt":"2009-03-09T11:05:28","guid":{"rendered":"http:\/\/www.void.gr\/kargig\/blog\/?p=330"},"modified":"2009-03-09T14:06:36","modified_gmt":"2009-03-09T11:06:36","slug":"macports-error","status":"publish","type":"post","link":"https:\/\/www.void.gr\/kargig\/blog\/2009\/03\/09\/macports-error\/","title":{"rendered":"macports error"},"content":{"rendered":"<p>While trying to update the installed progs, I got errors like:<\/p>\n<p><code>Error: Target org.macports.build returned: shell command \" cd \"\/opt\/local\/var\/macports\/build\/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv\/work\/libiconv-1.12\" && make CC= -f Makefile.devel && make all \" returned error 2<br \/>\nCommand output: O lib\/genaliases.c -o genaliases<br \/>\nmake: O: Command not found<br \/>\nmake: [lib\/aliases.h] Error 127 (ignored)<br \/>\n.\/genaliases > lib\/aliases.gperf 3> canonical.sh 4> canonical_local.sh<br \/>\n\/bin\/sh: .\/genaliases: No such file or directory<br \/>\nmake: *** [lib\/aliases.h] Error 127<br \/>\n<\/code><\/p>\n<p>The reason was that I was using an old macports version, 1.6.0 instead of 1.7.0. A <code>supo port selfupdate<\/code> fixed the problem. I hope that in the future macports will be upgradable through normal upgrades like gentoo&#8217;s portage and debian&#8217;s apt-get tools do so we don&#8217;t need to &#8220;selfupdate&#8221; every once in a while&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>While trying to update the installed progs, I got errors like: Error: Target org.macports.build returned: shell command &#8221; cd &#8220;\/opt\/local\/var\/macports\/build\/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv\/work\/libiconv-1.12&#8243; &#038;&#038; make CC= -f Makefile.devel &#038;&#038; make all &#8221; returned error 2 Command output: O lib\/genaliases.c -o genaliases make: O: Command not found make: [lib\/aliases.h] Error 127 (ignored) .\/genaliases > lib\/aliases.gperf 3> canonical.sh 4> canonical_local.sh [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ep_exclude_from_search":false,"footnotes":""},"categories":[13],"tags":[],"class_list":["post-330","post","type-post","status-publish","format-standard","hentry","category-macosx"],"aioseo_notices":[],"views":7444,"_links":{"self":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts\/330","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/comments?post=330"}],"version-history":[{"count":0,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts\/330\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/media?parent=330"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/categories?post=330"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/tags?post=330"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}