sending the patch.

On Dec 10, 2007 11:12 AM, Subrata Modak <[EMAIL PROTECTED]> wrote:

> On Sun, 2007-12-09 at 21:34 +0530, Balbir Singh wrote:
> > On Dec 9, 2007 2:57 PM, riazrahaman <[EMAIL PROTECTED]> wrote:
> > > I get the below error when I am building the latest LTP
> (ltp-full-20071130)
> > >
> > >  I am building LTP on Ubuntu. Is anyone else getting this error or am
> I
> > > missing something here?
> > >
> > > ################################################
> > >
> > > make[3]: Nothing to be done for `all'.
> > > make[3]: Leaving directory
> > >
> `/home/riazrahaman/work/ltp/ltp-full-20071130/testcases/network/iptables'
> > > make[3]: Entering directory
> > > `/home/riazrahaman/work/ltp/ltp-full-20071130/testcases/network/ipv6'
> > > make[4]: Entering directory
> > >
> `/home/riazrahaman/work/ltp/ltp-full-20071130/testcases/network/ipv6/echo6'
> > > cc -Wall  -w -O     createfile.c   -o createfile
> > > cc -Wall  -w -O     echoes6.c   -o echoes6
> > > make[4]: Leaving directory
> > >
> `/home/riazrahaman/work/ltp/ltp-full-20071130/testcases/network/ipv6/echo6'
> > > make[4]: Entering directory
> > >
> `/home/riazrahaman/work/ltp/ltp-full-20071130/testcases/network/ipv6/finger6'
> > > make[4]: Nothing to be done for `all'.
> > > make[4]: Leaving directory
> > >
> `/home/riazrahaman/work/ltp/ltp-full-20071130/testcases/network/ipv6/finger6'
> > > make[4]: Entering directory
> > >
> `/home/riazrahaman/work/ltp/ltp-full-20071130/testcases/network/tcp_cmds/ftp'
> > > ../../generate.sh
> > > ../../generate.sh: 60: arith: syntax error: "cnt=cnt-1"
> > > make[4]: *** [generate] Error 2
> > > make[4]: Leaving directory
> > >
> `/home/riazrahaman/work/ltp/ltp-full-20071130/testcases/network/tcp_cmds/ftp'
> > > make[3]: *** [all] Error 2
> > > make[3]: Leaving directory
> > > `/home/riazrahaman/work/ltp/ltp-full-20071130/testcases/network/ipv6'
> > > make[2]: *** [all] Error 2
> > > make[2]: Leaving directory
> > > `/home/riazrahaman/work/ltp/ltp-full-20071130/testcases/network'
> > > make[1]: *** [all] Error 2
> > > make[1]: Leaving directory
> > > `/home/riazrahaman/work/ltp/ltp-full-20071130/testcases'
> > > make: *** [all] Error 2
> > >
> >
> > By default /bin/sh is linked to /bin/dash on Ubuntu, you could change
> > the shell script to use /bin/bash if there is a dependency on it. If
> > there is a genuine problem with the arithmetic as the log error shows,
> > please fix it. Fixes are always welcome!
>
> Thanks Balbir for that quick Reply.
>
> --Subrata
> >
> > Balbir
> >
> >
> -------------------------------------------------------------------------
> > SF.Net email is sponsored by:
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services for
> > just about anything Open Source.
> > http://sourceforge.net/services/buy/index.php
> > _______________________________________________
> > Ltp-list mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/ltp-list
>
>


-- 
Regards,
Riaz Ur Rahaman
diff -urpN ltp-full-20071130/testcases/network/generate.sh new-ltp-full-20071130/testcases/network/generate.sh
--- ltp-full-20071130/testcases/network/generate.sh	2007-09-10 08:37:07.000000000 +0530
+++ new-ltp-full-20071130/testcases/network/generate.sh	2007-12-15 21:22:53.000000000 +0530
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 #   Copyright (c) International Business Machines  Corp., 2001
 #
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to