Hi,

I have been trying to find the cause of a problem that I'm having building gcc 
from the repository.

In the logs I've been seeing the following message: 



    239 + ../gcc/configure --prefix=/usr/lsd/Linux --verbose 
--with-mpc=/usr/lsd/Linux --with-mpfr=/usr/lsd/Linux --with-gmp=/usr/lsd/Linux
    240 configure: loading cache /dev/null
    241 /dev/null: line 1: ls:: command not found
    242 checking build system type... x86_64-unknown-linux-gnu


This error message appears because line 500 of the configure script has an 
improperly(?) formed if statement:     


500   if ls -dL / >/dev/null 2>&1; then


when changed to the following, the message goes away:

500   if [ ls -dL / >/dev/null 2>&1 ]; then


This has got to be the most trivial bug ever found... at least I think it's a 
bug. Perhaps it's indicative of a more serious problem with my system?

Could I ask someone to take a peek at this please?

Regards,

George...

Reply via email to