Building log.io on Redhat 5.8

139 views
Skip to first unread message

Johnny Costello

unread,
Oct 16, 2012, 2:13:41 PM10/16/12
to lo...@googlegroups.com
I ran into problems installing log.io on Redhat 5.8. The newest Build Recipe for for 0.2.7 did not work with my version of Redhat. It worked with Ubuntu and Redhat 6.0.
I finally got it working on 5.8 with the newest versions of Node. The problem turned out to be the python version for 5.X and node and because of this Connect would not install any version except 0.5.0
I finally got it working with both node version 0.6.19 and the newest node stable 0.8.12

Prerequisites:
You must install Python 2.7 on your server. You have to be careful with this since yum needs python 2.4 to work.

I found a great script that will pull all the dependencies and set up python 2.7

Step 1: Install python 2.7 
Step 2. mkdir ~/downloads && cd ~/downloads
Step 4. tar xvf node-(version) && cd node-(version)
Step 5. vi configure
Step 6. on first line change #!/usr/bin/env python to #!/usr/bin/env python2.7
Step 7. After MakeFile is created edit MakeFile and change PYTHON ?= python to PYTHON ?= python2.7
Step 8. make && make install
Step 10.   (not sure if this is needed but did it anyway) ln -s /usr/local/bin/npm /usr/bin/npm 
Step 11. (not sure if this is needed but did it anyway) useradd -d /home/logion logio && usermod -G adm logio
Step 12. npm -g install for...@0.9.0
Step 13. npm  config set unsafe-perm true
Step 14. npm -g install --prefix=/usr/local log.io

This install fixed the problem with python and allowed me to install log.io with the latest dependencies.





Reply all
Reply to author
Forward
0 new messages