summaryrefslogtreecommitdiff
path: root/posts/2020-04-13-Fixing-X11-Error-AmberTools-macOS/index.html
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-10-02 19:26:57 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2020-10-02 19:26:57 +0530
commit15f935da81e17e5f6a9f0cd6d321d96801d3cb4e (patch)
tree4bf30c0d1763612e69e0851d85dc7acdc2f3f198 /posts/2020-04-13-Fixing-X11-Error-AmberTools-macOS/index.html
parentf53bab83dbdd414389efefe27eb3c4e0d453e41f (diff)
Publish deploy 2020-10-02 19:26
Diffstat (limited to 'posts/2020-04-13-Fixing-X11-Error-AmberTools-macOS/index.html')
-rw-r--r--posts/2020-04-13-Fixing-X11-Error-AmberTools-macOS/index.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/posts/2020-04-13-Fixing-X11-Error-AmberTools-macOS/index.html b/posts/2020-04-13-Fixing-X11-Error-AmberTools-macOS/index.html
new file mode 100644
index 0000000..5eaa1ce
--- /dev/null
+++ b/posts/2020-04-13-Fixing-X11-Error-AmberTools-macOS/index.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"/><meta name="og:site_name" content="Navan Chauhan"/><link rel="canonical" href="https://navanchauhan.github.io/posts/2020-04-13-Fixing-X11-Error-AmberTools-macOS"/><meta name="twitter:url" content="https://navanchauhan.github.io/posts/2020-04-13-Fixing-X11-Error-AmberTools-macOS"/><meta name="og:url" content="https://navanchauhan.github.io/posts/2020-04-13-Fixing-X11-Error-AmberTools-macOS"/><title>Fixing X11 Error on macOS Catalina for AmberTools 18/19 | Navan Chauhan</title><meta name="twitter:title" content="Fixing X11 Error on macOS Catalina for AmberTools 18/19 | Navan Chauhan"/><meta name="og:title" content="Fixing X11 Error on macOS Catalina for AmberTools 18/19 | Navan Chauhan"/><meta name="description" content="Fixing Could not find the X11 libraries; you may need to edit config.h, AmberTools macOS Catalina"/><meta name="twitter:description" content="Fixing Could not find the X11 libraries; you may need to edit config.h, AmberTools macOS Catalina"/><meta name="og:description" content="Fixing Could not find the X11 libraries; you may need to edit config.h, AmberTools macOS Catalina"/><meta name="twitter:card" content="summary"/><link rel="stylesheet" href="/styles.css" type="text/css"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link rel="shortcut icon" href="/images/favicon.png" type="image/png"/><link rel="alternate" href="/feed.rss" type="application/rss+xml" title="Subscribe to Navan Chauhan"/><meta name="twitter:image" content="https://navanchauhan.github.io/images/logo.png"/><meta name="og:image" content="https://navanchauhan.github.io/images/logo.png"/></head><head><script>var _paq=window._paq=window._paq||[];_paq.push(['trackPageView']),_paq.push(['enableLinkTracking']),function(){var a='https://navanspi.duckdns.org:6969/analytics/';_paq.push(['setTrackerUrl',a+'matomo.php']),_paq.push(['setSiteId','2']);var e=document,t=e.createElement('script'),p=e.getElementsByTagName('script')[0];t.type='text/javascript',t.async=!0,t.src=a+'matomo.js',p.parentNode.insertBefore(t,p)}();</script></head><body class="item-page"><header><div class="wrapper"><a class="site-name" href="/">Navan Chauhan</a><nav><ul><li><a href="/about">About Me</a></li><li><a class="selected" href="/posts">Posts</a></li><li><a href="/publications">Publications</a></li><li><a href="/assets/résumé.pdf">Résumé</a></li><li><a href="https://navanchauhan.github.io/repo">Repo</a></li></ul></nav></div></header><div class="wrapper"><article><div class="content"><span class="reading-time">2 minute read</span><span class="reading-time">Created on April 13, 2020</span><span class="reading-time">Last modified on September 15, 2020</span><h1>Fixing X11 Error on macOS Catalina for AmberTools 18/19</h1><p>I was trying to install AmberTools on my macOS Catalina Installation. Running <code>./configure -macAccelerate clang</code> gave me an error that it could not find X11 libraries, even though <code>locate libXt</code> showed that my installation was correct.</p><p>Error:</p><pre><code><div class="highlight"><span></span>Could not find the X11 libraries<span class="p">;</span> you may need to edit config.h
+ to <span class="nb">set</span> the XHOME and XLIBS variables.
+Error: The X11 libraries are not in the usual location !
+ To search <span class="k">for</span> them try the command: locate libXt
+ On new Fedora OS<span class="s1">&#39;s install the libXt-devel libXext-devel</span>
+<span class="s1"> libX11-devel libICE-devel libSM-devel packages.</span>
+<span class="s1"> On old Fedora OS&#39;</span>s install the xorg-x11-devel package.
+ On RedHat OS<span class="s1">&#39;s install the XFree86-devel package.</span>
+<span class="s1"> On Ubuntu OS&#39;</span>s install the xorg-dev and xserver-xorg packages.
+
+ ...more info <span class="k">for</span> various linuxes at ambermd.org/ubuntu.html
+
+ To build Amber without XLEaP, re-run configure with <span class="err">&#39;</span>-noX11:
+ ./configure -noX11 --with-python /usr/local/bin/python3 -macAccelerate clang
+Configure failed due to the errors above!
+</div></code></pre><p>I searched on Google for a solution. Sadly, there was not even a single thread which had a solution about this error.</p><h2>The Fix</h2><p>Simply reinstalling XQuartz using homebrew fixed the error <code>brew cask reinstall xquartz</code></p><p>If you do not have XQuartz installed, you need to run <code>brew cask install xquartz</code></p></div><span>Tagged with: </span><ul class="tag-list"><li><a href="/tags/moleculardynamics">Molecular-Dynamics</a></li><li><a href="/tags/macos">macOS</a></li></ul></article></div><footer><p>Made with ❤️ using <a href="https://github.com/johnsundell/publish">Publish</a></p><p><a href="/feed.rss">RSS feed</a></p></footer></body></html> \ No newline at end of file