fir3net
PPS-Firenetbanner-780.5x190-30-03-17

gcc install on Solaris fails with "errno 28, No space left on device"

When trying to install the gcc package on Solaris you may find you get the following error :

cpio: Cannot write "reloc/lib/gcc-lib/i386-pc-solaris2.10/3.3.2/cc1obj", errno 28, No space left on device
cpio: Cannot write "reloc/lib/gcc-lib/i386-pc-solaris2.10/3.3.2/cc1plus", errno 28, No space left on device
cpio: Cannot write "reloc/lib/gcc-lib/i386-pc-solaris2.10/3.3.2/collect2", errno 28, No space left on device
cpio: Cannot write "reloc/lib/gcc-lib/i386-pc-solaris2.10/3.3.2/f771", errno 28, No space left on device
cpio: Cannot write "reloc/lib/gcc-lib/i386-pc-solaris2.10/3.3.2/gmon.o", errno 28, No space left on device

As you can see this is down to space issues on your harddrive (/var). To resolve this use the following command :

TMPDIR=/tmp
pkgadd -d gcc-3.3.2-sol10-intel-loca

Tags: UNIX

About the Author

RDonato

R Donato

Rick Donato is the Founder and Chief Editor of Fir3net.com. He currently works as a Principal Network Security Engineer and has a keen interest in automation and the cloud.

You can find Rick on Twitter @f3lix001