To compile blas install the slackware gcc fortran package (for VL5.8: gcc-g77-3.4.6-i486-1.tgz). The blas makefile does not link the objects to make a fully working library, so it has to be patched. The patch was created based on the modified Fedora 7 makefile (Makefile.blas), but with some changes. You can find the Fedora 7 source rpm where the info was extracted from here: ftp://download.fedora.redhat.com/pub/fedora/linux/development/source/SRPMS/lapack-3.1.1-1.fc7.src.rpm