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

No funciona la compilación

Estas en el tema de No funciona la compilación en el foro de Unix / Linux en Foros del Web. Estoy tratando de instalar un programa que descomprimí. Le doy ./configure y todo bien. Luego escribo make y me dice esto: Cita: make: *** No ...
  #1 (permalink)  
Antiguo 28/03/2006, 04:55
Avatar de metacortex
Viejo demente
 
Fecha de Ingreso: junio-2004
Ubicación: Caracas - Venezuela
Mensajes: 9.027
Antigüedad: 19 años, 11 meses
Puntos: 832
No funciona la compilación

Estoy tratando de instalar un programa que descomprimí. Le doy ./configure y todo bien. Luego escribo make y me dice esto:

Cita:
make: *** No se especificó ningún objetivo y no se encontró ningún makefile. Alto.
Aquí dejo una captura de los archivos:



Y el link del programa que quiero bajar, es un visualizador de fuentes: Gnome Font Sampler

Las instrucciones de instalación son muy claras, no sé lo que ocurre:

Cita:
The simplest way to compile this package is:

1. `cd' to the directory containing the package's source code and type `./configure' to configure the package for your system. If you're using `csh' on an old version of System V, you might need to type `sh ./configure' instead to prevent `csh' from trying to execute `configure' itself.

Running `configure' takes awhile. While running, it prints some messages telling which features it is checking for.

2. Type `make' to compile the package.

3. Optionally, type `make check' to run any self-tests that come with the package.

4. Type `make install' to install the programs and any data files and documentation.

5. You can remove the program binaries and object files from the source code directory by typing `make clean'. To also remove the files that `configure' created (so you can compile the package for a different kind of computer), type `make distclean'. There is also a `make maintainer-clean' target, but that is intended mainly for the package's developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution.
  #2 (permalink)  
Antiguo 28/03/2006, 06:34
Avatar de Koveart
Colaborador
 
Fecha de Ingreso: julio-2002
Ubicación: Colombia
Mensajes: 4.407
Antigüedad: 21 años, 9 meses
Puntos: 29
De seguro tuviste algun error al lanzar el comando configure. ¿No esta en los repositorios? ¿Tienes instalado el programa libgnomeui?

Saludos

P.D. Cuando postees el contenido de una carpeta, recuerda que estamos en linux, te vas a un terminal y le das "ls", y asi te aparecen todos los archivos del codigo fuente. ASi se ve mas facil todo...
__________________
“Los soñadores no existen, se lo dice un soñador que ha tenido el privilegio de ver realidades que ni siquiera fue capaz de soñar”

Última edición por Koveart; 28/03/2006 a las 06:42
  #3 (permalink)  
Antiguo 28/03/2006, 06:43
Avatar de Koveart
Colaborador
 
Fecha de Ingreso: julio-2002
Ubicación: Colombia
Mensajes: 4.407
Antigüedad: 21 años, 9 meses
Puntos: 29
Otra opcion que seme ocurre es qu te bajes los paquetes rpm para Fedora y los conviertas a deb con el comando alien, a lo mejor asi las cosas funcionan mejor.

Saludos
__________________
“Los soñadores no existen, se lo dice un soñador que ha tenido el privilegio de ver realidades que ni siquiera fue capaz de soñar”
  #4 (permalink)  
Antiguo 28/03/2006, 06:54
Avatar de metacortex
Viejo demente
 
Fecha de Ingreso: junio-2004
Ubicación: Caracas - Venezuela
Mensajes: 9.027
Antigüedad: 19 años, 11 meses
Puntos: 832
Esto es lo que me arroja el ./configure

Código:
metacortex@meta:~$ cd /home/metacortex/gnome-font-sampler
metacortex@meta:~/gnome-font-sampler$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
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 gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for strerror in -lcposix... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for pkg-config... /usr/bin/pkg-config
checking for libgnomeui-2.0 gtk+-2.0 libglade-2.0... metacortex@meta:~/gnome-font-sampler$
También tengo el libgnomeui-0 instalado

Cita:
Iniciado por Koveart
P.D. Cuando postees el contenido de una carpeta, recuerda que estamos en linux, te vas a un terminal y le das "ls", y asi te aparecen todos los archivos del codigo fuente. ASi se ve mas facil todo...
Sí, tengo presente que estamos en Linux, sólo que algunos aún no contamos con los conocimientos suficientes y hacemos todo lo que podemos para explicarnos. De todas formas gracias por ese dato.

También busqué por acá.

Saludos.
  #5 (permalink)  
Antiguo 28/03/2006, 06:56
Avatar de Koveart
Colaborador
 
Fecha de Ingreso: julio-2002
Ubicación: Colombia
Mensajes: 4.407
Antigüedad: 21 años, 9 meses
Puntos: 29
Claro que te entiendo. ¿Porque no pruebas lo de alien meta? A lo mejor asi te ahorras la siemrpe compleja compilacion.

Saludos
__________________
“Los soñadores no existen, se lo dice un soñador que ha tenido el privilegio de ver realidades que ni siquiera fue capaz de soñar”
  #6 (permalink)  
Antiguo 28/03/2006, 07:06
Avatar de metacortex
Viejo demente
 
Fecha de Ingreso: junio-2004
Ubicación: Caracas - Venezuela
Mensajes: 9.027
Antigüedad: 19 años, 11 meses
Puntos: 832
Gracias Koveart, averiguaré sobre lo que me dices y lo probaré. Pero aún no logro comprender el problema de que Ubuntu haga un configure, make, make install a un programa hecho para éste y además para gnome.

Me sorprendió no encontrar en Google una respuesta válida para este asunto (Busqué sólo en español). Todos respondían que instalaran el build-essentials y el gcc, los cuales ya tengo instalados.

También averigüé sobre el programa en cuestión y el comentario general es que funciona perfecto. Bueno, seguiré sobre el caso. Gracias Kov.

Saludos.
  #7 (permalink)  
Antiguo 28/03/2006, 07:08
Avatar de Koveart
Colaborador
 
Fecha de Ingreso: julio-2002
Ubicación: Colombia
Mensajes: 4.407
Antigüedad: 21 años, 9 meses
Puntos: 29
Pues acabo de instlar ese programa de los repositorios y eso que yo tengo mandriva, asi que de seguro en ubuntu, en los repositorios, debe estar ese programa porque ami consideracion ubuntu te da mas paquetes que mandriva.

Saludos
__________________
“Los soñadores no existen, se lo dice un soñador que ha tenido el privilegio de ver realidades que ni siquiera fue capaz de soñar”
  #8 (permalink)  
Antiguo 28/03/2006, 07:11
Avatar de Koveart
Colaborador
 
Fecha de Ingreso: julio-2002
Ubicación: Colombia
Mensajes: 4.407
Antigüedad: 21 años, 9 meses
Puntos: 29
Ademas yo generalmente sueloo instalar desde el codigo fuentesolamente cuando tengo requierimientos de compilacion muy especificos, si no es la ultima opcion porque hay binarios de todos los paquetes creados, muy raros son los que no tienen binarios.

Saludos
__________________
“Los soñadores no existen, se lo dice un soñador que ha tenido el privilegio de ver realidades que ni siquiera fue capaz de soñar”
  #9 (permalink)  
Antiguo 28/03/2006, 07:49
Avatar de metacortex
Viejo demente
 
Fecha de Ingreso: junio-2004
Ubicación: Caracas - Venezuela
Mensajes: 9.027
Antigüedad: 19 años, 11 meses
Puntos: 832
No hermano, no está el binario lamentablemente.
  #10 (permalink)  
Antiguo 28/03/2006, 13:23
Avatar de arthpix  
Fecha de Ingreso: diciembre-2003
Ubicación: Cancún
Mensajes: 2.340
Antigüedad: 20 años, 4 meses
Puntos: 93
Casualmente ese paquete solo está como rpm en la web. Prueba lo que te dice Koveart acerca de convertirlo con alien.

Saludos
__________________
Antes de hacer rabietas infórmate: Linux != Windows
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 04:13.