Subject: B19: Expect installation failure, bash funny
From: [email-masked] (John Pavel)

7 Apr 1998 15:01:04 -0700
Message-ID: <000a01bd619e$8728b180$30f582c1.cygnus.gnu-win32@solabj76>
Reply-To: "John Pavel" <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
To: <[email-masked]>

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".