<div dir="ltr">Hello,<div><br></div><div>I am new to GrADS and to the Unix language. I run Mac OS X Mavericks. When I tried to install the readline supplib I got the following error:</div><div><br></div><div><p style="margin:0px;font-size:11px;font-family:Menlo">
mv tilde.o tilde.so</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">rm -f compat.so</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">gcc -c -DHAVE_CONFIG_H   -I. -I.. -I.. -DRL_LIBRARY_VERSION=&#39;&quot;5.0&quot;&#39; -g -O -fno-common -o compat.o ../compat.c </p>
<p style="margin:0px;font-size:11px;font-family:Menlo">mv compat.o compat.so</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">rm -f libreadline.5.0.dylib</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">gcc -dynamic -arch_only `/usr/bin/arch` -install_name /Users/ninjawarrior343/supplibs/src/readline/lib/libreadline.5.0.dylib -current_version 5.0 -compatibility_version 5 -v -o libreadline.5.0.dylib readline.so vi_mode.so funmap.so keymaps.so parens.so search.so rltty.so complete.so bind.so isearch.so display.so signals.so util.so kill.so undo.so macro.so input.so callback.so terminal.so text.so nls.so misc.so xmalloc.so history.so histexpand.so histfile.so histsearch.so shell.so mbutil.so tilde.so compat.so -lncurses</p>

<p style="margin:0px;font-size:11px;font-family:Menlo">Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">Target: x86_64-apple-darwin13.1.0</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">Thread model: posix</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">clang: error: invalid argument &#39;-compatibility_version 5&#39; only allowed with &#39;-dynamiclib&#39;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">make[1]: *** [libreadline.5.0.dylib] Error 1</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">make: [shared] Error 2 (ignored)</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">/bin/sh ./support/mkinstalldirs /Users/ninjawarrior343/supplibs/src/readline/include \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">                </span>/Users/ninjawarrior343/supplibs/src/readline/include/readline /Users/ninjawarrior343/supplibs/src/readline/lib \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">                </span>/Users/ninjawarrior343/supplibs/src/readline/info /Users/ninjawarrior343/supplibs/src/readline/man/man3</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">mkdir -p -- /Users/ninjawarrior343/supplibs/src/readline/include /Users/ninjawarrior343/supplibs/src/readline/include/readline /Users/ninjawarrior343/supplibs/src/readline/lib /Users/ninjawarrior343/supplibs/src/readline/info /Users/ninjawarrior343/supplibs/src/readline/man/man3</p>

<p style="margin:0px;font-size:11px;font-family:Menlo">for f in readline.h chardefs.h keymaps.h history.h tilde.h rlstdc.h rlconf.h rltypedefs.h; do \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">                </span>/usr/bin/install -c -m 644 ./$f /Users/ninjawarrior343/supplibs/src/readline/include/readline ; \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">        </span>done</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">( if test -d doc ; then \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">                </span>cd doc &amp;&amp; \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">                </span>/Applications/Xcode.app/Contents/Developer/usr/bin/make  infodir=/Users/ninjawarrior343/supplibs/src/readline/info DESTDIR= install; \</p>

<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">        </span>  fi )</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">/bin/sh ../support/mkdirs /Users/ninjawarrior343/supplibs/src/readline/info /Users/ninjawarrior343/supplibs/src/readline/man/man3</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">if test -n &quot;&quot; ; then \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">                </span>/bin/sh ../support/mkdirs  ; \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">        </span>fi</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">if test -f <a href="http://readline.info">readline.info</a>; then \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">                </span>/usr/bin/install -c -m 644 <a href="http://readline.info">readline.info</a> /Users/ninjawarrior343/supplibs/src/readline/info/<a href="http://readline.info">readline.info</a>; \</p>

<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">        </span>else \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">                </span>/usr/bin/install -c -m 644 ./<a href="http://readline.info">readline.info</a> /Users/ninjawarrior343/supplibs/src/readline/info/<a href="http://readline.info">readline.info</a>; \</p>

<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">        </span>fi</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">if test -f <a href="http://rluserman.info">rluserman.info</a>; then \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">                </span>/usr/bin/install -c -m 644 <a href="http://rluserman.info">rluserman.info</a> /Users/ninjawarrior343/supplibs/src/readline/info/<a href="http://rluserman.info">rluserman.info</a>; \</p>

<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">        </span>else \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">                </span>/usr/bin/install -c -m 644 ./<a href="http://rluserman.info">rluserman.info</a> /Users/ninjawarrior343/supplibs/src/readline/info/<a href="http://rluserman.info">rluserman.info</a>; \</p>

<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">        </span>fi</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">if test -f <a href="http://history.info">history.info</a>; then \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">                </span>/usr/bin/install -c -m 644 <a href="http://history.info">history.info</a> /Users/ninjawarrior343/supplibs/src/readline/info/<a href="http://history.info">history.info</a>; \</p>

<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">        </span>else \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">                </span>/usr/bin/install -c -m 644 ./<a href="http://history.info">history.info</a> /Users/ninjawarrior343/supplibs/src/readline/info/<a href="http://history.info">history.info</a>; \</p>

<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">        </span>fi</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">if /bin/sh -c &#39;install-info --version&#39; &gt;/dev/null 2&gt;&amp;1; then \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">                </span>install-info --dir-file=/Users/ninjawarrior343/supplibs/src/readline/info/dir \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">                        </span>/Users/ninjawarrior343/supplibs/src/readline/info/<a href="http://readline.info">readline.info</a> ; \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">                </span>install-info --dir-file=/Users/ninjawarrior343/supplibs/src/readline/info/dir \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">                        </span>/Users/ninjawarrior343/supplibs/src/readline/info/<a href="http://history.info">history.info</a> ; \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">                </span>install-info --dir-file=/Users/ninjawarrior343/supplibs/src/readline/info/dir \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">                        </span>/Users/ninjawarrior343/supplibs/src/readline/info/<a href="http://rluserman.info">rluserman.info</a> ; \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">        </span>else true; fi</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">/usr/bin/install -c -m 644 ./readline.3 /Users/ninjawarrior343/supplibs/src/readline/man/man3/readline.3</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">/usr/bin/install -c -m 644 ./history.3 /Users/ninjawarrior343/supplibs/src/readline/man/man3/history.3</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">if test -n &quot;&quot; ; then \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">                </span>if test -f readline.html; then \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">                        </span>/usr/bin/install -c -m 644 readline.html /readline.html; \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">                </span>else \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">                        </span>/usr/bin/install -c -m 644 ./readline.html /readline.html; \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">                </span>fi ; \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">                </span>if test -f history.html; then \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">                        </span>/usr/bin/install -c -m 644 history.html /history.html; \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">                </span>else \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">                        </span>/usr/bin/install -c -m 644 ./history.html /history.html; \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">                </span>fi ; \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">                </span>if test -f rluserman.html; then \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">                        </span>/usr/bin/install -c -m 644 rluserman.html /rluserman.html; \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">                </span>else \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">                        </span>/usr/bin/install -c -m 644 ./rluserman.html /rluserman.html; \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">                </span>fi ; \</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><span class="" style="white-space:pre">        </span>fi</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">mv /Users/ninjawarrior343/supplibs/src/readline/lib/libreadline.a /Users/ninjawarrior343/supplibs/src/readline/lib/libreadline.old</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">mv: rename /Users/ninjawarrior343/supplibs/src/readline/lib/libreadline.a to /Users/ninjawarrior343/supplibs/src/readline/lib/libreadline.old: No such file or directory</p>

<p style="margin:0px;font-size:11px;font-family:Menlo">make: [install-static] Error 1 (ignored)</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">/usr/bin/install -c -m 644 libreadline.a /Users/ninjawarrior343/supplibs/src/readline/lib/libreadline.a</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">test -n &quot;ranlib&quot; &amp;&amp; ranlib /Users/ninjawarrior343/supplibs/src/readline/lib/libreadline.a</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">mv /Users/ninjawarrior343/supplibs/src/readline/lib/libhistory.a /Users/ninjawarrior343/supplibs/src/readline/lib/libhistory.old</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">mv: rename /Users/ninjawarrior343/supplibs/src/readline/lib/libhistory.a to /Users/ninjawarrior343/supplibs/src/readline/lib/libhistory.old: No such file or directory</p>

<p style="margin:0px;font-size:11px;font-family:Menlo">make: [install-static] Error 1 (ignored)</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">/usr/bin/install -c -m 644 libhistory.a /Users/ninjawarrior343/supplibs/src/readline/lib/libhistory.a</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">test -n &quot;ranlib&quot; &amp;&amp; ranlib /Users/ninjawarrior343/supplibs/src/readline/lib/libhistory.a</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">test -d shlib || mkdir shlib</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">( cd shlib ; /Applications/Xcode.app/Contents/Developer/usr/bin/make  all )</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">rm -f libreadline.5.0.dylib</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">gcc -dynamic -arch_only `/usr/bin/arch` -install_name /Users/ninjawarrior343/supplibs/src/readline/lib/libreadline.5.0.dylib -current_version 5.0 -compatibility_version 5 -v -o libreadline.5.0.dylib readline.so vi_mode.so funmap.so keymaps.so parens.so search.so rltty.so complete.so bind.so isearch.so display.so signals.so util.so kill.so undo.so macro.so input.so callback.so terminal.so text.so nls.so misc.so xmalloc.so history.so histexpand.so histfile.so histsearch.so shell.so mbutil.so tilde.so compat.so -lncurses</p>

<p style="margin:0px;font-size:11px;font-family:Menlo">Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">Target: x86_64-apple-darwin13.1.0</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">Thread model: posix</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">clang: error: invalid argument &#39;-compatibility_version 5&#39; only allowed with &#39;-dynamiclib&#39;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">make[1]: *** [libreadline.5.0.dylib] Error 1</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">make: [shared] Error 2 (ignored)</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">( cd shlib ; /Applications/Xcode.app/Contents/Developer/usr/bin/make  DESTDIR= install )</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">/bin/sh ../support/mkdirs /Users/ninjawarrior343/supplibs/src/readline/lib</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">rm -f libreadline.5.0.dylib</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">gcc -dynamic -arch_only `/usr/bin/arch` -install_name /Users/ninjawarrior343/supplibs/src/readline/lib/libreadline.5.0.dylib -current_version 5.0 -compatibility_version 5 -v -o libreadline.5.0.dylib readline.so vi_mode.so funmap.so keymaps.so parens.so search.so rltty.so complete.so bind.so isearch.so display.so signals.so util.so kill.so undo.so macro.so input.so callback.so terminal.so text.so nls.so misc.so xmalloc.so history.so histexpand.so histfile.so histsearch.so shell.so mbutil.so tilde.so compat.so -lncurses</p>

<p style="margin:0px;font-size:11px;font-family:Menlo">Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">Target: x86_64-apple-darwin13.1.0</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">Thread model: posix</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">clang: error: invalid argument &#39;-compatibility_version 5&#39; only allowed with &#39;-dynamiclib&#39;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">make[1]: *** [libreadline.5.0.dylib] Error 1</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">make: [install-shared] Error 2 (ignored)</p><p style="margin:0px;font-size:11px;font-family:Menlo"><br></p><p style="margin:0px"><font face="arial, helvetica, sans-serif">It can&#39;t read or find libreadline.5.0.dylib (or so I think). I get a similar error for ncurses:</font></p>
<p style="margin:0px"><font face="arial, helvetica, sans-serif"><br></font></p><p style="margin:0px;font-size:11px;font-family:Menlo">gcc -DHAVE_CONFIG_H -I../ncurses -I. -I. -I../include  -U_XOPEN_SOURCE -D_XOPEN_SOURCE=500 -DSIGWINCH=28 -DNDEBUG -I/Users/ninjawarrior343/supplibs/src/ncurses/include/ncurses -O2 --param max-inline-insns-single=1200  -no-cpp-precomp -c ../ncurses/./tty/hardscroll.c -o ../objects/hardscroll.o</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">clang: warning: argument unused during compilation: &#39;--param max-inline-insns-single=1200&#39;</p><p style="margin:0px;font-size:11px;font-family:Menlo"><span style="color:rgb(195,55,32)"><b>error: </b></span><b>unable to open output file &#39;../objects/hardscroll.o&#39;: &#39;Error opening</b></p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><b>      output file &#39;../objects/hardscroll.o&#39;: Permission denied&#39;</b></p><p style="margin:0px;font-size:11px;font-family:Menlo">1 error generated.</p><p style="margin:0px;font-size:11px;font-family:Menlo">
make[1]: *** [../objects/hardscroll.o] Error 1</p><p style="margin:0px">





</p><p style="margin:0px;font-size:11px;font-family:Menlo">make: *** [install] Error 2</p><p style="margin:0px;font-size:11px;font-family:Menlo"><br></p><p style="margin:0px"><font face="arial, helvetica, sans-serif">Then when I tried to copy it, I get the following:</font></p>
<p style="margin:0px"><font face="arial, helvetica, sans-serif"><br></font></p><p style="margin:0px;font-size:11px;font-family:Menlo">dstanfel:ncurses-5.7 ninjawarrior343$ cp $HOME/supplibs/src/ncurses/lib/libncurses.a $HOME/supplibs/lib</p>
<p style="margin:0px">
</p><p style="margin:0px;font-size:11px;font-family:Menlo">cp: /Users/ninjawarrior343/supplibs/src/ncurses/lib/libncurses.a: No such file or directory</p></div><div><br></div><div>The file was not created. Any help will be greatly appreciated.</div>
<div><br></div><div>Thanks,</div><div><br></div><div>David </div></div>