This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

B19: Expect installation failure, bash funny


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@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]