[Cmake] CMake and amd (NFS automounter)

Amitha Perera perera at cs.rpi.edu
Thu Aug 16 14:31:47 EDT 2001


Essentially, yes. It really doesn't affect anything when all disks are
NFS mounted. However, my data sits on local disk, and amd is
configured so that on a remote machine, my disk is NFS mounted, but on
my machine, the "NFS mount" is actually just a symlink (for
efficiency). On my machine, then, cmake hardcodes the path on my local
disk, which is invalid elsewhere on the network.

In some sense, it is a RPI specific problem. In another sense, it is
bigger, in that whenever an amd installation decides to use symlinks
on the local machine (as they should), then executing on that machine
will code in machine specific paths.

Interestingly, bash somewhat understands the issue, and pwd outputs
the correct thing. /bin/sh and getcwd() don't.

On Thu, Aug 16, 2001 at 02:15:51PM -0400, Bill Hoffman wrote:
> Sounds like an RPI specific problem.  
> 
> So you have /home/amitha
> and getcwd returns /mount2/homedirs/amitha,
> but on another machine you get:
> /mount3/homedirs/amitha,
> 
> Is that the problem?




More information about the CMake mailing list