Re: 3.1 Build error on Solaris 9 w/ Sun CC v5.8

2006-04-26 Thread Mark Reis
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

Re: 3.1 Build error on Solaris 9 w/ Sun CC v5.8

2006-04-26 Thread Mark Reis
It appears to be a strange behavior of the configure process. I wanted to install bash in a non-standard directory "/usr/cs" and dirent.h is located in /usr/include. After setting: export CFLAGS="-I/usr/include" export CPPFLAGS="-I/usr/include" I noticed that it insisted on adding: "-I/usr/cs/i

Re: 3.1 Build error on Solaris 9 w/ Sun CC v5.8

2006-04-26 Thread Chet Ramey
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 , that mu

3.1 Build error on Solaris 9 w/ Sun CC v5.8

2006-04-26 Thread Mark Reis
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. make STATIC_LD= LOCAL_LIBS='-B dynamic -ldl -B static' *