[xml] 2.2.5 installation glitch on SunOS 5.6

Date view Thread view Subject view Author view

From: Kenneth Pronovici (pronovic@skyjammer.com)
Date: Mon Oct 16 2000 - 15:56:02 EDT


I've found and "fixed" a minor installation glitch for libxml 2.2.5 under
SunOS 5.6. It appears that there are two versions of the test utility
under SunOS, and one of them is broken. The /usr/bin/test version of
the utility recognizes the -e option, but the /bin/test version does
not. It will be pot-luck which one any given user has in their path
first - and if the broken version is found, the configure script will
fail.

What I did to make this work was to change the configure script to use
-r rather than -e (the change is just the difference between "exists"
and "exists and is readable"). Hopefully, this will be portable to
other systems with a broken test utility as well...as long as Daniel
thinks it's safe.

Below my signature is a patch for configure.in. I think I've provided
the right kind of context diff, but let me know if there are problems
with it (it worked for me when I tested it).

KEN

--
Kenneth J. Pronovici <pronovic@ieee.org>
Alliance of Computer Professionals, Inc. (http://www.acpros.com/)
Personal Homepage: http://www.skyjammer.com/~pronovic/
"Hell hath no fury like the weather when I'm camping..." 

*** configure.in.orig Mon Oct 16 14:35:40 2000 --- configure.in Mon Oct 16 14:45:04 2000 *************** *** 347,357 **** rm -f $srcdir/libxml (cd $srcdir/include ; ln -s .. libxml) fi ! if test ! -e $srcdir/libxml then (cd $srcdir ; ln -s include/libxml libxml) fi ! if test ! -e include/libxml then if test ! -d include then --- 347,357 ---- rm -f $srcdir/libxml (cd $srcdir/include ; ln -s .. libxml) fi ! if test ! -r $srcdir/libxml then (cd $srcdir ; ln -s include/libxml libxml) fi ! if test ! -r include/libxml then if test ! -d include then *************** *** 360,366 **** fi (cd include ; ln -s ../libxml libxml) fi ! if test ! -e libxml then rm -rf libxml ln -s $srcdir/include/libxml libxml --- 360,366 ---- fi (cd include ; ln -s ../libxml libxml) fi ! if test ! -r libxml then rm -rf libxml ln -s $srcdir/include/libxml libxml

---- Message from the list xml@rpmfind.net Archived at : http://xmlsoft.org/messages/ to unsubscribe: echo "unsubscribe xml" | mail majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon Oct 16 2000 - 16:43:34 EDT