Oz and Mozart Hackers Mailing List

Perl and configure


From: Kevin Glynn (glynn@info.ucl.ac.be)
Date: Thu Dec 04 2003 - 09:29:16 CET


Firstly,

On Solaris configure fails to find the version number for the
installed perl. It turns out that solaris sed does nothing if the
input doesn't have a carriage return.

We can fix the test as follows:

aldebaran!glynn [52] cvs -q diff
Index: configure
===================================================================
RCS file: /services/mozart/CVS/mozart/platform/emulator/configure,v
retrieving revision 1.280.2.3
diff -r1.280.2.3 configure
3147c3147
< oz_tmp_version=`$PERL -e 'print "[$]";' | sed 's|^.||'`

---
>       oz_tmp_version=`$PERL -e 'print "[$]\n";' | sed 's|^.||'`

which also works for gnu sed. Anyone see a problem?

Secondly,

Shouldn't configure crash out if perl isn't found? We crash out if we can't find various other things such as gmp, tcl, tk, etc.

k - Please send submissions to hackers@mozart-oz.org and administriva mail to hackers-request@mozart-oz.org. The Mozart Oz web site is at http://www.mozart-oz.org/.



This archive was generated by hypermail 2b29.