From: Maurice L. <mj...@ga...> - 2002-08-05 08:44:03
|
Maurice LeBrun writes: > Alan W. Irwin writes: > > If your RH7.3 Makefile is the same as mine, then from your results below, > > the RH7.3 make command has ignored the second definition and used the first > > definition instead with SO undefined. That would be a really strange result > > so I suspect your Makefile is somehow different from the above. > > [...] For some reason the first definition is being used and not the > second. I just commented out the first definition and reran 'make install' > and after that the install works fine. Very odd. It's these lines that are the problem: tk_drv: shared/tk$O $(TCLLIB_SO) ... xwin_drv: shared/xwin$O $(TCLLIB_SO) ... Apparently the value of TCLLIB_SO is being filled in, incorrectly, in the first pass through the file. Typically we have dependency lists near the end of the file, by which time all the variables used are correct. So the solution is to either move these later in the file or use a variable that is defined further down. I tested this by changing TCLLIB_SO to TCLLIB_SO_BLAH in both of these lines, then added: TCLLIB_SO_BLAH = $(TCLLIB_SO) as the last line of the makefile. Worked great. I don't know why I'm observing this and no one else is. I even built & tested make-3.79.1 from the tarball, with the same result. So anyway I'll make the change so I can install once again. -- Maurice LeBrun mj...@ga... Research Organization for Information Science and Technology of Japan (RIST) |