I think it's better when you'll install a precompiled version of samba for soalris/intel 8.
The file calls
samba-2.2.2-sol8-intel-local.gz.
You can get it from every solaris resouce site, because this is the "official" desciption for it.
(
www.sunfreeware.com )
unpack it
gunzip -d samba-2.2.2-sol8-intel-local.gz
install it
pkgadd -d samba-2.2.2-sol8-intel-local
( samba 222 is finally insatleld in usr/local/samba. That's it )
Now you can configure your samba server.