[Nix-dev] What kind of "install" do we have in freebsd stdenv?
James Cook
james.cook at utoronto.ca
Fri May 11 19:28:02 CEST 2012
On 11 May 2012 09:27, Peter Simons <simons at cryp.to> wrote:
> Hi,
>
> I noticed that the 'install' program on FreeBSD doesn't know about the -D option:
>
> | building /nix/store/bnjpkv3k0r0p37845ikjasz75nbw3dpy-pigz-2.2.4
> | unpacking sources
> | unpacking source archive /nix/store/s6f67xkj6cknghhm8r2x0wzz2sbzjl1k-pigz-2.2.4.tar.gz
> | source root is pigz-2.2.4
> | patching sources
> | configuring
> | no configure script, doing nothing
> | building
> | make flags:
> | cc -O3 -Wall -Wextra -c -o pigz.o pigz.c
> | cc -O3 -Wall -Wextra -c -o yarn.o yarn.c
> | cc -o pigz pigz.o yarn.o -lpthread -lz
> | ln -f pigz unpigz
> | installing
> | 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 ...
> | builder for `/nix/store/86fx4xz3aaknkf1z2hm4k01yrl4x142z-pigz-2.2.4.drv' failed with exit code 64
> | error: build of `/nix/store/86fx4xz3aaknkf1z2hm4k01yrl4x142z-pigz-2.2.4.drv' failed
>
> I am surprised! On Linux, 'install' is part of coreutils. Shouldn't that
> package be part of stdenv on other operating systems, too?
>
> Take care,
> Peter
FreeBSD has its own core software, with some differences from GNU
coreutils: for example, tar by default writes to a tape drive instead
of stdout, and the default /bin/sh is simpler than bash. The man page
for FreeBSD's install is here:
http://www.freebsd.org/cgi/man.cgi?query=install&apropos=0&sektion=0&manpath=FreeBSD+9.0-RELEASE&arch=default&format=html
James
More information about the nix-dev
mailing list