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

perl(EUC JP) trouble



Hi!

>Changes between 1.7.2 and 1.7.3:
>*) Fix configure bugs with some Perl versions (19-Sep-1999):
>           Some Perl versions, like the EUC JP one caused an error when
>           running the configure script.
>           [Andrew S. Howell <andy@tibcofinance.com>]

I found it is not perfect.
To install with perl(EUC JP), I added "| sed -e 1q" 4 times.
Thank you.
-- Nobuyuki Tsuchimura

------ << begin "perl-jp.patch" >> -----
--- wml-1.7.4/wml_backend/p3_eperl/configure.orig	Wed Sep  1 20:14:27 1999
+++ wml-1.7.4/wml_backend/p3_eperl/configure	Sat Oct 23 02:35:23 1999
@@ -559,3 +559,3 @@
   perlprog=$with_perl
-perlvers=`$perlprog -v | grep version | sed -e 's/.* version //' -e 's/ built.*//' -e 's/ with.*//'`
+perlvers=`$perlprog -v | grep version | sed -e 1q | sed -e 's/.* version //' -e 's/ built.*//' -e 's/ with.*//'`
 
@@ -571,3 +571,3 @@
                  perl="$dir/$perl"
-                 version=`$perl -v | grep version | sed -e 's/.* version //' -e 's/ built.*//' -e 's/ with.*//'`
+                 version=`$perl -v | grep version | sed -e 1q | sed -e 's/.* version //' -e 's/ built.*//' -e 's/ with.*//'`
                  versionnum="`echo $version | sed -e 's/\.//g' -e 's/_//g'`"
--- wml-1.7.4/wml_backend/p9_slice/configure.orig	Thu Sep 30 22:47:04 1999
+++ wml-1.7.4/wml_backend/p9_slice/configure	Sat Oct 23 02:35:24 1999
@@ -581,3 +581,3 @@
   ac_perlprog=$with_perl
-ac_perlvers=`$perlprog -v | grep version | sed -e 's/.* version //' -e 's/ built.*//' -e 's/ with.*//'`
+ac_perlvers=`$perlprog -v | grep version | sed -e 1q | sed -e 's/.* version //' -e 's/ built.*//' -e 's/ with.*//'`
 
@@ -593,3 +593,3 @@
                  perl="$dir/$perl"
-                 version=`$perl -v | grep version | sed -e 's/.* version //' -e 's/ built.*//' -e 's/ with.*//'`
+                 version=`$perl -v | grep version | sed -e 1q | sed -e 's/.* version //' -e 's/ built.*//' -e 's/ with.*//'`
                  versionnum="`echo $version | sed -e 's/\.//g' -e 's/_//g'`"
------ << end "perl-jp.patch" >> -----
______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com