Subject: Zoularis on Solaris 8 problem
To: None <netbsd-help@netbsd.org>
From: Rasputin <rasputin@idoru.mine.nu>
List: netbsd-help
Date: 10/21/2002 14:32:05
 I've followed the steps at http://www.zoularis.org, to get pkgsrc
installed on Solaris. It all seems OK, but most things try to
install digest, which builds cleanly, then dies on install:

/usr/ucb/install   -c -s   -o root -g sys -m 555 digest /usr/pkg/bin/digest
BFD: /usr/pkg/bin/stRAa4kb: warning: allocated section `.interp' not in segment
/usr/ucb/install   -c   -o root -g sys -m 444 digest.1 /usr/pkg/man/man1/digest.1
digest: Cannot findELF
Killed
bmake: "../../mk/../../mk/bsd.prefs.mk" line 324: warning: "/usr/pkg/bin/digest -V 2>/dev/null" returned non-zero status
/usr/bin/grep -v '^man/cat' /home/rasputin/pkgsrc/pkgtools/digest/PLIST > /home/rasputin/pkgsrc/pkgtools/digest/work/.PLIST
digest: Cannot findELF


it continues for a while like this, but looks to have installed.
Unfortunately any package that requires it (mutt, bash, etc)
falls over:


box% echo $PATH
/home/rasputin/bin:/usr/pkg/bsd/bin:/usr/pkg/bin:/usr/local/bin:/bin:/usr/sbin:/sbin
box% uname -a
SunOS ci 5.8 Generic_108528-05 sun4u sparc SUNW,Ultra-2
box% pkg_info -a
digest-20010807     Message digest wrapper utility


Any way around this? I couldn't find a precompiled digest anywhere to use,
unfortunately..

(/usr/ucb/install is probably a very crufty old install script too,
am I missing some more binaries under /usr/pkg/* ? I 'su' to make install,
so the path etc should be unchanged...)

box% ls /usr/pkg/bin
c++                    gcc                    jv-scan
c++filt                gcj                    makeinfo
chill                  gcjh                   sparc-sun-solaris-gcc
cpp                    gcov                   texi2dvi
digest                 info                   texindex
g++                    install-info
g77                    jcf-dump
box% ls /usr/pkg/bsd/bin
bmake       ftp         pkg_add     pkg_create  pkg_info
cpp         mtree       pkg_admin   pkg_delete  tar

Thanks.
-- 
Rasputin :: Jack of All Trades - Master of Nuns