Subject: Re: B19: Expect installation failure, bash funny
From: [email-masked] (Earnie Boyd)

10 Apr 1998 09:20:36 -0700
Message-ID: <[email-masked]>
Reply-To: [email-masked]
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
To: John Pavel <[email-masked]>
Cc: gw32 <[email-masked]>

Hi John,

Did you receive an install script created by Earnie?  If so then
modify the make file to use /bin/install.  You need to also do a
"mount -b c:/cygnus/B19/H-i386-cygwin32/bin /bin" if you haven't
already.

The other thing that might give you problems is the shebang.  I
believe it was reported to need a space, ie: "#! /bin/bash". 
Experiment with the shebang until "ls -l install" reports it as
executable.

-        \\||//
---o0O0--Earnie--0O0o----
[email-masked]
------ooo0O--O0ooo-------

---John Pavel <[email-masked]> wrote:
>
> Well, I've had a couple of helpful replacements for install. 
Meanwhile,
> instead of the bin version, the installation seems to have taken to
using
> install-sh, rather than the .../bin version.  This is supposed to
work with
> .exe files -- the commentry in install-sh suggests that it has been
hacked
> to do so -- but does not:
> 
> 
> /bin/sh ./config.status
> creating Makefile
> creating pkgIndex
> creating expect_cf.h
> expect_cf.h is unchanged
> mv pkgIndex pkgIndex.tcl
> if [ -s libexpect521.a ] ; then \
>   /bin/sh /cygnus/b19/src/install-sh -c -m 644 libexpect521.a
> /usr/local/lib/lib
> expect521.a ; \
>   ranlib /usr/local/lib/libexpect521.a ; \
> else true; fi
> if [ -s reconfigure_Tcl_for_shared_library ] ; then \
>   /bin/sh /cygnus/b19/src/install-sh -c -x
> reconfigure_Tcl_for_shared_library /u
> sr/local/lib/reconfigure_Tcl_for_shared_library ; \
> else true; fi
> ./mkinstalldirs /usr/local/man/man1 /usr/local/man/man3 /usr/local/bin
> /usr/loca
> l/lib /usr/local/include
> /bin/sh /cygnus/b19/src/install-sh -c -x expect /usr/local/bin/expect
> cp: expect: No such file or directory
> make[1]: *** [install] Error 1
> make: *** [install-expect] Error 2
> bash-2.01$
> 
> The reason is that bash 2.01 -f test does not seem to recognise
expect.exe:
> 
> 
> bash-2.01$ pwd
> /cygnus/b19/src/expect
> bash-2.01$ if [ -f expect -o -d expect ]; then rm expect; echo yes; fi
> rm: expect: No such file or directory
> yes
> bash-2.01$ ls -l expect
> -rwxrwxrwx   1 544      everyone   165494 Apr  5 23:52 expect
> bash-2.01$ ls -l expect.exe
> -rwxrwxrwx   1 544      everyone   165494 Apr  5 23:52 expect.exe
> bash-2.01$ ls expect*
> expect.c        expect.h        expect.o        expect_cf.h.in 
expect_tcl.h
> expect.exe      expect.man      expect_cf.h     expect_comm.h  
expectk.man
> bash-2.01$
> 
> -
> For help on using this list (especially unsubscribing), send a
message to
> "[email-masked]" with one line of text: "help".
> 

_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".