[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Error in ltmain.sh
From: |
Bill Wendling |
Subject: |
Error in ltmain.sh |
Date: |
Wed, 24 Apr 2002 14:20:05 -0500 |
User-agent: |
Mutt/1.2.5.1i |
Hi all,
There is an error in the libtool package which is still in the 1.4.2
version. The problem occurs around line 4356 of the ltmain.sh file:
if test "$fast_install" = no && test -n "$relink_command"; then
if test "$finalize" = yes && test -z "$run"; then
tmpdir="/tmp"
test -n "$TMPDIR" && tmpdir="$TMPDIR"
tmpdir=`mktemp -d $tmpdir/libtool-XXXXXX 2> /dev/null`
if test $? = 0 ; then :
else
tmpdir="$tmpdir/libtool-$$"
fi
Notice that if the "mktemp" line were to fail, then "tmpdir" would have a
null value in it...causing the "tmpdir" variable in the else part of the
if to be set to "/libtool-$$", which will be unwritable for most everyone
building/installing things with libtool.
I'd offer up a fix, but I haven't signed a waver to submit code to the
libtool software...
It should be an easy fix, though..
--
|| Bill Wendling address@hidden
|| Coding Simian
- Error in ltmain.sh,
Bill Wendling <=