Linux-Hams archive - February 1997: Re: ttylinkd 0.03 - compiling ?

Re: ttylinkd 0.03 - compiling ?

hdz.zpyuyavht@keepmedia.com
Thu, 6 Feb 1997 07:14:16 +1100 (EST)


dg1ees typed:
>
> Hello,
> yesterday i decided to download ttylinkd0.03 from
> ftp.ucsd.edu:/hamradio//packet/tcpip/incoming. A 'make' gave this:
>
> ./.configure
> make: ./.configure: Command not found
> make: *** [config.h] Error 127
>
> What's that mean ? Where's this file ?
> Any Idea's welcome.
It means the programmer stuffed up. Ooops! The old "tar doesn't tar up .dot
files into its archives trick".

Here's what should be in that file;

#!/bin/sh
#
# Configure script for ttylinkd
#
echo 'Configure script for ttylinkd 0.03'
echo 'Ok, the only thing I need to know is the login name of the sysop'
echo 'on this Linux box.'
echo 'For example, on my machine, I log in as csmall and that is'
echo 'what I would put for an answer.'
echo -n 'Enter sysops name: '
read name
if [ -z $name ]
then
echo "You didn't type anything.. aborting.."
exit 1
fi
echo 'Do you want me to test this parameter? I will use'
echo '/usr/bin/write to talk to the sysop.'
echo -n '[Y/n]'
read reply
if [ -z $reply ]
then
reply="y"
fi
if [ $reply = 'y' ]
then
echo 'Hello, World!' | /usr/bin/write $name
if [ $? -eq 0 ]
then
echo 'Test worked ok, I found the sysop'
else
echo 'Test failed, perhaps the sysop is not logged on'
echo 'or is refusing messages?'
fi
else
echo 'OK, skipping test.'
fi
echo '#define SYSOP_USER ' \"$name\" > config.h

echo 'Configure script completed'
exit 0

-- 
  // /\   |  | |  Craig Small VK2XLZ     @home: terhi.victor@logonet.com
 ||==||===|==|=|  [44.136.13.17]         @play: udjwgy.epandxr@khbo.be
  \\ \/   |  | |                         @work: ljsaseld@whitewind.ru