Well, I don't know what 'fips' is, but whenever you compile something
from source, do these (use a script, there will be many repetions):
1. first set CFLAGS/CPPFLAGS/LDFLAGS/LIBS according to your system
2. decide configure options according to your system
3. then configure + make all + make install
4. examine the error-messages; do 'make distclean' and restart
5. when eventually it succeeds, check the files you got,
especially the shared libs versions and dependencies
eq if you have compiled openssl:
ls -l /path/to/bin/openssl # the new executable binary
dump -H -X32_64 /path/to/bin/openssl # its dependencies
# the new shared libs:
ls -l /path/to/lib/libcrypto*
ls -l /path/to/lib/libssl*
etc