Forums | MacLife

You are not logged in.

#1 2008-08-30 7:18 pm

djrelmz
Spiral Out, Keep Going!
From: Minnesnowta
Registered: 2004-09-28
Posts: 79
Website

Trouble installing program in Terminal. Someone walk me through!!!

OK, first of all, I am very inexperienced in the ways of Terminal and Unix in general... 

My problem: I am trying to install LogMeIn Hamachi.  Its a VPN program.  My friend and I are trying to play a game over a VPN.  It doesn't have a simple package to install, or a snazzy gui.  Just a README and some Terminal files.    I can't figure out how to attach the readme, so I'll just post it....
____________________________________________________________
hamachi-0.9.9.9-osx-universal
=============================

Hamachi is a zero-configuration virtual private networking tool.

    http://hamachi.cc

Quick Start

    Run './install' and then 'tuncfg' from under the root account

    Run 'hamachi-init' to generate crypto identity (any account).

    Run 'hamachi start' to launch Hamachi daemon.

    Run 'hamachi login' to put the daemon online and to create an account.

    Run 'hamachi join <network>' to join the network.

    Run 'hamachi go-online <network>' to go online in the network.

    Run 'hamachi list' to list network members and their status.

Requirements & Privileged Access

    Hamachi requires TUN/TAP device driver to create and manage virtual
    network interface. If you have /dev/tap0 file, you are all set.
    Otherwise visit the following page for more information -

        http://www-user.rhrk.uni-kl.de/~nissler/tuntap/

    Note that you only need 'tap' kernel extension, 'tun' driver is not
    needed to be installed.

    Unless you are planning to use Hamachi exclusively from under the
    root account, you will need to run 'tuncfg' daemon. This daemon
    encapsulates all root-level functionality required by Hamachi and
    it must be running prior to launching Hamachi itself.

    Tuncfg is distributed in a source code under the BSD license. You
    can find the source code in ./tuncfg directory of this distribution.
   
    Running './install' automatically builds tuncfg and installs it
    in /sbin folder. If you would prefer to install it in altervative
    directory, modify ./Makefile accordingly.

Installation

    Hamachi OSX client comes as a single executable binary (hamachi)
    compiled for the platform of your choice. This binary includes the
    daemon, the control application and the setup utility.

    To install hamachi in /usr/bin run the following command from under
    the root account

        ./install

    Once installed you must run 'tuncfg' daemon with root privileges -

        sudo /sbin/tuncfg

    or if you don't have sudo -

        su - ; /sbin/tuncfg; exit

    Hamachi requires one time initialization (per system user account).
    This step generates cryptographic key pair and creates ~/.hamachi
    directory where Hamachi stores the keys, the configuration and the
    state. To perform this initialization run

        ./hamachi-init
____________________________________________________________________________


OK, so i installed the TUN/TAP device drivers....

Then i went on to install the actual program.    I got these text lines after attempting the install.



______________________________________________
zoros-computer:~ Zoro$ sudo /Users/Zoro/Desktop/hamachi-0.9.9.9-20-osx/install
Password:

Copying hamachi into /usr/bin ..
install: hamachi: No such file or directory
Creating hamachi-init symlink ..
Compiling tuncfg ..
make: *** tuncfg: No such file or directory.  Stop.
Copying tuncfg into /usr/sbin ..
install: tuncfg/tuncfg: No such file or directory

Hamachi is installed. See README for what to do next.
_____________________________________________

I assume that this didn't install properly?  I am so lost at this point and am about to give up.  Can anyone hold my hand through this process??  I will be eternally grateful.

Offline

 

#2 2008-08-30 7:30 pm

Miles
Now I fight for wisdom!
Administrator
From: Michigan
Registered: 2001-07-21
Posts: 4481
Website

Re: Trouble installing program in Terminal. Someone walk me through!!!

I'm guessing the hamachi directory must be your "current working directory" for the install to succeed.  So you would instead need to type:

Code:

cd /Users/Zoro/Desktop/hamachi-0.9.9.9-20-osx
sudo ./install

Online

 

#3 2008-08-30 7:39 pm

djrelmz
Spiral Out, Keep Going!
From: Minnesnowta
Registered: 2004-09-28
Posts: 79
Website

Re: Trouble installing program in Terminal. Someone walk me through!!!

cool, ill try. thnx

Offline

 

#4 2008-08-30 7:53 pm

Antonio
Now with more cowbell!
From: San Francisco, CA
Registered: 2007-01-16
Posts: 520

Re: Trouble installing program in Terminal. Someone walk me through!!!

I just tried it (from the working directory, yes) and got the same messages.
It seems to be working just fine, though.
I was able to install it and create a network.

Looking at these lines:

djrelmz wrote:

Copying tuncfg into /usr/sbin ..
install: tuncfg/tuncfg: No such file or directory

Hamachi is installed. See README for what to do next.

I'm guessing, considering it works, that it goes ahead and installs whatever it needs to.


“The most merciful thing in the world, I think, is the inability of the human mind to correlate all its contents.”
--HP Lovecraft, The Call Of Cthulhu

Offline

 

#5 2008-08-30 8:23 pm

djrelmz
Spiral Out, Keep Going!
From: Minnesnowta
Registered: 2004-09-28
Posts: 79
Website

Re: Trouble installing program in Terminal. Someone walk me through!!!

Antonio wrote:

I just tried it (from the working directory, yes) and got the same messages.
It seems to be working just fine, though.
I was able to install it and create a network.

Looking at these lines:

djrelmz wrote:

Copying tuncfg into /usr/sbin ..
install: tuncfg/tuncfg: No such file or directory

Hamachi is installed. See README for what to do next.

I'm guessing, considering it works, that it goes ahead and installs whatever it needs to.

hmm.. ok.  i originally thought that it was installed fine, but then i tried to run the "tuncfg" daemon, and i got another error.....  I didn't actually try to set up a network though.  BUT, I DID find a nice purrrty GUI for my inexperienced self to use.    http://hamachix.spaceants.net/download.html   

Thanks for everyones help!

Last edited by djrelmz (2008-08-30 8:23 pm)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson