#131 install.sh (install -D) does not work on mac

Other
closed-rejected
nobody
Tools (21)
5
2008-03-27
2007-10-04
No

$ tar xfvz lcov-1.6.tar.gz
$ cd lcov-1.6
$ sudo make install

bin/install.sh bin/lcov /usr/bin/lcov
install: illegal option -- D
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 file2
install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 ... fileN directory
install -d [-v] [-g group] [-m mode] [-o owner] directory ...
bin/install.sh bin/genhtml /usr/bin/genhtml
install: illegal option -- D
...

$ cp bin/install.sh bin/install.sh.orig && vim bin/install.sh
$ diff -u bin/install.sh.orig bin/install.sh

--- bin/install.sh.orig 2007-10-03 20:54:25.000000000 -0700
+++ bin/install.sh 2007-10-03 20:54:38.000000000 -0700
@@ -31,7 +31,7 @@
local SOURCE=$1
local TARGET=$2

- install -D $SOURCE $TARGET
+ install $SOURCE $TARGET
}

$ sudo make install
bin/install.sh bin/lcov /usr/bin/lcov
...
bin/install.sh lcovrc /etc/lcovrc

Regards,
Philip

Discussion

  • Subrata Modak

    Subrata Modak - 2008-03-27
    • status: open --> closed-rejected
     
  • Subrata Modak

    Subrata Modak - 2008-03-27

    Logged In: YES
    user_id=1737361
    Originator: NO

    No issues with Linux

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks