Samba

I am trying to install samba on a unix box solaris 8. I got the gcc compiler fron sunfreeware,. I nstalled the compiler in /opt/temp but whe I do pkkgadd it tells me there were no packages found. I had suceess before in installing samba. What am i doing wrong?
pkgadd: ERROR: no packages were found in </opt/temp/gcc-2.95.3>
Help

had wrong package