Subject: Re: netatalk for NetBSD 2.0???
To: Frederick Bruckman <fredb@immanent.net>
From: Daniel R. Killoran,Ph.D. <drkilloran@speakeasy.net>
List: netbsd-help
Date: 03/06/2005 13:37:51
On Mar 5, 2005, at 6:25 PM, Frederick Bruckman wrote:

> In article <3bd87fa2d12f70b9bf0b3e6b4c82daa9@speakeasy.net>,
> 	"Daniel R. Killoran,Ph.D." <drkilloran@speakeasy.net> writes:
>> I don't like to cross-post, but I didn't get an answer on
>> port-mac68k@netbsd.org,so:
>>
>> I am installing NetBSD 2.0 on my Mac IIvx.
>> The version of netatalk in the corresponding package folder
>> (ftp://ftp.NetBSD.org/pub/NetBSD/packages/2.0/mac68k/net) goes no
>> higher than netatalk-1.5.3.1.tgz. But when I try to pkg_add this
>> version, I get:
>>
>>     pkg_add: Package 'netatalk-1.5.3.1.tgz' OS mismatch
>>     pkg_add: NetBSD/m68k 1.6_RC1 (pkg) vs NetBSD/m68k 2.0 (this host)
>
> Someone made a mistake. It's only a warning as far as pkg_add is
> concerned, so the package is installed.

Oh good! Too bad the message doesn't tell us it's just a warning.
The package didn't install actually because of missing a couple of 
dependencies
and I was trying to deal with them in order.
Speaking of dependencies, I got perl and db4, but the specified version 
of openslp
isn't available as binary, so I tried an earlier one. The netatalk 
installed, but
as you note below, it complained about

     Shared object: "libcrypto.so.1" not found

while subsequently booting.

> The downside now, is that
> if the binaries depend on an older version of "libutil" or some
> other library, they won't start at all. If something like that
> happens, take note of the error message, and you can extract the
> missing libraries from the 1.6 base set, and drop them in "/usr/lib".
> [There's no compat16 binary package for m68k, either.] Only install
> the "lib*.so.N" link and "lib*.so.N.N" targets. Don't install the
> "lib*.so" link -- that's for compiling.
>

Where are these libraries? I can't seem to find them in

ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/README-all.html

> NetBSD doesn't actually have hardware to build packages on all the
> platforms we support.

Not to mention not having an infinite amount of spare time!

> We're at the mercy of developers who do this
> in their "spare" time, and m68k is losing popularity these days.
> Most pkgsrc users build from source, but that's a fairly
> unattractive option on your host, so that's why I recommend
> downloading the missing 1.6 libraries.

There are still a lot of 68k Macs around, and they are very useful when
set up to run NetBSD. I think they are a victim of their own success -
once you get them set up they run forever, so you don't reconfigure them
all the time!

I think that netatalk should be a part of the basic distribution, at 
least
for Macs - both 68k and ppc. Macs almost always have to talk to other 
Macs,
usually not running Unix.

Thanks,

Dan Killoran