ch01s05.html 4.8 KB

1234567891011121314151617181920212223242526272829303132
  1. <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Toolkit Installation on Mac OS X</title><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><meta name="keywords" content="Intellon, Atheros, Qualcomm, HomePlug, powerline, communications, INT6000, INT6300, INT6400, AR7400, AR7420"><link rel="home" href="index.html" title="Qualcomm Atheros Open Powerline Toolkit"><link rel="up" href="ch01.html" title="Chapter 1.  Overview"><link rel="prev" href="ch01s04.html" title="Toolkit Installation on Linux"><link rel="next" href="ch01s06.html" title="Toolkit Installation on Windows XP™"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">
  2. Toolkit Installation on Mac OS X
  3. </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch01s04.html">Prev</a> </td><th width="60%" align="center">Chapter 1. 
  4. Overview
  5. </th><td width="20%" align="right"> <a accesskey="n" href="ch01s06.html">Next</a></td></tr></table><hr></div><div class="section" title="Toolkit Installation on Mac OS X"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="install-macosx"></a>
  6. Toolkit Installation on Mac OS X
  7. </h2></div></div></div><p>
  8. Toolkit installation on <span class="productname">Mac OS X</span>™ is essentially identical to installation on Linux but special steps are needed before starting.
  9. </p><p>
  10. First, you must install the toolkit as the <code class="varname">root</code> user or you will be denied permission. The <code class="varname">root</code> user account is disabled by default and so you must enable it in order to login. Follow instructions at <a class="ulink" href="http://support.apple.com/kb/HT1528" target="_top">Enabling the "root" user in Mac OS X</a> to enable the account and login. After installation, toolkit programs should be run from a normal user account.
  11. </p><p>
  12. Second, <span class="productname">Mac OS X</span>™ does not include C Language development tools by default. You must download and install them in order to build the toolkit. You can download and install them from the Apple website or (if you are ambitious) download, compile and install them from various open source websites. Consider using <a class="ulink" href="https://developer.apple.com/technologies/tools/" target="_top"><span class="application">Xcode</span></a> on <span class="application">Mac OS X Leopard</span> or <span class="application">Lion</span>.
  13. </p><p>
  14. Login as the root user and download or copy the toolkit archive file to your preferred folder then follow the <a class="link" href="ch01s04.html" title="Toolkit Installation on Linux">instructions</a> for installing the toolkit on Linux.
  15. </p><div class="example"><a name="idp18577952"></a><p class="title"><b>Example 1.3. 
  16. Setting the <code class="constant">PATH</code> variable on <span class="productname">OS X</span>™
  17. </b></p><div class="example-contents"><p>
  18. While still logged in as the <code class="varname">root</code> user, edit <code class="filename">/etc/profile</code> and add folder<code class="filename">/usr/local/bin</code> to the <code class="varname">PATH</code> definition found there. This will ensure that all users can access toolkit programs. The change may not take effect until the next time you login or open a new command shell.
  19. </p><pre class="screen">
  20. PATH="/bin:/sbin:/usr/local/bin"
  21. </pre></div></div><br class="example-break"><div class="example"><a name="idp18580624"></a><p class="title"><b>Example 1.4. 
  22. Removing the Toolkit from <span class="productname">Mac OS X</span>™
  23. </b></p><div class="example-contents"><p>
  24. While still logged in as the <code class="varname">root</code> user, remember to delete the toolkit source folder or, at least change ownership of all files in the toolkit folder, so that you can access and/or remove them later. This deletes the toolkit source code and intermmediate files without removing any installed toolkit programs.
  25. </p><pre class="screen">
  26. cd ..
  27. rm -r plc-utils-x.x.x
  28. </pre></div></div><br class="example-break"></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch01s04.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch01.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch01s06.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">
  29. Toolkit Installation on Linux
  30.  </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 
  31. Toolkit Installation on <span class="productname">Windows XP</span>™
  32. </td></tr></table></div></body></html>