Re: fresh install of OpenBSD 5.4 on an old Sparc server fails to install wget

Stuart Henderson <[email protected]>
Newsgroups gmane.os.openbsd.sparc
Message-ID <[email protected]>
On 2014/02/09 02:46, dev wrote:
> # pkg_add -v wget
> wget-1.14p0:libiconv-1.14p0: ok
> wget-1.14p0:gettext-0.18.2p3: ok
> wget-1.14p0:libidn-1.27: ok
> wget-1.14p0:pcre-8.33: ok
> wget-1.14p0: ok
> Weird subject line in /usr/local/man/cat3/pcre16.0:
>  #include <pcre.h>
> Weird subject line in /usr/local/man/cat3/pcre32.0:
>  #include <pcre.h>
> Weird subject line in /usr/local/man/cat3/pcreapi.0:
>  #include <pcre.h>
> No subject found in /usr/local/man/cat3/pcredemo.0
> 
> A few odd messages. hrmmm ... okay.

Those come from makewhatis(8) (or to be more exact, the perl module
behind makewhatis which is called directly by pkg_add) - they're
unsightly but can be ignored. They are actually hidden in -current
unless you use pkg_add -vv (this is a very recent change, it
pre-dated your email by a couple of hours ;)

Side-note, pcredemo(3) is a *very* strange man page!

> No SSL or Zlib bits either.
> That looks to be correct.  I am surprised that libssl and some crypto
> libs are not required but then again, this is OpenBSD and not Solaris
> so I guess I should expect to see some new things.

There's a split between programs/libraries which are part of the base
system, and those which come from packages. libssl, libz etc. are part
of the base system and live in /usr/lib, whereas libiconv, libintl etc.
are part of packages which live (mostly) in /usr/local/lib.

> Very cool .. however I don't know what it installed into /usr/local but

"pkg_info -f wget" shows the packing list for wget, which includes all
the files associated with that package (and various annotations; sha hashes,
file sizes, library dependencies, etc).

> I guess I can learn to live with that being a "do not touch" vendor
> area as opposed to a "user may modify" area.

It's simpler that way - might be better to use a different base location
if there are things you need to install yourself from source - less chance
of accidentally interfering with files from packages that way. If you
use pkg_check(8) you'll find it complains about files under /usr/local
which aren't associated with a package.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.