Descripción: Script que nos automatiza la instalación de Gcc 4.6.2 descargando, compilando y ejecutando debidamente
#!/bin/bash umask 0 mkdir -p /shared/tools/gcc/gcc-4.6.2 cd /shared/tools/gcc/gcc-4.6.2 wget http://projects.joelinoff.com/gcc-4.6.2/bld.sh chmod a+x bld.sh ./bld.sh 2>&1 | tee bld.log
3 comentarios:
Resolviendo fileboar.com... 173.233.64.83
Connecting to fileboar.com|173.233.64.83|:80... falló: No existe ninguna ruta hasta el `host'.
STATUS = 4
se interrumpe la instalación con este mensaje...
# ================================================================
# Archive: http://fileboar.com/gcc/releases/gcc-4.6.2/gcc-g++-4.6.2.tar.bz2
# PWD: /shared/tools/gcc/gcc-4.6.2/src
# CMD: tar jxf /shared/tools/gcc/gcc-4.6.2/archives/gcc-g++-4.6.2.tar.bz2
# ================================================================
bzip2: Compressed file ends unexpectedly;
perhaps it is corrupted? *Possible* reason follows.
bzip2: Inappropriate ioctl for device
Input file = (stdin), output file = (stdout)
It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.
You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.
tar: Child returned status 2
tar: Error is not recoverable: exiting now
STATUS = 2
el servidor donde se alojan los archivos a instalar por el scripts está caido, luego el scripts no sirve para nada...
curioso, estas lib de gcc, que se caen antes de que la mayoría de las distros las utilicen...
boo boo boo y reboo para gcc...
ftp://ftp.gnu.org/gnu/gcc/gcc-4.6.2/
bueno los dos archivos que faltan están aqui...aunque sigo teniendo problemas ahora es con gmp...y que es gmp?...a investigarrrrr...
el fallo...
/shared/tools/gcc/gcc-4.6.2/src/cloog-0.17.0/configure: line 12019: /shared/tools/gcc/gcc-4.6.2/bld/gmp-5.0.3/config.status: No such file or directory
configure: gmp sources in
checking which gmp to use... build
checking gmp.h usability... no
checking gmp.h presence... no
checking for gmp.h... no
configure: error: Can't find gmp headers.
STATUS = 1
Publicar un comentario