[Lunar-commits] r17987 - in moonbase/trunk/devel: tcl tk

Dennis Veatch stumbles at lunar-linux.org
Sat Jan 7 21:17:58 UTC 2006


Author: stumbles
Date: 2006-01-07 21:17:55 +0000 (Sat, 07 Jan 2006)
New Revision: 17987

Modified:
   moonbase/trunk/devel/tcl/BUILD
   moonbase/trunk/devel/tk/BUILD
Log:

There is a typo that gets inserted by "unix/tcl.m4" into "configure"
resulting in this error when linned;

checking system version (for dynamic loading)...
../configure: line 7653: syntax error near unexpected
token `)'
../configure: line 7653: `      OSF*)'

This effects both tcl and tk and seems to be bash-3.1 related. The tcl/tk
folks are aware and a fix is in their cvs. In the mean time short of
fiddling with the macros I opted for a sedit of the configure of tcl and tk.

These lines should be removed when tcl/tk are next updated and I have made note
in each of the BUILDs.

Up til now I was unable to compile either on a new install using 1.6.0-rc1 with
bash-3.1. So this temp fix works for me here. 

This may need some further polishing.



Modified: moonbase/trunk/devel/tcl/BUILD
===================================================================
--- moonbase/trunk/devel/tcl/BUILD	2006-01-07 16:31:43 UTC (rev 17986)
+++ moonbase/trunk/devel/tcl/BUILD	2006-01-07 21:17:55 UTC (rev 17987)
@@ -1,6 +1,12 @@
 (
 
   cd unix                              &&
+
+  # This sedit line is only a temporary fix. When the next version of tcl and tk is available 
+  # this line should be deleted.
+
+  sedit "s:system=MP-RAS-\`awk '{print }' /etc/.relid'\`:system=MP-RAS-\`awk '{print }' /etc/.relid\`:g" configure   &&
+
   ./configure --prefix=/usr             \
               --mandir=/usr/share/man  &&
   default_make                         &&

Modified: moonbase/trunk/devel/tk/BUILD
===================================================================
--- moonbase/trunk/devel/tk/BUILD	2006-01-07 16:31:43 UTC (rev 17986)
+++ moonbase/trunk/devel/tk/BUILD	2006-01-07 21:17:55 UTC (rev 17987)
@@ -2,11 +2,22 @@
 
  (
   cd tcl$VERSION/unix                   &&
+
+  # This sedit line is only a temporary fix. When the next version of tcl and tk is available
+  # this line should be deleted.
+
+  sedit "s:system=MP-RAS-\`awk '{print }' /etc/.relid'\`:system=MP-RAS-\`awk '{print }' /etc/.relid\`:g" configure   &&
+
   ./configure --prefix=/usr              \
               --mandir=/usr/share/man
  ) &&
 
   cd unix                               &&
+
+  # This sedit line is only a temporary fix. When the next version of tcl and tk is available
+  # this line should be deleted.
+
+  sedit "s:system=MP-RAS-\`awk '{print }' /etc/.relid'\`:system=MP-RAS-\`awk '{print }' /etc/.relid\`:g" configure   &&
   ./configure --prefix=/usr              \
               --mandir=/usr/share/man    \
         --with-tcl=../tcl$VERSION/unix  &&



More information about the Lunar-commits mailing list