make install port question across nfs
Doug Poland
doug at polands.org
Mon Apr 14 19:14:57 PDT 2003
Kent Stewart said:
> On Monday 14 April 2003 06:39 pm, Doug Poland
> wrote:
>> Hi,
>>
>> I'm trying to build a port on a fast machine
>> and export the /usr/ports /usr/src /usr/obj via
>> nfs to a number of slower machines. After
>> running make on the fast machine, I want to do
>> a make install on the slower boxes.
>>
>
> What I have found is that they know the true
> path. So, if you nfs_mount, it has to have the
> same path as the system that built it. I mount
> fs'es all of the time but I mount the fs as
> /usr/src and /usr/ports on both machines. Then,
> when you cd /usr/ports/x11 and do a pwd, you see
> what you cded into.
>
> Kent
>
That's how I do it too. A pwd in a directory like
/usr/ports/sysutils/apcupsd shows the same on all
machines.
Just for grins I tried a make clean ; make; make
install on one of the slow boxes. When I did a
make install on the other slow box then it
"worked", i.e., it installed the port. So why
is a make on one machine recognized and not
another? Strange to a mere mortal like me.
--
Regards,
Doug
More information about the freebsd-questions
mailing list