Subject: Re: patching
To: Brian McEwen <bmcewen@comcast.net>
From: Glyn Astill <glynastill@yahoo.co.uk>
List: port-cobalt
Date: 10/16/2006 14:51:20
Hi Brian, All
Well I downloaded a perl pkg from the netbsd/3/packages ftp site as
the 5.8.8 perl tarball I downloaded wouldn't compile. However I got
the samba-latest, apache 2.2 and mysql 5.0.26 to compile just fine
(mysql gave me a couple of warnings).
I stuck all my tarballs in /temp (which I created) and then did
./configure, make, make install from there.
I just configured them all with --PREFIX=/usr/local/samba
etc, and the same for apache and mysql.
I'm a little peeved that I didn't ask about pkgsrc before I did all
this. Would I be right in assuming that if pkgsrc puts the new
installs in the same place I don't have too much to worry about?
As for Andreas' site being down, thats exactly why I didn't follow
his guide, I had it bookmarked but I couldn't find it!
Thanks
Glyn
--- Brian McEwen <bmcewen@comcast.net> wrote:
> On Oct 16, 2006, at 6:01 AM, Glyn Astill wrote:
>
> > Okay thanks guys,
> >
> > I've already installed samba, apache and mysql from source and
> have
> > them set up. Could one of you two advise on the best way for me
> to
> > convert over to using pkgsrc?
> >
> > Do I have to remove what I've installed already? And if so how do
> I
> > go about this?
>
> Oh wow, I missed that, the teraqube page doesn't give pkgsrc
> details
> like Andreas' page does.
>
> His instructions for perl say to use the pkgsrc, but samba just
> gives
> a tarball-- did you get the .tar from the samba.org site?
>
> Hopefully you actually used pkgsrc to get samba as it is now in the
>
> pkrsrc tree, just as you did for perl.
>
> If not:
> You can/should build/install from source and be using pkgsrc. The
>
> fact is the binary packages for the Qube often are way behind or
> nonexistent; I've always just built from source myself. Using the
>
> pkgsrc tree to get your source files helps markedly in keeping
> track
> of important things.
>
> If you don't have pkgsrc, or want to keep it current, Andreas has a
>
> good guide up:
> http://www.aironaut.ch/content/view/27/53/
> Follow his directions to first obtain, then update the pkgsrc tree.
>
> You can use his 1.6.1 instructions, you get -current if you don't
> specify a specific version, and -current is what you want.
>
> I would be surprised that sources you just grab from the
> samba.org
> site would build on NetBSD/MIPS without some tailoring, but if they
>
> did, they did :)
>
> As far as deleting what you put in- It depends a little on what
> you
> did and where you got the sources from. As far as I know the ftp
> site has been down for a bit, so perhaps you didn't use the link he
>
> gave for the 1.6.1 version, but built from /usr/pksrc/net/samba or
>
> got a version from a 3.x directory if the ftp was up?
>
> As far as more current walkthru's go, check out Andrea' site that
> is
> linked above, there are how-to's for 1.6.1, 3.0, and 3.99 that you
>
> can glean ideas from.
>
> -B
>
>
>
>
>
>
>
Glyn Astill
___________________________________________________________
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine
http://uk.docs.yahoo.com/nowyoucan.html