title: Installing erlang from tar resulting in errors, wondering how to specify folders
body: <p>I had the inspiration to start messing around with Erlang and I am having problems installing it... I am using Linux Mint 16 (petra). I installed the dependencies, and then downloaded otp_src_17.1.tar.gz and ran 'tar -zxf otp_src_17.1.tar.gz' I then ran ./configure which gave me some errors that made it impossible to run make.</p>
  
  <p>These are the errors I'm getting (actually what I did was I did ./configure > configure.txt to get all the lines it prints as it configures, and it conveniently still printed to the console everything that has errors - neat)</p>
  
  <pre><code>configure: WARNING: No odbc library found skipping odbc
  configure: WARNING: "ODBC library - header check failed"
  configure: WARNING: "ODBC library - link check failed"
  rm: remove write-protected regular file './CONF_INFO'? 
  configure: WARNING: No GLU headers found, wx will NOT be usable
  /home/core/Desktop/otp_src_17.1/lib/wx/./configure: line 5195: wx-config: command not found
  /home/core/Desktop/otp_src_17.1/lib/wx/./configure: line 5893: ./CONF_INFO: Permission denied
  configure: WARNING:
                  wxWidgets must be installed on your system.
  
          Please check that wx-config is in path, the directory
          where wxWidgets libraries are installed (returned by
          'wx-config --libs' or 'wx-config --static --libs' command)
          is in LD_LIBRARY_PATH or equivalent variable and
          wxWidgets version is 2.8.4 or above.
  rm: remove write-protected regular file 'doc/CONF_INFO'? 
  /home/core/Desktop/otp_src_17.1/erts/configure: line 6466: doc/CONF_INFO: Permission denied
  configure: WARNING: No 'xsltproc' command found: the documentation cannot be built
  /home/core/Desktop/otp_src_17.1/erts/configure: line 6513: doc/CONF_INFO: Permission denied
  configure: WARNING: No 'fop' command found: going to generate placeholder PDF files
  
  configure: error: No curses library functions found
  configure: error: /bin/bash '/home/core/Desktop/otp_src_17.1/erts/configure' failed for erts
  </code></pre>
  
  <p>The thing is - I know that I have the ncurses library, as evidenced by the fact that when I do "sudo apt-get install ncurses-base ncurses-bin" it says:</p>
  
  <pre><code>Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  ncurses-base is already the newest version.
  0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
  </code></pre>
  
  <p>When I run "locate ncurses" it gives me the following:</p>
  
  <pre><code>/lib/i386-linux-gnu/libncurses.so.5
  /lib/i386-linux-gnu/libncurses.so.5.9
  /lib/x86_64-linux-gnu/libncurses.so.5
  /lib/x86_64-linux-gnu/libncurses.so.5.9
  /lib/x86_64-linux-gnu/libncursesw.so.5
  /lib/x86_64-linux-gnu/libncursesw.so.5.9
  /usr/bin/ncurses5-config
  /usr/bin/ncursesw5-config
  /usr/lib/vlc/plugins/gui/libncurses_plugin.so
  /usr/share/doc/libncurses5
  /usr/share/doc/libncursesw5
  /usr/share/doc/ncurses-base
  /usr/share/doc/ncurses-bin
  /usr/share/doc/ncurses-base/changelog.Debian.gz
  /usr/share/doc/ncurses-base/copyright
  /usr/share/doc/ncurses-bin/FAQ
  /usr/share/doc/ncurses-bin/changelog.Debian.gz
  /usr/share/doc/ncurses-bin/copyright
  /usr/share/lintian/overrides/ncurses-base
  /usr/share/man/man1/ncurses5-config.1.gz
  /usr/share/man/man1/ncursesw5-config.1.gz
  /var/cache/apt/archives/libncurses5_5.9+20130608-1ubuntu1_i386.deb
  /var/lib/dpkg/info/libncurses5:amd64.list
  /var/lib/dpkg/info/libncurses5:amd64.md5sums
  /var/lib/dpkg/info/libncurses5:amd64.postinst
  /var/lib/dpkg/info/libncurses5:amd64.postrm
  /var/lib/dpkg/info/libncurses5:amd64.shlibs
  /var/lib/dpkg/info/libncurses5:amd64.symbols
  /var/lib/dpkg/info/libncurses5:i386.list
  /var/lib/dpkg/info/libncurses5:i386.md5sums
  /var/lib/dpkg/info/libncurses5:i386.postinst
  /var/lib/dpkg/info/libncurses5:i386.postrm
  /var/lib/dpkg/info/libncurses5:i386.shlibs
  /var/lib/dpkg/info/libncurses5:i386.symbols
  /var/lib/dpkg/info/libncursesw5:amd64.list
  /var/lib/dpkg/info/libncursesw5:amd64.md5sums
  /var/lib/dpkg/info/libncursesw5:amd64.postinst
  /var/lib/dpkg/info/libncursesw5:amd64.postrm
  /var/lib/dpkg/info/libncursesw5:amd64.shlibs
  /var/lib/dpkg/info/libncursesw5:amd64.symbols
  /var/lib/dpkg/info/ncurses-base.conffiles
  /var/lib/dpkg/info/ncurses-base.list
  /var/lib/dpkg/info/ncurses-base.md5sums
  /var/lib/dpkg/info/ncurses-bin.list
  /var/lib/dpkg/info/ncurses-bin.md5sums
  </code></pre>
  
  <p>I am at a loss as to where to proceed. Thanks for any help</p>