From: earnie_boyd AT yahoo DOT com (Earnie Boyd) Subject: Re: B19: Expect installation failure, bash funny 10 Apr 1998 09:20:36 -0700 Message-ID: <19980408123256.12827.rocketmail.cygnus.gnu-win32@send1e.yahoomail.com> Reply-To: earnie_boyd AT hotmail DOT com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: John Pavel Cc: gw32 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---- -earnie_boyd AT hotmail DOT com- ------ooo0O--O0ooo------- ---John Pavel 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 > "gnu-win32-request AT cygnus DOT com" 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 "gnu-win32-request AT cygnus DOT com" with one line of text: "help".