2011/6/17 John R. Cary <c...@txcorp.com>:
> Attached is a minimal standalone example that illustrates the problem.
>
> If build dir is next to the directory resulting from untarring this, do
>
> cmake -DCMAKE_INSTALL_PREFIX=$HOME/tmp/cmtprefix ../cmt
> make all install
> # You will see that in the installation, the top cmtdir is a link:
> numbersix.cary$ ls -l $HOME/tmp/cmtprefix/cmtdir
> lrwxrwxr-x  1 cary  research  10 Jun 17 11:16
> /Users/cary/tmp/cmtprefix/cmtdir -> bin/cmtdir
> # then do
> make package
> tar xzf cmt-1.1.1-Darwin.tar.gz
> # and you will see that the top-level cmtdir is a directory:
> numbersix.cary$ ls -l cmt-1.1.1-Darwin
> total 0
> drwxrwxr-x  3 cary  research  102 Jun 17 11:25 bin
> drwxrwxr-x  3 cary  research  102 Jun 17 11:25 cmtdir
>
> such that two copies of the binary are installed.
>
> Thanks for your help!


OK I have the same behavior on my box using your example.
I did open a bug report:
http://public.kitware.com/Bug/view.php?id=12284

I'll try to seek the reason.
-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to