Oh, I'm not sure if this would be worthy of the build notes - if you compile in libnsl statically on Solaris 9, bash will segfault when you try to run it on Solaris 10 with:
# exec bash ld.so.1: bash: fatal: relocation error: file bash: symbol _register_forkhandler: referenced symbol not found If I changed the recommended make statement to: make STATIC_LD= LOCAL_LIBS='-B dynamic -R/usr/lib -lnsl -ldl -B static'. It works on both Sol 9 and Sol 10 now. Cheers, Mark Chet Ramey wrote: > Mark Reis wrote: > >> I'm attempting to build a static version of Bash 3.1 on Solaris 9 using >> Sun's cc version >> 5.8 2005/10/13. It fails during make when compiling >> (I'm attempting to install to the /usr/cs directory). Any help would >> be appreciated. >> > > Well, the compiler's not finding <dirent.h>, that much is clear. > > Chet > _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash