Tengo un problema para compilar gcc 4.6.2 bajo ubuntu 11.10. El error es bastante popular, es decir,/usr/bin/ld: no se puede encontrar crti.o: No existe tal archivo o directorio Intenté LIBRARY_PATH =/usr/lib/x86_64-linux-gnu donde crti.o podría ser encontrado por el enlazador, pero entonces la configuración se queja de que LIBRARY_PATH no debe contener la ruta del directorio actual en la construcción de gccError al compilar gcc 4.6.2 bajo ubuntu 11.10
checking LIBRARY_PATH variable... contains current directory
configure: error:
*** LIBRARY_PATH shouldn't contain the current directory when
*** building gcc. Please change the environment variable
*** and run configure again.
make[2]: *** [configure-stage2-gcc] Error 1
make[2]: Leaving directory `/home/abdul/cc02/gcc-4.6.2/src-infra/obj-gcc'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/home/abdul/cc02/gcc-4.6.2/src-infra/obj-gcc'
también he intentado fijar LD_LIBRARY_PATH, pero sin éxito.
Gracias de antemano.
Gracias @larsmans por corregir mi pregunta. – Shahzad
¿Qué significa 'env | grep '^ LIBRARY_PATH =' 'informe? –
IBRARY_PATH =/usr/lib/x86_64-linux-gnu /: – Shahzad