Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Alright, it took me a few months to get to this, but I'm finally back and managed to tackle this problem.</p> <ul> <li><p>Install bzip2 from source:</p> <pre><code># Upload bzip2-1.0.6.tar.gz to ${SRC} $ cd ${SRC} $ tar -xzvf bzip2-1.0.6.tar.gz $ cd bzip2-1.0.6 $ export CFLAGS="-fPIC" $ make -f Makefile-libbz2_so $ make $ make install PREFIX=${STOW}/bzip2-1.0.6 $ cp libbz2.so.1.0.6 ${STOW}/bzip2-1.0.6/lib/ $ cd ${STOW}/bzip2-1.0.6/lib $ ln -s libbz2.so.1.0.6 libbz2.so.1.0 $ cd ${STOW} $ stow bzip2-1.0.6 $ source ${HOME}/.bash_profile $ bzip2 --version #=&gt; bzip2, a block-soring file compressor. Version 1.0.6... </code></pre></li> <li><p>Install Python from source:</p> <pre><code># Upload Python-2.7.3.tar.gz to ${SRC} $ cd ${SRC} $ tar -xzvf Python-2.7.3.tar.gz $ cd Python-2.7.3 $ export CLFAGS="-fPIC" $ export C_INCLUDE_PATH=${STOW}/../include $ export CPLUS_INCLUDE_PATH=${C_INCLUDE_PATH} $ export LIBRARY_PATH=${STOW}/../lib $ export LD_RUN_PATH=${LIBRARY_PATH} $ ./configure --enable-shared --prefix=${STOW}/Python-2.7.3 --libdir=${STOW}/../lib $ make $ make install prefix=${STOW}/Python-2.7.3 $ cd ${STOW} $ stow Python-2.7.3 $ source ${HOME}/.bash_profile $ python -V #=&gt; Python 2.7.3 $ python -c "import bz2; print bz2.__doc__" #=&gt; The python bz2 module provides... </code></pre></li> </ul> <p>Although node.js wasn't technically part of the question, it is what drove me to go through all of the above so I may as well include the last few commands to get node.js installed from source using a source install Python 2.7.3 &amp; bzip2 1.0.6:</p> <ul> <li><p>Install node.js from source:</p> <pre><code># Upload node-v0.10.0.tar.gz to ${SRC} $ cd ${SRC} $ tar -xzvf node-v0.10.0.tar.gz $ cd node-v0.10.0 $ ./configure --prefix=${STOW}/node-v0.10.0 $ make $ make install prefix=${STOW}/node-v0.10.0 $ cd ${STOW} $ stow node-v0.10.0 $ source ${HOME}/.bash_profile $ node -v #=&gt; v0.10.0 </code></pre></li> </ul>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload