Installing a .tar.gz application.

Drunkard #1

Expert Member
Joined
Aug 15, 2007
Messages
3,668
Reaction score
18
I want to install the Linux version of NCH VRS. I've had the Windows version running since 2005, and I think it's time to turn off that old Windows 2000 workhorse, and transfer the call recording function to my low power Ubuntu server 10.10.

I've managed to wget the file, unpack it, and execute the installer (quite an achievement for a non Linux user:)), but now I get the following error:

Code:
Please wait while installer is initialising.....
Release Date: Wed Jun 25 17:32:57 EST 2008
VRS Recording System 5.16
./install.sh: line 21: /tmp/selfextract.SUZQax/bin/vrs: No such file or directory
Installation cancelled 0

Any ideas on what could be going wrong? How do I fix it?

Or, does anyone know of a good phone call recording program for Linux.

Thanks.
 
I've seen a similar guide, and following it, I get the file extracted successfully, but it's just one file and it's green (executable). When I execute it as root, I get the error. There's no install file or readme or config. I'm going to try this on another machine.
 
Did you run the following commands on the extracted, excecutable, file:

Code:
./configure
make
sudo make install

Being Ubuntu, .deb files are preferable, but have used the above when I couldn't find a .deb version, which wasn't often, I am glad to say.

If the install is still failing, could be an issue with the install script, I guess. Or even missing dependencies, possibly.

B
 
I ran the executable on my Mint netbook, and it installed fine. I think the executable is a self contained installer, so no 'configure' or 'make' needed.

The question now is, why won't it run on Ubuntu server 10.10? Server doesn't have a GUI, but Ubuntu Desktop is a resource hog (relatively speaking). I wonder if I could isolate the dependencies and install just those to the server, or if the GUI is essential.

I don't even need the fancier features of VRS, just the dB level detection and one or two others. I guess it's not the end of the world running this Windows box, but it's very inefficient.
 
Just read the install.sh script. it looks like its trying to use your /tmp/ folder as a temporary folder - maybe you dont have a /tmp folder? Have a look at what its trying to do, and then look at your own filesystem to see why it would fail. Could be permissions, but you say you run it as root in which case it wouldnt be permissions.
 
I've got a tmp directory, although it's black on green when I do an ls (don't know what that means).

Problem is that the container didn't extract the 'install.sh' or 'configure' or any of the other files you'd expect. Just vrs (executable), which I assume is a self contained installer.

How do I debug to see what's being asked for in install.sh?
 
tar.gz is like .zip or .rar, it could be anything.

Sounds like you might be working with source code which will need compilers. Are there no binaries for your distribution (these are like .msi install files).. for ubuntu and debian it would be .deb.

Are you running the install.sh as root?
 
Works fine here, downloaded the archive, extracted the file and double clicked vrs and selected "run in terminal" and it installed fine. Even put a menu entry under Internet for me ;)
 
I'm running the only file that I've got (vrs) as root. There is no install.sh file visible, it must be inside the self contained, executable installer.

There don't seem to be any binaries for anything, and development of the Linux version seems to have stopped, while the Windows version seems to be going strong.
 
Works fine here, downloaded the archive, extracted the file and double clicked vrs and selected "run in terminal" and it installed fine. Even put a menu entry under Internet for me ;)

But Linux users will laugh at me if I run a server with a GUI.:cry:
 
From a terminal you can run sh vrs but it initialises a gui so if you are running a desktop/X less server I dunno what to do.
 
I'm guessing that there's no such thing as a lite GUI. Oh well, so much for that idea. It's a pity, because VRS doesn't really need a GUI; once it's configured, it just sits in the background and saves recordings as MP3s and the rest of the data as VRDs (I think the new version uses CSVs). I'll have a look at the minimum I need to install a GUI, otherwise I'll give up.
 
I'm guessing that there's no such thing as a lite GUI. Oh well, so much for that idea. It's a pity, because VRS doesn't really need a GUI; once it's configured, it just sits in the background and saves recordings as MP3s and the rest of the data as VRDs (I think the new version uses CSVs). I'll have a look at the minimum I need to install a GUI, otherwise I'll give up.
ClearOS or Webmin. Browser based systems like you get on routers.
 
Hang on... Looking at the install script, you get this:

export WRKDIR=`mktemp -d /tmp/selfextract.XXXXXX`

with $WRKDIR referenced in a couple of lines later in the script. My question then is: wouldn't WRKDIR reference multiple different temp directories on multiple execution? In other words, the first time "$WRKDIR" is used, the directory /tmp/selfextract1234 might be returned, whereas on second reference to the same "$WRKDIR" variable returns /tmp/selfextract0987.

Having only looked quickly through the install script, it would seem that the same directory needs to be returned each time $WRKDIR is used. In which case, it might be the reason that the install script is not being found...
 
maybe try the following:

1. Open the executable file:

$ vim vrs

2. Locate the following line:

export WRKDIR=`mktemp -d /tmp/selfextract.XXXXXX`

move the arrow keys until the cursor flashes over the above line.

3. Press the 'I' key on your keyboard, or hit the 'Insert' key on your keyboard.

4. Being careful not to type anything else, make the necessary changes so that it looks as follows:

export WRKDIR=`mkdir /tmp/selfextract.XXX`

In other words, the "mktemp -d" part has simply become "mkdir"

5. Once the changes are made, press the 'Esc' key on your keyboard, and then type in the following:

:wq

The colon allows for the input of key commands, the 'w' specifies write, and the 'q' specifies quit.

6. Now try run the install command again, like before... as root, for example:

sudo ./vrs

Post back here if it doesn't work, or you run into other problems. Hope it helps...
 
Top
Sign up to the MyBroadband newsletter
X