checking whether the C++ compiler works... no
configure: error: in `/home/shahinab/Program Files/GL/gridlab-d/trunk':
configure: error: C++ compiler cannot create executables
Install a C++ compiler. Probably you didn't install enough of gcc. BTW, /home/shahinab/Program Files/GL/gridlab-d/trunk seems a fairly strange directory to be compiling in. did you make the Program Files/ directory or is it part of something else?