Foros del Web » Administración de Sistemas » Unix / Linux »

Error haciendo el ./config --with...

Estas en el tema de Error haciendo el ./config --with... en el foro de Unix / Linux en Foros del Web. Trato de configurar mi modem pero me marca el siguiente error: ./configure –with-hal=pct789 cheking for a BSD-compatible install... /usr/bin/install -c cheking wheter build enviroment is ...
  #1 (permalink)  
Antiguo 22/07/2003, 19:03
Avatar de tepas  
Fecha de Ingreso: julio-2002
Ubicación: vivo en una provincia muy pequeña de México
Mensajes: 196
Antigüedad: 21 años, 10 meses
Puntos: 0
Error haciendo el ./config --with...

Trato de configurar mi modem pero me marca el siguiente error:
./configure –with-hal=pct789
cheking for a BSD-compatible install... /usr/bin/install -c
cheking wheter build enviroment is sane... yes
cheking for gawk... gawk
cheking wheter make sets $(MAKE)... no
cheking build driver for... HAL_PCT789
cheking for gcc... no
cheking for cc... no
cheking for cc...no
cheking for cl... no
configure: error: no aceptable C compiler found in $PATH

pues bien ese es el error, será que tenga que agregar la ruta del kernel al path, pero he leído en alguna parte que la ruta generalmente es /usr/src/linux pero en mi máquina no viene esa. Vienen unas carpetas para RPM.

Tengo Mandrake 9.1

Saludos y gracias de tepas
__________________
Si algo puede salir mal, saldrá mal. Si una cosa no puede salir mal, acabará saliendo mal de todas formas. Si todo parece que sale bien, es evidente que se te ha pasado algo. Cualquier situación, por mala que sea, es susceptible de empeorar. Si conservas la calma cuando todos pierden la cabeza es que no te enteras de nada. .::Murphy era un optimista::.
  #2 (permalink)  
Antiguo 22/07/2003, 19:39
 
Fecha de Ingreso: septiembre-2001
Mensajes: 552
Antigüedad: 22 años, 8 meses
Puntos: 0
Que tal:

El mensaje de error es muy claro, no encuentra un compilador de C en tu path. Revisa que esté instalado y en caso contrario ;) creo que ya sabes lo que tienes que hacer.

Saludos,
  #3 (permalink)  
Antiguo 24/07/2003, 18:04
Avatar de tepas  
Fecha de Ingreso: julio-2002
Ubicación: vivo en una provincia muy pequeña de México
Mensajes: 196
Antigüedad: 21 años, 10 meses
Puntos: 0
Estoy configurando mi modem y me dice lo siguiente:

[root@localhost pctel-0.9.6]# ./configure --with-kernel-includes=/usr/include/linux/ ./configure --with-hal=pct789
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/tepas/Documents/Problemas: /home/tepas/Documents/Problemas: No such file or directory
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking build driver for... HAL_PCT789
checking for ./configure-gcc... no
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 style of include used by make... GNU
checking dependency style of gcc... none
checking whether make sets ${MAKE}... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for gawk... (cached) gawk
checking how to run the C preprocessor... gcc -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 /usr/include/linux//linux/modversions.h usability... no
checking /usr/include/linux//linux/modversions.h presence... no
checking for /usr/include/linux//linux/modversions.h... no
configure: error: modversions.h is missing - you should configure your kernel first!

Le doy esto según las instrucciones:

[root@localhost linux]# mkdir -p /usr/include/linux/
[root@localhost linux]# touch /usr/include/linux/modversions.h

Y me sigue saliendo el mismo error de arriba.
Uso mandrake 9.1
__________________
Si algo puede salir mal, saldrá mal. Si una cosa no puede salir mal, acabará saliendo mal de todas formas. Si todo parece que sale bien, es evidente que se te ha pasado algo. Cualquier situación, por mala que sea, es susceptible de empeorar. Si conservas la calma cuando todos pierden la cabeza es que no te enteras de nada. .::Murphy era un optimista::.
  #4 (permalink)  
Antiguo 24/07/2003, 18:46
 
Fecha de Ingreso: julio-2003
Mensajes: 2
Antigüedad: 20 años, 9 meses
Puntos: 0
Cita:
Mensaje Original por tepas
Estoy configurando mi modem y me dice lo siguiente:

[root@localhost pctel-0.9.6]# ./configure --with-kernel-includes=/usr/include/linux/ ./configure --with-hal=pct789
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/tepas/Documents/Problemas: /home/tepas/Documents/Problemas: No such file or directory
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking build driver for... HAL_PCT789
checking for ./configure-gcc... no
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 style of include used by make... GNU
checking dependency style of gcc... none
checking whether make sets ${MAKE}... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for gawk... (cached) gawk
checking how to run the C preprocessor... gcc -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 /usr/include/linux//linux/modversions.h usability... no
checking /usr/include/linux//linux/modversions.h presence... no
checking for /usr/include/linux//linux/modversions.h... no
configure: error: modversions.h is missing - you should configure your kernel first!

Le doy esto según las instrucciones:

[root@localhost linux]# mkdir -p /usr/include/linux/
[root@localhost linux]# touch /usr/include/linux/modversions.h

Y me sigue saliendo el mismo error de arriba.
Uso mandrake 9.1
Bueno , existe muchas posibilidades de error. Voy a asumir que tienes el source del kernel en el directorio correcto, y estas y usando el driver en su version 0.9.6.
si instalaste el source ve a la dir /usr/src/ y has un "ls"
deberia haber un directorio llamado linux , si no lo hay lo que debes hacer es especificar el nombre del directorio ya que el driver piensa que el dir del codigo fuente del kernel tiene ese nombre. Esto lo haces usando la siguiente especificacion (en 0.9.6 , no se si funca en una version inferior).

-with-kernel-includes=/direcccion/de/el/surce/del/kernel

ejemplo:

-with-kernel-includes=/usr/src/linux-2.4.20-8

ese es mi caso :)

ahora revisamos el directorio del kernel source (/usr/src)
en busca de un archivo llamado "modverions.h" , si no existe por ningun sub directorio de la sir del kernel , entonces desde la misma dir del kernel hacemos un "make dep" . Si tp se crea el maldito archivo tonces puedes hacer un recurso algo poco pensable.. pero que a veces funciona =) un "touch /donde/queremos/crear/elcochino/modversions.h"

Ojala te sea de ayuda.
Saludos
Nota: Por favor cualquier error que haya en este documento, les agradeceria que fuese especificado , como respuesta del mismo , gracias.
  #5 (permalink)  
Antiguo 24/07/2003, 18:53
 
Fecha de Ingreso: julio-2003
Mensajes: 2
Antigüedad: 20 años, 9 meses
Puntos: 0
Bueno me salieron piedras en el camino:

-tengo el source del kernel donde debe estar
-al hacer el ./configure funca todo bien
pero:

al hacer el "make" tengo diversos errores, es como si al compilador le hablaran en chino. creo que se debe a esto:

http://gcc.gnu.org/gcc-2.96.html

esta en ingles y no le hago mucho, si alguien maneja el tema porfavor deje su huella =)
  #6 (permalink)  
Antiguo 24/07/2003, 23:19
Avatar de tepas  
Fecha de Ingreso: julio-2002
Ubicación: vivo en una provincia muy pequeña de México
Mensajes: 196
Antigüedad: 21 años, 10 meses
Puntos: 0
Cita:
ahora revisamos el directorio del kernel source (/usr/src)
en busca de un archivo llamado "modverions.h" , si no existe por ningun sub directorio de la sir del kernel , entonces desde la misma dir del kernel hacemos un "make dep" . Si tp se crea el maldito archivo tonces puedes hacer un recurso algo poco pensable.. pero que a veces funciona =) un "touch /donde/queremos/crear/elcochino/modversions.h"

El problema es que si está el modversions.h en la ruta que le doy al driver
Ejemplo:

# ./configure --with-kernel-includes=/usr/include/linux-X.X.XX-X.X ./configure --with-hal=pct789

y me sigue dando el mismo error. de arriba.

he hecho lo siguiente a ver si así se acomoda:

[root@localhost pctel-0.9.6]# ./configure --with-kernel-includes=/usr/include/linux-2.4.21-0.13/include ./configure --with-hal=pct789 touch /usr/include/linux/modversions.h
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: ./configure
configure: WARNING: you should use --build, --host, --target
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: /usr/include/linux/modversions.h
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/tepas/Documents/Problemas: /home/tepas/Documents/Problemas: No such file or directory
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking build driver for... HAL_PCT789
checking for ./configure-gcc... no
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 style of include used by make... GNU
checking dependency style of gcc... none
checking whether make sets ${MAKE}... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for gawk... (cached) gawk
checking how to run the C preprocessor... gcc -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 /usr/include/linux-2.4.21-0.13/include/linux/modversions.h usability... no
checking /usr/include/linux-2.4.21-0.13/include/linux/modversions.h presence... no
checking for /usr/include/linux-2.4.21-0.13/include/linux/modversions.h... no
configure: error: modversions.h is missing - you should configure your kernel first!

Pero tampoco
Ya lo he intentado de todas maneras, le doy el "make dep" y p"#$ no quiere hacer nada con ese comando, le doy el touch con la ruta, y tampoco, me metí al directorio donde está el modversions.h y lo acepta, pero cuando hago otra vez el ./configure... me pone el mismo error que no existe el modversions.h

Por favor apiádense de mi alma, por lo que más quieran ayudenme que se me está cayendo el pelo con tanto stress
__________________
Si algo puede salir mal, saldrá mal. Si una cosa no puede salir mal, acabará saliendo mal de todas formas. Si todo parece que sale bien, es evidente que se te ha pasado algo. Cualquier situación, por mala que sea, es susceptible de empeorar. Si conservas la calma cuando todos pierden la cabeza es que no te enteras de nada. .::Murphy era un optimista::.
  #7 (permalink)  
Antiguo 25/07/2003, 14:05
Avatar de tepas  
Fecha de Ingreso: julio-2002
Ubicación: vivo en una provincia muy pequeña de México
Mensajes: 196
Antigüedad: 21 años, 10 meses
Puntos: 0
Decepcionado, encabronado y todo mal me fué con Linux

Ya lo arreglé y fué de la siguiente manera:


Dejé de estarme quebrando la cabeza con el pinche winmodem, y no me conectaré con linux :-p

Algo que me desilusiona, y esto le ha pasado a muchos principiantes como yo que despues de varios días de tratar de configurar el modem, el sonido y todos los problemas que se vienen juntos con linux cuando lo instalas con maquinas que no tienen los componentes HardWare 100% compatibles con este SO, he decidido ya no desvelarme más ni estarme enojando porque no se puede arreglar, hay muchisimos foros y información en internet para "arreglar" estos problemas pero no sé que chingado es lo que pasa con mi máquina que nada sirve

Ya en alguna ocasión cuando tenga oportunidad de comprar una máquina con todo el hardware soportado por linux intentaré conectarme de nuevo y escuchar música.

Sauludos
__________________
Si algo puede salir mal, saldrá mal. Si una cosa no puede salir mal, acabará saliendo mal de todas formas. Si todo parece que sale bien, es evidente que se te ha pasado algo. Cualquier situación, por mala que sea, es susceptible de empeorar. Si conservas la calma cuando todos pierden la cabeza es que no te enteras de nada. .::Murphy era un optimista::.

Última edición por tepas; 25/07/2003 a las 14:14
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 07:04.