Reglamento general de los foros   •   FAQ   •   Buscar en el foro •  Registrarse | Iniciar sesión 



Foros Linux » Administración del sistema » Sistema


Nuevo tema Responder al tema
 [ 14 mensajes ] 
Patrocinadores

Autor
Buscar:
Mensaje

Desconectado
Forista Nuevo
Forista Nuevo
Avatar de Usuario

Registrado: Mié Ene 27, 2010 3:30 pm
Mensajes: 16

Nota Publicado: Sab Feb 06, 2010 5:11 am 
Arriba  
Bueno les cuento, en la construcción de un sistema LFS me piden que instale Glibc que es el paquete que contiene la principal libreria C.

En la copilación tengo que introducir esto:
Código:
../glibc-2.11.1/configure --prefix=/tools \
    --disable-profile --enable-add-ons \
    --enable-kernel=2.6.0 --with-binutils=/tools/bin \
    --without-gd --with-headers=/tools/include \
    --without-selinux


Y al hacerlo me sale el siguiente error:

Código:
root@damian-desktop:/mnt/lfs/sources/glibc-build#     --disable-profile --enable-add-ons \
>
--disable-profile: command not found
root@damian-desktop:/mnt/lfs/sources/glibc-build#     --enable-kernel=2.6.0 --with-binutils=/tools/bin \
>
--enable-kernel=2.6.0: command not found
root@damian-desktop:/mnt/lfs/sources/glibc-build#     --without-gd --with-headers=/tools/include \
>
--without-gd: command not found
root@damian-desktop:/mnt/lfs/sources/glibc-build#     --without-selinux
--without-selinux: command not found
root@damian-desktop:/mnt/lfs/sources/glibc-build#


Si puede ayudar en algo aqui os dejo el significado de las opciones de configure:
--disable-profile
Esto construye las librerías sin información de perfiles. Omite esta opción si planeas usar perfiles en las
herramientas temporales.
--enable-add-ons
Esto le indica a Glibc que utilice el añadido NPTL como su librería de hilos.
--enable-kernel=2.6.0
Esto le indica a Glibc que compile la librería con soporte para núcleos Linux 2.6.x.
--with-binutils=/tools/bin
Aunque no es necesario, esta opción nos asegura que no haya equívocos sobre qué programas de Binutils se
utilizarán durante la construcción de Glibc.
--without-gd
Esto evita la construcción del programa memusagestat, el cual insiste en enlazarse contra las librerías del sistema
anfitrión (libgd, libpng, libz y demás).

--with-headers=/tools/include
Esto le indica a Glibc que se compile contra las cabeceras recién instaladas en el directorio de herramientas, para
que conozca exactamente las características que tiene el núcleo y pueda optimizarse correctamente.
--without-selinux
Cuando se construye a partir de un anfitrión que utiliza la funcionalidad de SELinux (como Fedora Core 3),
Glibc se construirá con soporte para SELinux. Como las herramientas del entorno LFS no contienen soporte
para SELinux, una Glibc compilada con dicho soporte no funcionará correctamente.


Si me podrin ayudar con ello se lo agradeceria mucho!!
Un Saludo!!! :wink:

_________________
La elegancia es la libertad


Última edición por Damian92 el Sab Feb 06, 2010 11:22 am, editado 1 vez en total
 Perfil Email  

Desconectado
Moderador
Moderador
Avatar de Usuario

Registrado: Dom Abr 01, 2007 12:00 am
Mensajes: 2841
Ubicación: México, Estado de México

Nota Publicado: Sab Feb 06, 2010 9:47 am 
Arriba  
Pues revisa tu sintaxis por que el error que teda de "command not found" suele ser por una mala sintaxis.
Esta es la sintaxis para el glibc suponiendo que ya se hicieron los "makes" correspondientes
Código:
../glibc-2.11.1/configure --prefix=/usr \
    --disable-profile --enable-add-ons \
    --enable-kernel=2.6.18 --libexecdir=/usr/lib/glibc

Fijate que en donde tu colocas "tools" en la sintaxis de arriba aparece "usr",(Digo, no se si tu lo tengas en alguna configuracion especial). salu2 8)

_________________
Reglamento del Foro | Temas mas Preguntados | WikiEL | DotShare
Linux User #:406092
Arch Linux | WMFS | HP M7340la | Nvidia Geforce 8400 gs

 Perfil  

Desconectado
Forista Nuevo
Forista Nuevo
Avatar de Usuario

Registrado: Mié Ene 27, 2010 3:30 pm
Mensajes: 16

Nota Publicado: Sab Feb 06, 2010 10:41 am 
Arriba  
La verdad es que lo que estou construiendo ahora es un sistema temporal en el sistema afitrion para posteriormente construir sobre el sistema temporar el sistema LFS por eso mientras usr sale tools que es la carpeta donde instali todos los programas temporales:

Copiado del libro Linux From Scratch

Mira aqui le dejo lo que sale en el manual para que lo vea mejor:

5.6.1. Instalación de Glibc
La documentación de Glibc recomienda construirlo fuera del árbol de las fuentes, en un directorio de construcción
dedicado:
Código:
mkdir -v ../glibc-build
cd ../glibc-build

Debido a que Glibc ya no soporta i386, sus desarrolladores dicen que ha de usarse la opción de compilación
-march=i486 cuando se construye para máquinas x86. Hay varias formas de hacer esto, pero las pruebas nuestran
que es mejor poner la opción dentro de la variable “CFLAGS”. En vez de sobreescribir por completo lo que el sistema
interno de construcción de Glibc utiliza en CFLAGS, añadiremos la nueva opción al contenido existente mediante
el uso del ficgero especial configparms:
Código:
echo "CFLAGS += -march=i486" > configparms

Prepara Glibc para su compilación:
Código:
../glibc-2.6.1/configure --prefix=/tools \
        --disable-profile --enable-add-ons \
        --enable-kernel=2.6.0 --with-binutils=/tools/bin \
        --without-gd --with-headers=/tools/include \
        --without-selinux

Significado de las opciones de configure:
--disable-profile
Esto construye las librerías sin información de perfiles. Omite esta opción si planeas usar perfiles en las
herramientas temporales.
--enable-add-ons
Esto le indica a Glibc que utilice el añadido NPTL como su librería de hilos.
--enable-kernel=2.6.0
Esto le indica a Glibc que compile la librería con soporte para núcleos Linux 2.6.x.
--with-binutils=/tools/bin
Aunque no es necesario, esta opción nos asegura que no haya equívocos sobre qué programas de Binutils se
utilizarán durante la construcción de Glibc.
--without-gd
Esto evita la construcción del programa memusagestat, el cual insiste en enlazarse contra las librerías del sistema
anfitrión (libgd, libpng, libz y demás).

--with-headers=/tools/include
Esto le indica a Glibc que se compile contra las cabeceras recién instaladas en el directorio de herramientas, para
que conozca exactamente las características que tiene el núcleo y pueda optimizarse correctamente.
--without-selinux
Cuando se construye a partir de un anfitrión que utiliza la funcionalidad de SELinux (como Fedora Core 3),
Glibc se construirá con soporte para SELinux. Como las herramientas del entorno LFS no contienen soporte
para SELinux, una Glibc compilada con dicho soporte no funcionará correctamente.
Durante esta fase puede que veas el siguiente mensaje de aviso:
configure: WARNING:
*** These auxiliary programs are missing or
*** incompatible versions: msgfmt
*** some features will be disabled.
*** Check the INSTALL file for required versions.
configure: AVISO:
*** Versión incompatible o ausente de estos
*** programas auxiliares: msgfmt
*** algunas características serán desactivadas.
*** Comprueba en el fichero INSTALL las versiones requeridas.

Normalmente, la ausencia o incompatibilidad del programa msgfmt es inofensiva, pero se cree que en ocasiones
puede causar problemas al ejecutar el banco de pruebas. El programa msgfmt es parte del paquete Gettext y debería
proporcionarlo el sistema anfitrión. Si msgfmt está presente pero es incompatible, actualiza el paquete Gettext del
sistema anfitrión o continúa sin él y observa si los bancos de pruebas se ejecutan sin problemas.
Compila el paquete:
Código:
make

La compilación está completa. Como se mencionó antes, no es obligatorio ejecutar los bancos de pruebas de las
herramientas temporales en este capítulo. Si de todas formas deseas ejecutar el banco de pruebas de Glibc, hazlo con
el siguiente comando:
Código:
make check

Consulta en la Sección 6.9, “Glibc-2.6.1”, la explicación de los fallos de las pruebas que tienen una particular
importancia.
En este capítulo algunas pruebas pueden verse afectadas adversamente por las herramientas existentes o el entorno
del sistema anfitrión. En resumen, no te preocupes demasiado si ves fallos en el banco de pruebas de Glibc en este
capítulo. La Glibc del Capítulo 6 es la que acabaremos usando al final, por lo que es la que necesitamos que pase
la mayoría de las pruebas (incluso en el Capítulo 6 es posible que todavía ocurran algunos fallos, la prueba math
por ejemplo).
Cuando aparezca un fallo, anótalo y continua ejecutando de nuevo make check. El banco de pruebas debería continuar
a partir de donde se quedó. Puedes evitar esta secuencia de inicio-parada ejecutando make -k check. Si utilizas esta
opción, asegúrate de registrar la salida para que más tarde puedas revisar el fichero de registro en búsqueda de errores.

La fase de instalación de Glibc mostrará un aviso inofensivo sobre la ausencia del fichero /tools/etc/ld.so.
conf. Evita este confuso aviso con:
Código:
mkdir -v /tools/etc
touch /tools/etc/ld.so.conf

Instala el paquete:
Código:
make install

Diferentes países y culturas tienen diferentes convenciones sobre cómo comunicarse. Estas convenciones van desde
las más simples, como el formato para representar fechas y horas, a las más complejas, como el lenguaje hablado. La
“internacionalización” de los programas GNU funciona mediante el uso de locales.
Nota
Si no estás ejecutando los bancos de pruebas en este capítulo, como recomendamos, no hay razón para
instalar ahora las locales. Las instalaremos en el siguiente capítulo. Si de todas formas deseas instalar las
locales, usa las instrucciones que se encuentran en Sección 6.9, “Glibc-2.6.1.”


Probe con Glibc 2.6.1. y con Glibc 2.11.1. y me salia el mismo error.

_________________
La elegancia es la libertad


Última edición por Damian92 el Sab Feb 06, 2010 11:28 am, editado 7 veces en total
 Perfil Email  

Desconectado
Moderador
Moderador
Avatar de Usuario

Registrado: Dom Abr 01, 2007 12:00 am
Mensajes: 2841
Ubicación: México, Estado de México

Nota Publicado: Sab Feb 06, 2010 11:05 am 
Arriba  
y si colocaste desde el prinsipio el comando de
Código:
../glibc-2.11.1/configure --prefix=/usr \

?

es que en lo pasos que pones en tu primer post solo aparese desde el segundo
Código:
--disable-profile --enable-add-ons \

:?

_________________
Reglamento del Foro | Temas mas Preguntados | WikiEL | DotShare
Linux User #:406092
Arch Linux | WMFS | HP M7340la | Nvidia Geforce 8400 gs

 Perfil  

Desconectado
Forista Nuevo
Forista Nuevo
Avatar de Usuario

Registrado: Mié Ene 27, 2010 3:30 pm
Mensajes: 16

Nota Publicado: Sab Feb 06, 2010 12:00 pm 
Arriba  
No, segui estrictamente los pasos que salen en el libro es más estoy intentandolo desde hace unos cuantos dias incluso formate mi computadora e instale mi sostema anfitrion de nuevo pensando que podria ser algun fallo de este y volvi de nuevo a construir mi sistema y siempre el mismo error y en mi primer post copie el codigo apartir del cual empezaron a salir errores, pero aquí le ensenio el codigo entero:

Código:
root@damian-desktop:/mnt/lfs/sources/glibc-build# ../glibc-2.11.1/configure --prefix=/tools \
>
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
configure: running configure fragment for add-on libidn
configure: running configure fragment for add-on nptl
checking sysdep dirs... sysdeps/i386/elf nptl/sysdeps/unix/sysv/linux/i386/i686 sysdeps/unix/sysv/linux/i386/i686 nptl/sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux/i386 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv/i386 nptl/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/i386 nptl/sysdeps/unix sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu nptl/sysdeps/i386/i686 sysdeps/i386/i686 sysdeps/i386/i486 nptl/sysdeps/i386/i486 sysdeps/i386/fpu nptl/sysdeps/i386 sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking whether as is GNU as... yes
checking whether ld is GNU ld... yes
checking for as... as
checking version of as... 2.20, ok
checking for ld... ld
checking version of ld... 2.20, ok
checking for pwd... /bin/pwd
checking for gcc... gcc
checking version of gcc... 4.4.1, ok
checking for gnumake... no
checking for gmake... no
checking for make... make
checking version of make... 3.81, ok
checking for gnumsgfmt... no
checking for gmsgfmt... no
checking for msgfmt... msgfmt
checking version of msgfmt... 0.17, ok
checking for makeinfo... no
checking for sed... sed
checking version of sed... 4.2.1, ok
checking for autoconf... no
configure: WARNING:
*** These auxiliary programs are missing or incompatible versions: makeinfo autoconf
*** some features will be disabled.
*** Check the INSTALL file for required versions.
checking whether ranlib is necessary... no
checking LD_LIBRARY_PATH variable... ok
checking whether GCC supports -static-libgcc... -static-libgcc
checking for bash... /bin/bash
checking for gawk... gawk
checking for perl... /usr/bin/perl
checking for install-info... /usr/sbin/install-info
checking for bison... no
checking for signed size_t type... no
checking for libc-friendly stddef.h... yes
checking whether we need to use -P to assemble .S files... no
checking whether .text pseudo-op must be used... yes
checking for assembler global-symbol directive... .globl
checking for .set assembler directive... yes
checking for assembler .type directive prefix... @
checking for assembler gnu_unique_object symbol type... yes
checking for .symver assembler directive... yes
checking for ld --version-script... yes
checking for .previous assembler directive... yes
checking for .protected and .hidden assembler directive... yes
checking whether __attribute__((visibility())) is supported... yes
checking for broken __attribute__((visibility()))... no
checking for broken __attribute__((alias()))... no
checking whether to put _rtld_local into .sdata section... no
checking for .preinit_array/.init_array/.fini_array support... yes
checking for libunwind-support in compiler... no
checking for -z nodelete option... yes
checking for -z nodlopen option... yes
checking for -z initfirst option... yes
checking for -z relro option... yes
checking for -Bgroup option... yes
checking for libgcc_s suffix...
checking for --as-needed option... yes
checking whether --noexecstack is desirable for .S files... yes
checking for -z combreloc... yes
checking for -z execstack... yes
checking for -fpie... yes
checking for --hash-style option... yes
checking for -fno-toplevel-reorder -fno-section-anchors... yes
checking for -fstack-protector... yes
checking for -fgnu89-inline... yes
checking whether cc puts quotes around section names... no
checking for assembler .weak directive... yes
checking whether CFI directives are supported... yes
checking for ld --no-whole-archive... yes
checking for gcc -fexceptions... yes
checking for __builtin_expect... yes
checking for __builtin_memset... yes
checking for redirection of built-in functions... yes
checking for __thread... yes
checking for tls_model attribute... yes
checking for libgd... no
checking for is_selinux_enabled in -lselinux... no
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking size of long double... 12
running configure fragment for sysdeps/i386/elf
checking for i386 TLS support... yes
running configure fragment for nptl/sysdeps/pthread
checking for forced unwind support... yes
checking for C cleanup handling... yes
running configure fragment for sysdeps/pthread
running configure fragment for sysdeps/unix/sysv/linux
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking installed Linux kernel header files... 2.0.10 or later
checking for symlinks in /tools/include... ok
running configure fragment for sysdeps/i386
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking cpuid.h usability... yes
checking cpuid.h presence... yes
checking for cpuid.h... yes
checking if -g produces usable source locations for assembler-with-cpp... yes
checking for SSE4 support... yes
checking for old glibc 2.0.x headers... no
checking whether -fPIC is default... no
configure: creating ./config.status
config.status: creating config.make
config.status: creating Makefile
config.status: creating config.h
config.status: executing default commands
root@damian-desktop:/mnt/lfs/sources/glibc-build#     --disable-profile --enable-add-ons \
>
--disable-profile: command not found
root@damian-desktop:/mnt/lfs/sources/glibc-build#     --enable-kernel=2.6.0 --with-binutils=/tools/bin \
>
--enable-kernel=2.6.0: command not found
root@damian-desktop:/mnt/lfs/sources/glibc-build#     --without-gd --with-headers=/tools/include \
>
--without-gd: command not found
root@damian-desktop:/mnt/lfs/sources/glibc-build#     --without-selinux
--without-selinux: command not found
root@damian-desktop:/mnt/lfs/sources/glibc-build#

_________________
La elegancia es la libertad

 Perfil Email  

Desconectado
Moderador
Moderador
Avatar de Usuario

Registrado: Dom Abr 01, 2007 12:00 am
Mensajes: 2841
Ubicación: México, Estado de México

Nota Publicado: Sab Feb 06, 2010 1:28 pm 
Arriba  
no pues ni idea todo se ve bien a excepción de la advertencia de falta de programas auxiliares que manda pero eso es algo normal. Lo siento pero no se me ocurre nada mas habrá que esperar por alguien con experiencia en el LFS

_________________
Reglamento del Foro | Temas mas Preguntados | WikiEL | DotShare
Linux User #:406092
Arch Linux | WMFS | HP M7340la | Nvidia Geforce 8400 gs

 Perfil  

Desconectado
Forista Ancestral
Forista Ancestral
Avatar de Usuario

Registrado: Mié Abr 11, 2007 11:00 pm
Mensajes: 8259
Ubicación: tras la pantalla (...)

Nota Publicado: Sab Feb 06, 2010 4:26 pm 
Arriba  
mas simple que eso.....quita las barras (\) y ponlo todo en una linea, sin retornos de carro.

bash cuando se pone tonto es asi. :?

_________________
#446716

--Not me, guys. I read the Bash man page each day like a Jehovah's Witness reads the Bible. No wait, the Bash man page IS the bible. Excuse me...
(from comp.os.linux.misc)
[ DNFD ] - [ F4A ] - [ dotfiles ]

 Perfil Email WWW  

Desconectado
Forista Nuevo
Forista Nuevo
Avatar de Usuario

Registrado: Mié Ene 27, 2010 3:30 pm
Mensajes: 16

Nota Publicado: Sab Feb 06, 2010 4:41 pm 
Arriba  
Acabo de intentarlo pero sigue con el mismo error:

Código:
root@damian-desktop:/mnt/lfs/sources/glibc-build# --disable-profile --enable-add-ons
--disable-profile: command not found
root@damian-desktop:/mnt/lfs/sources/glibc-build# --enable-kernel=2.6.0 --with-binutils=/tools/bin
--enable-kernel=2.6.0: command not found
root@damian-desktop:/mnt/lfs/sources/glibc-build# --without-gd --with-headers=/tools/include
--without-gd: command not found
root@damian-desktop:/mnt/lfs/sources/glibc-build# --without-selinux
--without-selinux: command not found
root@damian-desktop:/mnt/lfs/sources/glibc-build#


Alguna otra idea que podria probar?

_________________
La elegancia es la libertad

 Perfil Email  

Desconectado
Moderador
Moderador
Avatar de Usuario

Registrado: Dom Abr 01, 2007 12:00 am
Mensajes: 2841
Ubicación: México, Estado de México

Nota Publicado: Sab Feb 06, 2010 4:48 pm 
Arriba  
Lo que pasa es que ahí el contra-guion (\) no es para un retorno de carro sino para especificar que no es el final del comando(creo yo)

_________________
Reglamento del Foro | Temas mas Preguntados | WikiEL | DotShare
Linux User #:406092
Arch Linux | WMFS | HP M7340la | Nvidia Geforce 8400 gs

 Perfil  

Desconectado
Forista Nuevo
Forista Nuevo
Avatar de Usuario

Registrado: Mié Ene 27, 2010 3:30 pm
Mensajes: 16

Nota Publicado: Dom Feb 07, 2010 10:50 am 
Arriba  
Un compañero de otro foro sugiere que puede ser por la culpa de "autoconf" ya que ahí se interumbio la configuracion x lo cual no llege a copilar

Aquí sus palabras textuales:
"La compilación no la comenzaste, se te interrumpe durante la configuración. Fíjate que no tienes instalado autoconf."

Y aqí la parte del codigo sobre la cual hablo:

Código:
configure: WARNING:
*** These auxiliary programs are missing or incompatible versions: makeinfo autoconf
*** some features will be disabled.
*** Check the INSTALL file for required versions.


Que creeis sobre ello? Puede ser esto la causa de mi problema? Y si es asi alguien sabe como podria solucionarlo?
Un Saludo!

_________________
La elegancia es la libertad

 Perfil Email  

Desconectado
Moderador
Moderador
Avatar de Usuario

Registrado: Dom Abr 01, 2007 12:00 am
Mensajes: 2841
Ubicación: México, Estado de México

Nota Publicado: Dom Feb 07, 2010 11:19 am 
Arriba  
Has seguido estos pasos?
http://www.linuxfromscratch.org/lfs/vie ... glibc.html

_________________
Reglamento del Foro | Temas mas Preguntados | WikiEL | DotShare
Linux User #:406092
Arch Linux | WMFS | HP M7340la | Nvidia Geforce 8400 gs

 Perfil  

Desconectado
Forista Nuevo
Forista Nuevo
Avatar de Usuario

Registrado: Mié Ene 27, 2010 3:30 pm
Mensajes: 16

Nota Publicado: Dom Feb 07, 2010 11:39 am 
Arriba  
Lo que tu me estas enseniando es la etapa despues de la que estoy aciendo yo es decir ese Glibc ya se instala en el sistema que estoy aciendo y no en uno temporal:

Glibc en sistema temporal (El que estoy aciendo ahora mismo)"Español":
http://www.escomposlinux.org/lfs-es/lfs-es-SVN/chapter05/glibc.html

Glibic en el sistema LFS "Español":
http://www.escomposlinux.org/lfs-es/lfs-es-SVN/chapter06/glibc.html

PD: No le daba mucha importancia pero alomejor tiene algo que ver en la construccion de sistema temporal en el manual me dicen que instale Binutils 2.18 y debido a que tube problemas con este paquete y no se porque no se me queria instalar instale la versión 2.20 que se instalo sin ningun problema.

_________________
La elegancia es la libertad

 Perfil Email  

Desconectado
Forista Ancestral
Forista Ancestral
Avatar de Usuario

Registrado: Mié Abr 11, 2007 11:00 pm
Mensajes: 8259
Ubicación: tras la pantalla (...)

Nota Publicado: Dom Feb 07, 2010 2:06 pm 
Arriba  
Deckon escribió:
Lo que pasa es que ahí el contra-guion (\) no es para un retorno de carro sino para especificar que no es el final del comando(creo yo)


exacto. con eso escapas el retorno de carro, pero por alguna razon no esta funcionando.

@Damian92: pruebalo asi, tal cual:

Código:
../glibc-2.11.1/configure --prefix=/tools  --disable-profile --enable-add-ons  --enable-kernel=2.6.0 --with-binutils=/tools/bin --without-gd --with-headers=/tools/include --without-selinux


asegurate de que no hay ningun retorno de carro o te dara error.

:)

_________________
#446716

--Not me, guys. I read the Bash man page each day like a Jehovah's Witness reads the Bible. No wait, the Bash man page IS the bible. Excuse me...
(from comp.os.linux.misc)
[ DNFD ] - [ F4A ] - [ dotfiles ]

 Perfil Email WWW  

Desconectado
Forista Nuevo
Forista Nuevo
Avatar de Usuario

Registrado: Mié Ene 27, 2010 3:30 pm
Mensajes: 16

Nota Publicado: Dom Feb 07, 2010 7:26 pm 
Arriba  
Lo que parece que faltaba era el autoconf y al installarlo y a configurarlo despues funciono o eso parece:

Código:
root@damian-desktop:/mnt/lfs/sources/glibc-build# ../glibc-2.11.1/configure --prefix=/tools     --disable-profile --enable-add-ons     --enable-kernel=2.6.0 --with-binutils=/tools/bin     --without-gd --with-headers=/tools/include     --without-selinux

checking build system type... i686-pc-linux-gnu

checking host system type... i686-pc-linux-gnu

checking for gcc... gcc

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ISO C89... none needed

checking how to run the C preprocessor... gcc -E

checking for g++... no

checking for c++... no

checking for gpp... no

checking for aCC... no

checking for CC... no

checking for cxx... no

checking for cc++... no

checking for cl.exe... no

checking for FCC... no

checking for KCC... no

checking for RCC... no

checking for xlC_r... no

checking for xlC... no

checking whether we are using the GNU C++ compiler... no

checking whether g++ accepts -g... no

configure: running configure fragment for add-on libidn

configure: running configure fragment for add-on nptl

checking sysdep dirs... sysdeps/i386/elf nptl/sysdeps/unix/sysv/linux/i386/i686 sysdeps/unix/sysv/linux/i386/i686 nptl/sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux/i386 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv/i386 nptl/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/i386 nptl/sysdeps/unix sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu nptl/sysdeps/i386/i686 sysdeps/i386/i686 sysdeps/i386/i486 nptl/sysdeps/i386/i486 sysdeps/i386/fpu nptl/sysdeps/i386 sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic

checking for a BSD-compatible install... /usr/bin/install -c

checking whether ln -s works... yes

checking whether /tools/bin/as is GNU as... yes

checking whether /tools/bin/ld is GNU ld... yes

checking for /tools/bin/as... /tools/bin/as

checking version of /tools/bin/as... 2.20, ok

checking for /tools/bin/ld... /tools/bin/ld

checking version of /tools/bin/ld... 2.20, ok

checking for pwd... /bin/pwd

checking for gcc... gcc -B/tools/bin/

checking version of gcc -B/tools/bin/... 4.4.1, ok

checking for gnumake... no

checking for gmake... no

checking for make... make

checking version of make... 3.81, ok

checking for gnumsgfmt... no

checking for gmsgfmt... no

checking for msgfmt... no

checking for makeinfo... no

checking for sed... sed

checking version of sed... 4.2.1, ok

checking for autoconf... autoconf

checking whether autoconf works... yes

configure: WARNING:

*** These auxiliary programs are missing or incompatible versions: msgfmt makeinfo

*** some features will be disabled.

*** Check the INSTALL file for required versions.

checking whether ranlib is necessary... no

checking LD_LIBRARY_PATH variable... ok

checking whether GCC supports -static-libgcc... -static-libgcc

checking for bash... /bin/bash

checking for gawk... no

checking for mawk... mawk

checking for perl... /usr/bin/perl

checking for install-info... /usr/sbin/install-info

checking for bison... no

checking for signed size_t type... no

checking for libc-friendly stddef.h... yes

checking whether we need to use -P to assemble .S files... no

checking whether .text pseudo-op must be used... yes

checking for assembler global-symbol directive... .globl

checking for .set assembler directive... yes

checking for assembler .type directive prefix... @

checking for assembler gnu_unique_object symbol type... yes

checking for .symver assembler directive... yes

checking for ld --version-script... yes

checking for .previous assembler directive... yes

checking for .protected and .hidden assembler directive... yes

checking whether __attribute__((visibility())) is supported... yes

checking for broken __attribute__((visibility()))... no

checking for broken __attribute__((alias()))... no

checking whether to put _rtld_local into .sdata section... no

checking for .preinit_array/.init_array/.fini_array support... yes

checking for libunwind-support in compiler... no

checking for -z nodelete option... yes

checking for -z nodlopen option... yes

checking for -z initfirst option... yes

checking for -z relro option... yes

checking for -Bgroup option... yes

checking for libgcc_s suffix...

checking for --as-needed option... yes

checking whether --noexecstack is desirable for .S files... yes

checking for -z combreloc... yes

checking for -z execstack... yes

checking for -fpie... yes

checking for --hash-style option... yes

checking for -fno-toplevel-reorder -fno-section-anchors... yes

checking for -fstack-protector... yes

checking for -fgnu89-inline... yes

checking whether cc puts quotes around section names... no

checking for assembler .weak directive... yes

checking whether CFI directives are supported... yes

checking for ld --no-whole-archive... yes

checking for gcc -fexceptions... yes

checking for __builtin_expect... yes

checking for __builtin_memset... yes

checking for redirection of built-in functions... yes

checking for __thread... yes

checking for tls_model attribute... yes

checking for libgd... no

checking for grep that handles long lines and -e... /bin/grep

checking for egrep... /bin/grep -E

checking for ANSI C header files... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking size of long double... 12

running configure fragment for sysdeps/i386/elf

checking for i386 TLS support... yes

running configure fragment for nptl/sysdeps/pthread

checking for forced unwind support... yes

checking for C cleanup handling... yes

running configure fragment for sysdeps/pthread

running configure fragment for sysdeps/unix/sysv/linux

checking for grep that handles long lines and -e... (cached) /bin/grep

checking for egrep... (cached) /bin/grep -E

checking installed Linux kernel header files... 2.0.10 or later

checking for kernel header at least 2.6.0... ok

checking for symlinks in /tools/include... ok

running configure fragment for sysdeps/i386

checking for grep that handles long lines and -e... (cached) /bin/grep

checking for egrep... (cached) /bin/grep -E

checking for ANSI C header files... (cached) yes

checking for sys/types.h... (cached) yes

checking for sys/stat.h... (cached) yes

checking for stdlib.h... (cached) yes

checking for string.h... (cached) yes

checking for memory.h... (cached) yes

checking for strings.h... (cached) yes

checking for inttypes.h... (cached) yes

checking for stdint.h... (cached) yes

checking for unistd.h... (cached) yes

checking cpuid.h usability... yes

checking cpuid.h presence... yes

checking for cpuid.h... yes

checking if -g produces usable source locations for assembler-with-cpp... yes

checking for SSE4 support... yes

checking for old glibc 2.0.x headers... no

checking whether -fPIC is default... no

configure: creating ./config.status

config.status: creating config.make

config.status: creating Makefile

config.status: creating config.h

config.status: executing default commands

root@damian-desktop:/mnt/lfs/sources/glibc-build#




Aun que haora al hacer el make tengo mas errores:


Código:
root@damian-desktop:/mnt/lfs/sources/glibc-build# make

make -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.11.1 objdir=`pwd` all

make[1]: se ingresa al directorio `/mnt/lfs/sources/glibc-2.11.1'

(echo 'sysd-rules-sysdirs := sysdeps/i386/elf nptl/sysdeps/unix/sysv/linux/i386/i686 sysdeps/unix/sysv/linux/i386/i686 nptl/sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux/i386 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv/i386 nptl/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/i386 nptl/sysdeps/unix sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu nptl/sysdeps/i386/i686 sysdeps/i386/i686 sysdeps/i386/i486 nptl/sysdeps/i386/i486 sysdeps/i386/fpu nptl/sysdeps/i386 sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic';            \

    for dir in sysdeps/i386/elf nptl/sysdeps/unix/sysv/linux/i386/i686 sysdeps/unix/sysv/linux/i386/i686 nptl/sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux/i386 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv/i386 nptl/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/i386 nptl/sysdeps/unix sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu nptl/sysdeps/i386/i686 sysdeps/i386/i686 sysdeps/i386/i486 nptl/sysdeps/i386/i486 sysdeps/i386/fpu nptl/sysdeps/i386 sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic; do                  \

      case "$dir" in                        \

      /*) ;;                           \

      *) dir="\$(..)$dir" ;;                     \

      esac;                           \

      asm='.S .s';                           \

                              \

      for o in .o .os .op .og .ob .oS; do                  \

        set % % rtld-% % m_% s_% ptw-% %;               \

        while [ $# -ge 2 ]; do                     \

          t=$1; shift;                         \

          d=$1; shift;                        \

          v=${t%%%}; [ x"$v" = x ] || v="\$(${v}CPPFLAGS)";         \

          for s in $asm .c; do                     \

       echo "\$(objpfx)$t$o: $dir/$d$s \$(before-compile)";  \

       echo "   \$(compile-command$s) $v";               \

          done;                           \

        done;                           \

      done;                           \

      echo "\$(inst_includedir)/%.h: $dir/%.h \$(+force)";         \

      echo "   \$(do-install)";                   \

    done;                              \

    echo 'sysd-rules-done = t') > /mnt/lfs/sources/glibc-build/sysd-rulesT

mv -f /mnt/lfs/sources/glibc-build/sysd-rulesT /mnt/lfs/sources/glibc-build/sysd-rules

for dir in /mnt/lfs/sources/glibc-build sysdeps/i386/elf nptl/sysdeps/unix/sysv/linux/i386/i686 sysdeps/unix/sysv/linux/i386/i686 nptl/sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux/i386 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv/i386 nptl/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/i386 nptl/sysdeps/unix sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu nptl/sysdeps/i386/i686 sysdeps/i386/i686 sysdeps/i386/i486 nptl/sysdeps/i386/i486 sysdeps/i386/fpu nptl/sysdeps/i386 sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic  nptl; do \

     test -f $dir/syscalls.list && \

     { sysdirs='sysdeps/i386/elf nptl/sysdeps/unix/sysv/linux/i386/i686 sysdeps/unix/sysv/linux/i386/i686 nptl/sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux/i386 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv/i386 nptl/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/i386 nptl/sysdeps/unix sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu nptl/sysdeps/i386/i686 sysdeps/i386/i686 sysdeps/i386/i486 nptl/sysdeps/i386/i486 sysdeps/i386/fpu nptl/sysdeps/i386 sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic' \

       asm_CPP='gcc -B/tools/bin/ -c  -Iinclude  -I/mnt/lfs/sources/glibc-build -Isysdeps/i386/elf -Inptl/sysdeps/unix/sysv/linux/i386/i686 -Isysdeps/unix/sysv/linux/i386/i686 -Inptl/sysdeps/unix/sysv/linux/i386 -Isysdeps/unix/sysv/linux/i386 -Inptl/sysdeps/unix/sysv/linux -Inptl/sysdeps/pthread -Isysdeps/pthread -Isysdeps/unix/sysv/linux -Isysdeps/gnu -Isysdeps/unix/common -Isysdeps/unix/mman -Isysdeps/unix/inet -Isysdeps/unix/sysv/i386 -Inptl/sysdeps/unix/sysv -Isysdeps/unix/sysv -Isysdeps/unix/i386 -Inptl/sysdeps/unix -Isysdeps/unix -Isysdeps/posix -Isysdeps/i386/i686/fpu -Inptl/sysdeps/i386/i686 -Isysdeps/i386/i686 -Isysdeps/i386/i486 -Inptl/sysdeps/i386/i486 -Isysdeps/i386/fpu -Inptl/sysdeps/i386 -Isysdeps/i386 -Isysdeps/wordsize-32 -Isysdeps/ieee754/ldbl-96 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754/flt-32 -Isysdeps/ieee754 -Isysdeps/generic/elf -Isysdeps/generic -Inptl   -Ilibio -I. -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.4.1/include -isystem /usr/lib/gcc/i486-linux-gnu/4.4.1/include-fixed -isystem /tools/include -D_LIBC_REENTRANT -include include/libc-symbols.h       -DASSEMBLER  -DGAS_SYNTAX -g -Wa,--noexecstack   -E -x assembler-with-cpp' \

       /bin/sh sysdeps/unix/make-syscalls.sh $dir || exit 1; }; \

     test $dir = sysdeps/unix && break; \

   done > /mnt/lfs/sources/glibc-build/sysd-syscallsT

mv -f /mnt/lfs/sources/glibc-build/sysd-syscallsT /mnt/lfs/sources/glibc-build/sysd-syscalls

mawk -f scripts/gen-sorted.awk \

          -v subdirs='csu assert ctype locale intl catgets math setjmp signal stdlib stdio-common libio malloc string wcsmbs time dirent grp pwd posix io termios resource misc socket sysvipc gmon gnulib iconv iconvdata wctype manual shadow gshadow po argp crypt nss localedata timezone rt conform debug libidn dlfcn elf' \

          -v srcpfx='' \

          nptl/sysdeps/pthread/Subdirs sysdeps/unix/inet/Subdirs sysdeps/unix/Subdirs assert/Depend intl/Depend catgets/Depend stdlib/Depend stdio-common/Depend libio/Depend malloc/Depend string/Depend wcsmbs/Depend time/Depend posix/Depend iconvdata/Depend nss/Depend localedata/Depend rt/Depend debug/Depend > /mnt/lfs/sources/glibc-build/sysd-sorted-tmp

mawk: scripts/gen-sorted.awk: line 19: regular expression compile failed (bad class -- [], [^] or [)

/[^

mawk: scripts/gen-sorted.awk: line 19: syntax error at or near ]

mawk: scripts/gen-sorted.awk: line 19: runaway regular expression /, "", subd ...

make[1]: se sale del directorio `/mnt/lfs/sources/glibc-2.11.1'

make[1]: se ingresa al directorio `/mnt/lfs/sources/glibc-2.11.1'

{ echo '#include "posix/bits/posix1_lim.h"';      \

     echo '#define _LIBC 1';               \

     echo '#include "misc/sys/uio.h"'; } |         \

   gcc -B/tools/bin/ -E -dM -MD -MP -MF /mnt/lfs/sources/glibc-build/bits/stdio_lim.dT -MT '/mnt/lfs/sources/glibc-build/bits/stdio_lim.h /mnt/lfs/sources/glibc-build/bits/stdio_lim.d'    \

         -Iinclude  -I/mnt/lfs/sources/glibc-build -Isysdeps/i386/elf -Inptl/sysdeps/unix/sysv/linux/i386/i686 -Isysdeps/unix/sysv/linux/i386/i686 -Inptl/sysdeps/unix/sysv/linux/i386 -Isysdeps/unix/sysv/linux/i386 -Inptl/sysdeps/unix/sysv/linux -Inptl/sysdeps/pthread -Isysdeps/pthread -Isysdeps/unix/sysv/linux -Isysdeps/gnu -Isysdeps/unix/common -Isysdeps/unix/mman -Isysdeps/unix/inet -Isysdeps/unix/sysv/i386 -Inptl/sysdeps/unix/sysv -Isysdeps/unix/sysv -Isysdeps/unix/i386 -Inptl/sysdeps/unix -Isysdeps/unix -Isysdeps/posix -Isysdeps/i386/i686/fpu -Inptl/sysdeps/i386/i686 -Isysdeps/i386/i686 -Isysdeps/i386/i486 -Inptl/sysdeps/i386/i486 -Isysdeps/i386/fpu -Inptl/sysdeps/i386 -Isysdeps/i386 -Isysdeps/wordsize-32 -Isysdeps/ieee754/ldbl-96 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754/flt-32 -Isysdeps/ieee754 -Isysdeps/generic/elf -Isysdeps/generic -Inptl   -Ilibio -I. -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.4.1/include -isystem /usr/lib/gcc/i486-linux-gnu/4.4.1/include-fixed -isystem /tools/include -xc - -o /mnt/lfs/sources/glibc-build/bits/stdio_lim.hT

sed -e 's@ /mnt/lfs/sources/glibc-build/@ $(common-objpfx)@g' -e 's@^/mnt/lfs/sources/glibc-build/@$(common-objpfx)@g' -e 's@  *\([^    \/$][^    \]*\)@ $(..)\1@g' -e 's@^\([^    \/$][^    \]*\)@$(..)\1@g'         \

       /mnt/lfs/sources/glibc-build/bits/stdio_lim.dT > /mnt/lfs/sources/glibc-build/bits/stdio_lim.dt

mv -f /mnt/lfs/sources/glibc-build/bits/stdio_lim.dt /mnt/lfs/sources/glibc-build/bits/stdio_lim.d

fopen_max=`sed -n 's/^#define OPEN_MAX //1p' /mnt/lfs/sources/glibc-build/bits/stdio_lim.hT`;    \

   filename_max=`sed -n 's/^#define PATH_MAX //1p' /mnt/lfs/sources/glibc-build/bits/stdio_lim.hT`;   \

   iov_max=`sed -n 's/^#define UIO_MAXIOV //p' /mnt/lfs/sources/glibc-build/bits/stdio_lim.hT`;   \

   fopen_max=${fopen_max:-16};               \

   filename_max=${filename_max:-1024};            \

   if [ -z "$iov_max" ]; then               \

     define_iov_max="# undef IOV_MAX";            \

   else                        \

     define_iov_max="# define IOV_MAX $iov_max";         \

   fi;                        \

   sed -e "s/@FOPEN_MAX@/$fopen_max/"            \

       -e "s/@FILENAME_MAX@/$filename_max/"         \

       -e "s/@L_tmpnam@/20/"            \

       -e "s/@TMP_MAX@/238328/"            \

       -e "s/@L_ctermid@/9/"            \

       -e "s/@L_cuserid@/9/"            \

       -e "s/@define_IOV_MAX@/$define_iov_max/"         \

       stdio-common/stdio_lim.h.in > /mnt/lfs/sources/glibc-build/bits/stdio_lim.h.new

/bin/sh scripts/move-if-change /mnt/lfs/sources/glibc-build/bits/stdio_lim.h.new /mnt/lfs/sources/glibc-build/bits/stdio_lim.h

rm -f /mnt/lfs/sources/glibc-build/bits/stdio_lim.hT /mnt/lfs/sources/glibc-build/bits/stdio_lim.dT /mnt/lfs/sources/glibc-build/bits/stdio_lim.dt

touch /mnt/lfs/sources/glibc-build/bits/stdio_lim.st

mawk -f scripts/gen-sorted.awk \

          -v subdirs='csu assert ctype locale intl catgets math setjmp signal stdlib stdio-common libio malloc string wcsmbs time dirent grp pwd posix io termios resource misc socket sysvipc gmon gnulib iconv iconvdata wctype manual shadow gshadow po argp crypt nss localedata timezone rt conform debug libidn dlfcn elf' \

          -v srcpfx='' \

          nptl/sysdeps/pthread/Subdirs sysdeps/unix/inet/Subdirs sysdeps/unix/Subdirs assert/Depend intl/Depend catgets/Depend stdlib/Depend stdio-common/Depend libio/Depend malloc/Depend string/Depend wcsmbs/Depend time/Depend posix/Depend iconvdata/Depend nss/Depend localedata/Depend rt/Depend debug/Depend > /mnt/lfs/sources/glibc-build/sysd-sorted-tmp

mawk: scripts/gen-sorted.awk: line 19: regular expression compile failed (bad class -- [], [^] or [)

/[^

mawk: scripts/gen-sorted.awk: line 19: syntax error at or near ]

mawk: scripts/gen-sorted.awk: line 19: runaway regular expression /, "", subd ...

make[1]: se sale del directorio `/mnt/lfs/sources/glibc-2.11.1'

make[1]: se ingresa al directorio `/mnt/lfs/sources/glibc-2.11.1'

mawk -f scripts/gen-sorted.awk \

          -v subdirs='csu assert ctype locale intl catgets math setjmp signal stdlib stdio-common libio malloc string wcsmbs time dirent grp pwd posix io termios resource misc socket sysvipc gmon gnulib iconv iconvdata wctype manual shadow gshadow po argp crypt nss localedata timezone rt conform debug libidn dlfcn elf' \

          -v srcpfx='' \

          nptl/sysdeps/pthread/Subdirs sysdeps/unix/inet/Subdirs sysdeps/unix/Subdirs assert/Depend intl/Depend catgets/Depend stdlib/Depend stdio-common/Depend libio/Depend malloc/Depend string/Depend wcsmbs/Depend time/Depend posix/Depend iconvdata/Depend nss/Depend localedata/Depend rt/Depend debug/Depend > /mnt/lfs/sources/glibc-build/sysd-sorted-tmp

mawk: scripts/gen-sorted.awk: line 19: regular expression compile failed (bad class -- [], [^] or [)

/[^

mawk: scripts/gen-sorted.awk: line 19: syntax error at or near ]

mawk: scripts/gen-sorted.awk: line 19: runaway regular expression /, "", subd ...

rm -f /mnt/lfs/sources/glibc-build/stamp.o; > /mnt/lfs/sources/glibc-build/stamp.o

rm -f /mnt/lfs/sources/glibc-build/stamp.os; > /mnt/lfs/sources/glibc-build/stamp.os

rm -f /mnt/lfs/sources/glibc-build/stamp.oS; > /mnt/lfs/sources/glibc-build/stamp.oS

cd /mnt/lfs/sources/glibc-build && /tools/bin/ar cruv libc.a `cat stamp.o`

: /mnt/lfs/sources/glibc-build/libc.a

cd /mnt/lfs/sources/glibc-build && /tools/bin/ar cruv libc_pic.a `cat stamp.os`

: /mnt/lfs/sources/glibc-build/libc_pic.a

cd /mnt/lfs/sources/glibc-build && /tools/bin/ar cruv libc_nonshared.a `cat stamp.oS`

: /mnt/lfs/sources/glibc-build/libc_nonshared.a

make[1]: *** No hay ninguna regla para construir el objetivo `/mnt/lfs/sources/glibc-build/Versions.all', necesario para `/mnt/lfs/sources/glibc-build/abi-versions.h'.  Alto.

make[1]: se sale del directorio `/mnt/lfs/sources/glibc-2.11.1'

make: *** [all] Error 2

root@damian-desktop:/mnt/lfs/sources/glibc-build#


Lo que me pregunto es porque me sale un error de este estilo ya que haora me recuerdo que antes al copilar Binutils me salia el mismo error y lo que ice para solucionarlo era cambiar e intentar instalar una version mas reciente de este , lo malo es que haora estamos instalando la version mas reciente de Glibc y no puedo intentar lo mismo de antes XD

Si sabeis como puedo resolver este errar!
Lo que parece es que se a configurado mal o no se que creeis?
Un Saludo!!

Editado -- Dom Feb 07, 2010 7:23 pm --

niky45 escribió:
Deckon escribió:
Lo que pasa es que ahí el contra-guion (\) no es para un retorno de carro sino para especificar que no es el final del comando(creo yo)


exacto. con eso escapas el retorno de carro, pero por alguna razon no esta funcionando.

@Damian92: pruebalo asi, tal cual:

Código:
../glibc-2.11.1/configure --prefix=/tools  --disable-profile --enable-add-ons  --enable-kernel=2.6.0 --with-binutils=/tools/bin --without-gd --with-headers=/tools/include --without-selinux


asegurate de que no hay ningun retorno de carro o te dara error.

:)


Lo e puesto de esta forma tanbien pero el resultado fue el mismo.
Gracias Un Saludo!!

_________________
La elegancia es la libertad

 Perfil Email  
Mostrar mensajes previos:  Ordenar por  
 [ 14 mensajes ] 
Nuevo tema Responder al tema

Saltar a:  


¿Quién está conectado?

Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 1 invitado

No puede abrir nuevos temas en este Foro
No puede responder a temas en este Foro
No puede editar sus mensajes en este Foro
No puede borrar sus mensajes en este Foro
No puede enviar adjuntos en este Foro

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group :: Style based on FI Subice by phpBBservice.nl :: Todos los horarios son UTC - 6 horas
Traducción al español por Huan Manwë
phpBB SEO