This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
[patch] tix/unix/Makefile.in doesn't install the .so
- From: Phil Edwards <pedwards at disaster dot jaj dot com>
- To: insight at sources dot redhat dot com
- Date: Tue, 18 Dec 2001 12:49:26 -0500
- Subject: [patch] tix/unix/Makefile.in doesn't install the .so
In my tix/unix source dir, I see some plain files, and
drwxrwxr-x 3 pme pme 4096 Sep 10 16:45 tk4.2/
drwxrwxr-x 3 pme pme 4096 Sep 20 14:40 tk8.0/
drwxrwxr-x 3 pme pme 4096 Sep 10 16:45 tk8.1/
drwxr-xr-x 3 pme pme 4096 Sep 24 12:29 tk8.3/
In the build dir, there is only
-rw-r--r-- 1 pme pme 9305 Dec 18 12:34 Makefile
-rw-r--r-- 1 pme pme 507 Dec 18 11:35 config.log
-rwxr-xr-x 1 pme pme 8351 Dec 18 11:35 config.status*
-rw-r--r-- 1 pme pme 136 Dec 18 12:34 pkgIndex.tcl
drwxr-xr-x 2 pme pme 4096 Dec 18 12:34 tk8.3/
But in unix/Makefile.in, the install-binaries target loops over $(BINDIRS)
to find and installng the actual libtix.so. And BINDIRS doesn't contain
the same source directories that are in the source dir.
More specifically, it doesn't contain the only one being created in my
build dir, tk8.3. :-)
After applying the patch below, "make install" actually installs the
.so file. This is on i686/linux, but not Red Hat.
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/tix/unix/Makefile.in,v
retrieving revision 1.2
diff -u -3 -r1.2 Makefile.in
--- Makefile.in 2001/09/08 23:25:54 1.2
+++ Makefile.in 2001/12/18 17:35:45
@@ -108,7 +108,7 @@
install:: install-basic install-binaries
@echo done
-BINDIRS = tk4.0 tk4.1 tk4.2 tk4.3 tk8.0 itcl2.0 itcl2.1 itcl2.2
+BINDIRS = tk4.0 tk4.1 tk4.2 tk4.3 tk8.0 tk8.1 tk8.3 itcl2.0 itcl2.1 itcl2.2
install-binaries::
@for i in $(BINDIRS); \