Re: Install problem with CSDK 2.20 on Solaris 7
Posted in 1999
Topics: Installation, Setup & Upgrades, Connectivity: ESQL/C, 4GL & Embedded SQL, Platform-Specific Issues
Actually the problem lies with the spaces around the : operator of expr, instead of: ...... /$tmp1 : '.*....... should be ...... /$tmp1:'.*....... using bourne shell On Mon, 17 May 1999, Jonathan Leffler wrote: > >From: Julnio A Vasquez <jvasquez@cs.buffalo.edu> > >Subject: installclientsdk bug? > >Date: 13 May 1999 19:22:08 GMT > > > >hello, > > > > I'm installing the new client sdk 2.2 for informix 7.2 on solaris 7 and it > > seems the installation script has a bug in it. I've isolated the problem to > > the following: > > > >#problem with the expr expressions > >ins_rel=`expr /$tmp1 : '.*/\\([A-Z][A-Z]\\)'` > >tmp2=`echo $nvers|awk 'BEGIN {FS="."} {print $3}'` > > > >#same problem as the one above > >new_rel=`expr /$tmp2 : '.*/\\([A-Z][A-Z]\\)'` > > > >if test `expr $ins_rel \\> $new_rel` = 1 ; then > > return 1 > >elif test `expr $ins_rel \\< $new_rel` = 1 ; then > > return 0 > >fi > > > >Can someone enlighten me :-) this are the errors: > > > >expr: syntax error > > This is a problem. > > >installclientsdk: test: argument expected > > This is the consequence... > > I've installed CSDK 2.20.UC1 on Solaris 2.6, not Solaris 7, and it works > fine for me. That doesn't definitively show that there isn't a separate > problem on Solaris 7, but I'm not at all sure how or why it would be a > problem. Are you using a non-standard shell, by any chance? I use Korn > Shell; Bourne Shell should also work OK. If you were using some other > shell, it might be misinterpreting what is required. Or there may be > something up -- are you sure you are using the standard expr program? > > If all else fails, can you trap the output of running: > sh -x ./installclientsdk 2>&1 | tee /tmp/log > and send the /tmp/log file? > > Yours, > Jonathan Leffler (jleffler@informix.com) #include <quotes/shakespeare.h> > Guardian of DBD::Informix v0.60 (v0.61_02) -- http://www.perl.com/CPAN > Informix IDN for D4GL & Linux -- http://www.informix.com/idn > >