Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Sep 2003 07:32:43 -0700
From:      Kent Stewart <kstewart@owt.com>
To:        K Anderson <freebsduser@comcast.net>
Cc:        FREEBSD <freebsd-questions@freebsd.org>
Subject:   Re: Ports woes.
Message-ID:  <200309260732.43942.kstewart@owt.com>
In-Reply-To: <3F737666.6040603@comcast.net>
References:  <00df01c38185$2255aee0$5864a8c0@patience> <200309222126.41170.kstewart@owt.com> <3F737666.6040603@comcast.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 25 September 2003 04:12 pm, K Anderson wrote:
> Kent Stewart wrote:
> > On Monday 22 September 2003 08:45 pm, cuddlesomebunny wrote:
> >>Could anybody explain to me what is up with ports?
> >>
> >>I am using FreeBSD 5.x-p2 and I am using ports and am having one
> >> hell of a time installing things.
> >>
> >>Here's what is happeng.
> >>
> >>I go to install ports and if it needs to get a dependency it goes
> >> and fetches it and becomes the usual compile process. Except that
> >> the dependency might already be installed with the exact version
> >> required and so most of the time the ports error out telling me I
> >> need to make deinstall on some dependency then make reinstall on
> >> it.
> >>
> >>And don't even get me started on installing Apache. I tried
> >>installing mod_php4 but before hand installed apache+ssl and so
> >> then mod_php4 doesn't even see that apache is already installed
> >> and then fetches the version it wants thus blowing out the
> >> apache+ssl and I have to then reinstall that package to get ssl
> >> and apache.
> >>
> >>If I do things with /stand/sysinstall it errors out on a dependency
> >>if it is already installed instead of ignoring the fact that it is
> >>already there and errors out. This particular behavour started
> >> around 4.8 or so. Maybe earlier but I don't seem to recall exactly
> >> when this started to happen.
> >>
> >>I tried using the portupgrade stuffs but that just seems to make
> >>things worse overall.
> >>
> >>Anybody got any hints as to why it seems ports is having these
> >> sorts of problems?
> >
> > I don't have any idea what you problem is; however, there is an
> > ongoing discussion on -current with people having port problems.
> > What I remember is that the freeze has them locked and they can't
> > patch the ports to build and install on -current until the port
> > freeze is over. You might be caught by this problem or something
> > entirely different.
> >
> > Kent
>
> Mmmmm, could be. But would that explain why /stand/sysinstall can't
> install something just because a given dependency exists already on
> the system?

No, idea. I don't use sysinstall after the initial install and I only do 
minimal initial installs of the packages. There is one exception  and 
that is I use it to add new HDs. 

Once the system is installed, I use the port system to do everything. 
That begins with cvsuping ports-all, making both INDEXs in the cvsup 
script that I use, and portupgrade to maintain the ports I have 
installed. You can add packages from the CD-ROMS using pkg_add. You can 
also have it fetch packages for you but in that case, I usually build 
them from scratch and have never had it fetch a package for me.

I think that everything you download that has been built, is basically 
out of date by the time you download it. For example, the ports have 
been tagged and are being built for 4.9's release based on the tagging 
but updates are going on as I write this. What you will find on the CD 
is consistant with the initial build of the system but any of the ports 
that have been fixed or updated are already out of date.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html



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