Date: Thu, 02 Mar 2000 06:54:38 -0800 From: Cy Schubert - ITSD Open Systems Group <Cy.Schubert@uumail.gov.bc.ca> To: Kenneth W Cochran <kwc@world.std.com> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Fixed: Trouble installing xpdf port in 3.4-stable Message-ID: <200003021455.GAA04078@cwsys.cwsent.com> In-Reply-To: Your message of "Tue, 29 Feb 2000 23:47:07 EST." <200003010447.XAA29585@world.std.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <200003010447.XAA29585@world.std.com>, Kenneth W Cochran
writes:
> 2. My original "goal" of being able to get my ports distfiles
> off the CDs seems much less workagle in this case. At this
> point I'm not sure how to deal with this...
This is what I do:
Create a /FreeBSD directory. The contents of that directory are:
2.2.7-cdrom-3 3.0-cdrom-3 3.2-cdrom-4 TK-cdrom-3
2.2.7-cdrom-4 3.0-cdrom-4 3.3-cdrom-4 TK-cdrom-4
2.2.8-cdrom-3 3.1-cdrom-3 TK-9906 TK-cdrom-5
2.2.8-cdrom-4 3.1-cdrom-4 TK-9909 TK-cdrom-6
(Looks like I haven't gotten around to creating 3.4 CDROM symlinks yet).
Each CDROM directory contains symlinks to distfiles (created using
lndir) on CDROM. My distfiles directory contains symlinks to files
within /FreeBSD or archives-? directories (Zip disks). Here's an
example of what's in /usr/ports/distfiles:
lrwx------ 1 root wheel 30 Feb 29 01:45 tcpshow.1 ->
/FreeBSD/3.2-cdrom-4/tcpshow.1
lrwx------ 1 root wheel 30 Feb 29 01:45 tcpshow.c ->
/FreeBSD/3.2-cdrom-4/tcpshow.c
In /FreeBSD/3.2/cdrom-4 we see the following:
lrwxr-xr-x 1 root wheel 26 Jun 27 1999 /FreeBSD/3.2-cdrom-4/tcpshow.
1 -> /cdrom/distfiles/tcpshow.1
lrwxr-xr-x 1 root wheel 26 Jun 27 1999 /FreeBSD/3.2-cdrom-4/tcpshow.
c -> /cdrom/distfiles/tcpshow.c
In the above example I know that when building tcpshow, make will
complain that it cannot find tcpshow.c:
>> /usr/ports/distfiles//tcpshow.c is a broken symlink.
>> Perhaps a filesystem (most likely a CD) isn't mounted?
>> Please correct this problem and try again.
I ls -l /usr/ports/distfiles/tcpshow.c and it will tell me which CDROM
it's on. I mount the CDROM and build the package. If a link doesn't
exist, FreeBSD will fetch the distfile. When I'm done, I unmount the
CDROM and put it back on the shelf.
Regards, Phone: (250)387-8437
Cy Schubert Fax: (250)387-5766
Team Leader, Sun/DEC Team Internet: Cy.Schubert@osg.gov.bc.ca
Open Systems Group, ITSD, ISTA
Province of BC
"COBOL IS A WASTE OF CARDS."
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?200003021455.GAA04078>
