I'm trying to add autofs to set up automatic mounting mounting of
filesystems.

However It fails compling with this message:

m...@nixos:
/tmp/nix-build-6ifmhynnj08p10xf0javh4sa43c6ab8r-autofs-5.0.4.drv-0/autofs-5.0.4/lib
 ]$ strace -o /tmp/trace -f
/nix/store/a8922c0h87iilxzzvwn2hmv8x210aqb9-glibc-2.7/bin/rpcgen -h -o
mount.h mount.x
cannot find any C preprocessor (cpp)

strace reveals:

  14385 stat("/lib/cpp", 0x7fff55a89700)  = -1 ENOENT (No such file or 
directory)
  14385 stat("/usr/ccs/lib/cpp", 0x7fff55a89700) = -1 ENOENT (No such file or 
directory)

So is the way to go patching glibc so that rpcgen uses cpp from PATH?

Sincerly
Marc Weber
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to