Re: [xml] Release of libxml2-2.5.6



On Wed, Apr 02, 2003 at 07:01:16PM +0400, Alexey Efimov wrote:
Hello,

when I said "make install", I got errors:

<...>
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/sh ./mkinstalldirs /home/ave/xml/libxml/bin
 /bin/sh ./libtool  --mode=install ./install-sh -c  xmllint /home/ave/xml/libxml/bin/xmllint
mkdir: cannot access /: Permission denied
libtool: install: error: cannot create temporary directory `/libtool-9870'
 /bin/sh ./libtool  --mode=install ./install-sh -c  xmlcatalog /home/ave/xml/libxml/bin/xmlcatalog
mkdir: cannot access /: Permission denied
libtool: install: error: cannot create temporary directory `/libtool-9904'
<...>

The cause is in libtool (lines 4682-4691):
          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
          if $mkdir -p "$tmpdir" && chmod 700 "$tmpdir"; then :
          else
        $echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2

After line (*) $? is "1" and $tmpdir is empty.
And in line (**) tmpdir is "/libtool-$$", which is wrong, I think.

I know that libtool is auto generated file, but I don't know where is
the source, so I cannot provide a patch, sorry.

uname -srm
HP-UX B.11.00 9000/800
libtool --version
ltmain.sh (GNU libtool) 1.4.2 (1.922.2.53 2001/09/11 03:18:52)

Alexey.

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml

Looks more like you are not root when you run make install.
I have succesfully installed libxml2-2.5.6 on hpux-10.20.

-- 
Regards Klaus



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