Ports/Package dilema
Tuc at T-B-O-H
ml at t-b-o-h.net
Mon Jan 9 10:30:34 PST 2006
>
> On 2006-01-09 13:11, Tuc at T-B-O-H <ml at t-b-o-h.net> wrote:
> > > > I have compat4x installed already, but not 5x. Should I load 5x on
> > > > a 5.4-REL system??
> > >
> > > Sorry for the confusion. I replied too fast. Now that I've checked the
> > > versions of libm.so in 5.X, 6.X and CURRENT I see that they have:
> > >
> > > 5.X libm.so.3
> > > 6.X libm.so.4
> > > 7.X libm.so.4
> > >
> > > so you are probably trying to install a package that was compiled for
> > > 6.X on a 5.X system. Don't do that. It's not going to work reliably.
> > > Use packages that have been compiled for 5.X instead.
> > >
> > Understood. But I don't know how to do that.. Is there a different
> > directory structure on FTP.FREEBSD.ORG for each?
>
> Yes. By using pkg_add -r you should, in general see things `work'
> automagically. If this doesn't work for you, you can force pkg_add to
> fetch from a particular release/version of the packages online by
> setting PACKAGESITE in the environment of the pkg_add command:
>
> # env PACKAGESITE='ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/All' \
> pkg_add -r cvsup-without-gui
>
AH!!
Ok.. I didn't know to go below the i386 directory. Thank you, it looks
like the "-r" option is exactly what I needed.
Tuc/TBOH
More information about the freebsd-questions
mailing list