pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Problems with sysutils/coreutils



On Sat, Feb 08, 2014 at 06:15:11PM +0000, John Klos wrote:
> If run as root:
> 
> checking whether mkfifo rejects trailing slashes... yes
> checking whether mknod can create fifo without root privileges... configure:
> error: in `/usr/pkgsrc/sysutils/coreutils/work/coreutils-8.22':
> configure: error: you should not run configure as root (set
> FORCE_UNSAFE_CONFIGURE=1 in environment to bypass this check)
> See `config.log' for more details
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/pkgsrc/sysutils/coreutils
> *** Error code 1

Hm, good advice, isn't it? :)

> If run as non-root:
> 
> Making all in po
> Making all in .
>   CC       lib/strncat.o
> lib/strncat.c:24:1: error: expected declaration specifiers or '...' before
> numeric constant
> lib/strncat.c:24:1: error: expected ')' before '!=' token
> lib/strncat.c:24:1: error: expected ')' before '?' token
> *** Error code 1

For me, on NetBSD-6.99.31/amd64 configure says:
checking whether strncat works... yes
and the file isn't compiled for me.

What platform are you on, and why doesn't it find strncat there?
 Thomas


Home | Main Index | Thread Index | Old Index