OCaml Forge
SCM

Detail: [#861] install -t doesn't work on Mac OS X

Bugs: Browse | Download .csv | Monitor

[#861] install -t doesn't work on Mac OS X

Date:
2011-01-04 08:02
Priority:
3
State:
Closed
Submitted by:
Sylvain Le Gall (gildor-admin)
Assigned to:
Sylvain Le Gall (gildor-admin)
Resolution:
Fixed
Severity:
critical
Version:
v0.4.2
Operating System:
None
Summary:
install -t doesn't work on Mac OS X

Detailed description
> Hi,
>
> I'm currently trying to build OASIS on a Mac. The first thing is
> trying to install the dependencies, and right now I have run into a
> problem with fileutils. I tried the GODI package (0.3.0) and it build
> fine but the install failed. It seemed to be something related to GODI
> at first, so I downloaded a tar.gz from
> http://le-gall.net/sylvain+violaine/ocaml-fileutils.html and tried to
> build it. It builds, but installing does not work. Here is the error
> (Mac OS X 10.6.5, OCaml 3.12 from GODI):
>
> ./_build/src/fileutils.docdir/type_FilePath.Win32Path.html
> ./_build/src/fileutils.docdir/type_FilePath.html
> ./_build/src/fileutils.docdir/type_FileUtil.html
> ./_build/src/fileutils.docdir/type_FileUtilStr.html
[...]
> /usr/bin/install: illegal option -- t
> 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 ...
> make: *** [install] Error 64
>
>
> The problem seems to be a difference between the GNU install and the
> BSD install; the latter does not take a -t option. After a quick look
> at both the Linux and Mac man pages for install, it seems to me that
> it should work in both cases if the last argument to install is the
> target directory, instead of using the -t option.
>
> --
> []s, Andrei Formiga
>




Followup

Message
Date: 2013-06-02 22:57
Sender: Sylvain Le Gall

Switch to OASIS for the build system so this should not be an issue anymore.

Attached Files:

Changes:

Field Old Value Date By
status_idOpen2013-06-02 22:57gildor-admin
close_dateNone2013-06-02 22:57gildor-admin
ResolutionAccepted As Bug2013-06-02 22:57gildor-admin