{"id":142,"date":"2008-07-02T16:44:36","date_gmt":"2008-07-03T00:44:36","guid":{"rendered":"http:\/\/www.curlybrace.com\/words\/?p=142"},"modified":"2010-12-15T19:03:27","modified_gmt":"2010-12-16T03:03:27","slug":"installing-graphviz-dot-without-root-access","status":"publish","type":"post","link":"https:\/\/www.curlybrace.com\/words\/2008\/07\/installing-graphviz-dot-without-root-access\/","title":{"rendered":"Installing Graphviz Dot Without Root Access"},"content":{"rendered":"<p>I want to install <a href=\"http:\/\/www.graphviz.org\/\">Graphviz<\/a> on a machine in order to get access to the <tt>dot<\/tt> diagram generator.  However, I don&#8217;t have root access on this box, so I want to install it in my home directory, under <tt>~\/bin\/graphviz<\/tt>.  To do this, call the <tt>configure<\/tt> script with a few arguments to change the installation directory:<\/p>\n<blockquote>\n<pre class=\"bash\">.\/configure --exec_prefix=$HOME\/bin\/graphviz\/ --mandir=$HOME\/man \\\r\n--prefix=$HOME\/bin\/graphviz\/<\/pre>\n<\/blockquote>\n<p>Then make, and install:<\/p>\n<blockquote>\n<pre class=\"bash\">make\r\nmake install<\/pre>\n<\/blockquote>\n<p>Even though <tt>make install<\/tt> gives me an error, &#8220;<tt>\/usr\/bin\/ld: cannot find -lperl<\/tt>&#8220;, I find that Graphviz now appears under <tt>~\/bin\/graphviz<\/tt>:<\/p>\n<blockquote>\n<pre class=\"bash\">ls ~\/bin\/graphviz\/\r\nbin\/  include\/  lib\/  share\/<\/pre>\n<\/blockquote>\n<p>On a different box, I was unable to get this far.  I received this error:<\/p>\n<blockquote>\n<pre class=\"bash\">libtool: install: error: cannot install `libgraph.la' to a directory not ending in \/usr\/local\/lib<\/pre>\n<\/blockquote>\n<p>This is caused by an out-of-date <a href=\"http:\/\/www.gnu.org\/software\/libtool\/\">libtool<\/a>.<\/p>\n<blockquote>\n<pre class=\"bash\">libtool --version\r\nltmain.sh (GNU libtool) 1.4 (1.920 2001\/04\/24 23:26:18)<\/pre>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>I want to install Graphviz on a machine in order to get access to the dot diagram generator. However, I don&#8217;t have root access on this box, so I want to install it in my home directory, under ~\/bin\/graphviz. To &hellip; <a href=\"https:\/\/www.curlybrace.com\/words\/2008\/07\/installing-graphviz-dot-without-root-access\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-142","post","type-post","status-publish","format-standard","hentry","category-technology"],"_links":{"self":[{"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/posts\/142","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/comments?post=142"}],"version-history":[{"count":5,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/posts\/142\/revisions"}],"predecessor-version":[{"id":1408,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/posts\/142\/revisions\/1408"}],"wp:attachment":[{"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/media?parent=142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/categories?post=142"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/tags?post=142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}