[ expat-Bugs-557530 ] Cygwin install fails

noreply@sourceforge.net noreply@sourceforge.net
Sat Jun 1 16:34:28 2002


Bugs item #557530, was opened at 2002-05-17 19:20
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=557530&group_id=10127

Category: Build control
Group: Platform Specific
>Status: Closed
>Resolution: Works For Me
Priority: 6
Submitted By: Chad Austin (aegis)
Assigned to: Greg Stein (gstein)
Summary: Cygwin install fails

Initial Comment:
Building expat within Cygwin succeeds now, but 'make install' fails.

$ gmake install
/bin/sh ./conftools/mkinstalldirs /usr/local/bin /usr/local/lib /usr/local/inclu
de
/bin/sh ./libtool --mode=install /usr/bin/install -c xmlwf/xmlwf /usr/local/bin/
xmlwf
libtool: install: warning: `lib/libexpat.la' has not been installed in `/usr/loc
al/lib'
/usr/bin/install -c xmlwf/.libs/xmlwf /usr/local/bin/xmlwf
/bin/sh ./libtool --mode=install /usr/bin/install -c lib/libexpat.la /usr/local/
lib/libexpat.la
/usr/bin/install -c lib/.libs/libexpat.dll.a /usr/local/lib/libexpat.dll.a
dlpath=`bash 2>&1 -c '. lib/.libs/lib/libexpat.lai;echo $dlname'`
 dldir=/usr/local/lib/`dirname $dlpath`
dirname: too many arguments
Try `dirname --help' for more information.
make: *** [install] Error 1


----------------------------------------------------------------------

>Comment By: Greg Stein (gstein)
Date: 2002-06-01 16:33

Message:
Logged In: YES 
user_id=6501

That definitely looks like a bug in libtool, rather than in
our code. Looking at the text, it seems that it is libtool
being invoked and, in turn, invoking 'dirname'. I'm guessing
that the directory name has a space in it, and dirname ends
up with two arguments. That line in libtool should probably
read `dirname "$dlpath"`

Closing as "works for me", based on Gerrit's comments about
updating libtool.

----------------------------------------------------------------------

Comment By: Gerrit Haase (siebenschlaefer)
Date: 2002-05-25 03:06

Message:
Logged In: YES 
user_id=76037

I saw this too.  Probably a bug in libtool?

Though it works ok. with 1.95.2 after updating the libtool and 
other parts.

Gerrit

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=557530&group_id=10127