/Quest/root/net/rpdutils/src/rpdconn.cxx: In member function ‘int rpdconn::senddesc(int)’:
/Quest/root/net/rpdutils/src/rpdconn.cxx:398: error: size of array ‘buf’ is not an integral constant-expression
make: *** [net/rpdutils/src/rpdconn.o] Error 1
Using ‘homebrew’ I installed gfortran (which says is i686-apple-darwin11-gfortran-4.2.1 - note this says ‘darwin11’ while the XCode-provided compiler is ‘darwin10’) and it now compiles.
/usr/bin/gfortran – darwin10 version provided by Apple
/usr/local/bin/gfortran --darwin11 version I got from homebrew
Homebrew installs into /usr/local by default, so I had to run ./configure using the option --with-f77=/usr/local/bin/gfortran.
I just wanted to share and see if anybody else is having this problem.
Or perhaps there is a different solution to this compile error.
where did you get /usr/bin/gfortran from. Apple does not ship gfortran, so it must be a remnant from 10.6. The exexvp failure is typically a sign of incorrect installation. I myself use: