Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 May 2000 06:27:03 -0400
From:      "Paul A. Howes" <pahowes@fair-ware.com>
To:        "Zherdev Anatoly" <tolyar@mx.ru>, <freebsd-stable@FreeBSD.ORG>
Subject:   RE: Problem with NFS on FreeBSD 4.0
Message-ID:  <PCEHKHHDDCJMAMJLBLNCIEECCFAA.pahowes@fair-ware.com>
In-Reply-To: <XFMail.20000523123609.tolyar@mx.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
What I usually do is perform the first-time build and install on the server.
Then, when I need one of the applications in /usr/ports on a different
system, I NFS-mount /usr/ports and perform a "make reinstall" to get the
application installed, but not built from scratch, on the client.

I do it this way, because I had been alerted to permission problems in the
building of various components.  It's just simpler to do all of the builds
on a server, and only do the installs on the client.  Besides, my server is
a faster machine than the clients I have, so builds go MUCH faster on it.

--
Paul A. Howes



-----Original Message-----
From: owner-freebsd-stable@FreeBSD.ORG On Behalf Of Zherdev Anatoly
Sent: Tuesday, May 23, 2000 4:36 AM
To: freebsd-stable@FreeBSD.ORG
Subject: Problem with NFS on FreeBSD 4.0



Hello. There is problems with NFS on FreeBSD 4.0.

I have two computers one NFS server (4.0 - CURRENT 2-Mar /Dual PII - SMP)
and second NFS client ( 4.0 - STABLE 3-Apr /Dual PII - SMP)
/usr/ports place on NFS server, and NFS client mount it from server. When i
make some ports
on client (for example /usr/ports/graphics/png) i have a problem.
After patching some files (different) who was patched is missing (examples
see
below),
some time it missing, but some time "make install" is OK.
If i making port on local disk of NFS client, or build it on NFS server all
OK.


Client      4.0-STABLE (3 - Apr)
Server      4.0-CURRENT (2 -Mar)

<----------- make ( /usr/ports/graphics/png ) first time ---------------->

===>  Extracting for png-1.0.6 >> Checksum OK for libpng-1.0.6.tar.gz.
>> Checksum OK for libpng-1.0.6-patch-a.txt.gz.
>> Checksum OK for libpng-1.0.6-patch-b.txt.gz.
>> Checksum OK for libpng-1.0.6-patch-c.txt.gz.
===>  Patching for png-1.0.6 ===>  Applying distribution patches for
png-1.0.6
===>  Applying FreeBSD patches for png-1.0.6
===>  Configuring for png-1.0.6
cd /usr/ports/graphics/png/work/libpng-1.0.6 && /bin/cp scripts/makefile.std
Makefile
===>  Building for png-1.0.6
make: don't know how to make png.h. Stop

*** Error code 2
Stop in /usr/ports/graphics/png.

*** Error code 1
Stop in /usr/ports/graphics/png.

*** Error code 1
Stop in /usr/ports/graphics/png.

-----------------------------
After this :

Client :    png.h.orig - present
Client :    png.h - absent
Server:     png.h.orig -  present
Server:     png.h -  absent
--------------------------------

<-------------------- make - second time --------------------------------->
===>  Extracting for png-1.0.6
>> Checksum OK for libpng-1.0.6.tar.gz.
>> Checksum OK for libpng-1.0.6-patch-a.txt.gz.
>> Checksum OK for libpng-1.0.6-patch-b.txt.gz.
>> Checksum OK for libpng-1.0.6-patch-c.txt.gz.
===>  Patching for png-1.0.6
===>  Applying distribution patches for png-1.0.6
===>  Applying FreeBSD patches for png-1.0.6
===>  Configuring for png-1.0.6
cd /usr/ports/graphics/png/work/libpng-1.0.6 && /bin/cp scripts/makefile.std
Makefile
===>  Building for png-1.0.6
cc -O -pipe -I. -c pngset.c
cc -O -pipe -I. -c pngget.c
cc -O -pipe -I. -c pngrutil.c
cc -O -pipe -I. -c pngtrans.c
cc -O -pipe -I. -c pngwutil.c
cc -O -pipe -I. -c pngread.c
cc -O -pipe -I. -c pngrio.c
cc -O -pipe -I. -c pngwio.c
cc -O -pipe -I. -c pngrtran.c
cc -O -pipe -I. -c pngwtran.c
cc -O -pipe -I. -c pngmem.c
cc -O -pipe -I. -c pngerror.c
cc -O -pipe -I. -c pngpread.c
ar rc libpng.a  png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o
pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o  pngwtran.o pngmem.o
pngerror.o pngpread.o
/usr/libexec/elf/ar: png.o: No such file or directory
*** Error code 1

Stop in /usr/ports/graphics/png/work/libpng-1.0.6.
*** Error code 1

Stop in /usr/ports/graphics/png.
*** Error code 1

Stop in /usr/ports/graphics/png.
*** Error code 1

Stop in /usr/ports/graphics/png.

-----------------
After this:

png.h - OK
png.h.orig - OK
png.c - absent
png.c.orig - OK
(Both client and server)
------------------



--
Zherdev Anatoly.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?PCEHKHHDDCJMAMJLBLNCIEECCFAA.pahowes>