Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] make install (libtool) failure on Solaris 10 (1.5rc5 and 1.4.3rc1)
From: Paul H. Hargrove (PHHargrove_at_[hidden])
Date: 2010-08-25 23:37:23

This has got to be the stupidest failure I have ever seen!

$ make install
make[3]: Entering directory
test -z "/usr/local/pkg/ompi-1.5rc5/lib" || ../../config/install-sh -c
-d "/usr/local/pkg/ompi-1.5rc5/lib"
 /bin/bash ../libtool --mode=install ../../config/install-sh -c '/usr/local/pkg/ompi-1.5rc5/lib'
libtool: install: ../../config/install-sh -c .libs/
libtool: install: (cd /usr/local/pkg/ompi-1.5rc5/lib && { ln -s -f || { rm -f && ln -s; }; })
Usage: ln [-f] [-s] f1
       ln [-f] [-s] f1 f2
       ln [-f] [-s] f1 ... fn d1

This is due to an incomprehensibly stupid "ln" that cares about the
order of the "-s" and "-f" options:

$ rm -f b; touch a; ln -f -s a b
$ rm -f b; touch a; ln -s -f a b
Usage: ln [-f] [-s] f1
       ln [-f] [-s] f1 f2
       ln [-f] [-s] f1 ... fn d1

$ which ln

$ uname -a
SunOS 5.10 s10_69 sun4u sparc SUNW,Ultra-5_10

I see the same with both the 1.5rc5 and 1.4.3rc1 tarballs, which both
  # (GNU libtool) 2.2.6b


Paul H. Hargrove                          PHHargrove_at_[hidden]
Future Technologies Group
HPC Research Department                   Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900