[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't compile pkgsrc on OpenBSD 3.4



Quoting Nikolay Sturm (sturm_(_at_)_sec_(_dot_)_informatik_(_dot_)_tu-darmstadt_(_dot_)_de):
> * Robert S [2003-12-14]:
> > I am trying to install pkgsrc (NetBSD) on my OpenBSD 3.4 system.  I
> 
> Mixing operating systems is generally not a good idea, I wouldn't expect
> this to work.

It's not mixing OSs.  It's using NetBSD's version of "/usr/ports" 
on OpenBSD. (to them a port is new hardware platform, and a pkg is
what we might call a port.  the pkgsrc is, well, the source for that).
One *nice* thing about their system is that, just as BSDi put things
they included that weren't part of the OS proper into /usr/contrib,
NetBSD puts it in /usr/pkg/.  This leaves /usr/local/ to YOU for
stuff that solely yours.  Annoyingly, configs go into /usr/pkg/etc/.

But I *do* really like the idea of maintaining one damn (ports|pkgsrc)
tree that works on 3 BSD's, Solaris, OSX and Linux.  Consolidating
effort seems a no brainer.


I just started using pkgsrc on Solaris in production.  I just got
tired of making packages by hand for every damn thing I needed,
what with SunOS shipping with a userland from the 80s.

That said, you're errors with make just be moot.  OpenBSD ships
with a BSD make :)  You will want their pkg_*.

And it *will* conflict in /var/db/pkg/ per the README.OpenBSD if
you're using OpenBSD ports.
And you may run into bumps as NetBSD doesn't come with OpenSSL,
Apache or Perl and OpenBSD does.


> > I can't run the precompiled OpenBSD 3.2 binaries either.
> Of course not, you have an OpenBSD *3.4*!
What he said.  i386 went from a.out to elf in that time.  Use 3.4 binaries.



Visit your host, monkey.org