[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: install otcl



On Mon, 18 May 1998 11:17:02 CDT, Deying Tong wrote: 
>
>Hi, Guys,
>
>I met a problem when i tried to install otcl-1.0a1 on linux. I compile it
>successfully but when i run >make install, the error comes out:
>
>/usr/bin/install -c /usr/local/bin owish
>/usr/bin/install: `/usr/local/bin' is a directory
>make: *** [install] Error 1
>
>Anyone can give me a hint about that?

The install targets in the Makefile are all backwards.

Work-around:  install everything by hand.

Fix:  apply the attached patch.

   -John

----------------------------------------------------------------------

Index: Makefile.in
===================================================================
RCS file: /usr/src/mash/repository/otcl/Makefile.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -u -r1.3 -r1.4
--- Makefile.in 1998/01/28 02:21:04     1.3
+++ Makefile.in 1998/05/18 23:49:13     1.4
@@ -99,11 +99,11 @@
        ./owish lib/test.tcl
 
 install: owish otclsh libotcl.a libotcl$(SHLIB_SUFFIX) otcl.h
-       $(INSTALL) $(INST_OWISH) owish
-       $(INSTALL) $(INST_OTCLSH) otclsh
-       $(INSTALL) $(INST_OLIB) libotcl.a
-       $(INSTALL) $(INST_OLIBSH) libotcl$(SHLIB_SUFFIX)
-       $(INSTALL) $(INST_OINC) otcl.h
+       $(INSTALL) owish $(INST_OWISH)
+       $(INSTALL) otclsh $(INST_OTCLSH)
+       $(INSTALL) libotcl.a $(INST_OLIB)
+       $(INSTALL) libotcl$(SHLIB_SUFFIX) $(INST_OLIBSH)
+       $(INSTALL) otcl.h $(INST_OINC)
 
 clean:
        rm -f owish otclsh libotcl.a libotcl$(SHLIB_SUFFIX) \