Error al Instalar un programa

Imagen de Trotel
0 puntos

Hola a todos

Al intentar instalar un programa me pide 3 pasos para instalar

./configure
make
make install

en el primer paso todo ok, no me sale mensajes de error en la terminal, pero al ejecutar este primer comando me tiene que crear algunos files, segun el manual, de los cuales no se crean 2 files, config.catche ni PCPmer, no se porque no los crea, y luego tipeo el segundo paso, make, y me sale varios errores

make all-am
make[1]: se ingresa al directorio `/home/daniel/Escritorio/pcpmer-3.5.6'
gcc -DHAVE_CONFIG_H -I. -O2 -Wall `pkg-config --cflags glib` -MT conf.o -MD -MP -MF .deps/conf.Tpo -c -o conf.o conf.c
sh: glib-config: not found
sh: glib-config: not found
sh: glib-config: not found
In file included from conf.c:1:
conf.h:6:18: error: glib.h: No existe el fichero ó directorio
In file included from conf.c:1:
conf.h:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
conf.h:11: error: expected ‘)’ before ‘*’ token
conf.h:12: error: expected ‘)’ before ‘*’ token
conf.h:14: error: expected ‘)’ before ‘*’ token
conf.h:15: error: expected ‘)’ before ‘*’ token
conf.h:17: error: expected ‘)’ before ‘*’ token
conf.h:18: error: expected ‘)’ before ‘*’ token
conf.h:19: error: expected ‘)’ before ‘*’ token
conf.h:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
conf.h:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
conf.h:24: error: expected ‘)’ before ‘*’ token
conf.h:25: error: expected ‘)’ before ‘*’ token
conf.h:26: error: expected ‘)’ before ‘*’ token
conf.c:41: error: expected ‘)’ before ‘*’ token
conf.c:90: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
conf.c:184: error: expected ‘)’ before ‘*’ token
conf.c:192: error: expected ‘)’ before ‘*’ token
conf.c:206: error: expected ‘)’ before ‘*’ token
conf.c:219: error: expected ‘)’ before ‘*’ token
conf.c:232: error: expected ‘)’ before ‘*’ token
conf.c:246: error: expected ‘)’ before ‘*’ token
conf.c:258: error: expected ‘)’ before ‘*’ token
conf.c:271: error: expected ‘)’ before ‘*’ token
conf.c:285: error: expected ‘)’ before ‘*’ token
conf.c:312: error: expected ‘)’ before ‘*’ token
conf.c:319: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
conf.c:330: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
make[1]: *** [conf.o] Error 1
make[1]: se sale del directorio `/home/daniel/Escritorio/pcpmer-3.5.6'
make: *** [all] Error 2

EL programa que es PCPmer un programa para analisis de proteinas.
He buscado en internet y no he encontrado solucion

Porfas una ayuda con esto.

Gracias

Imagen de oneko
+1
0
-1

La solución es instalar todos los paquetes .h que falten. Por ejemplo te dice:

conf.h:6:18: error: glib.h: No existe el fichero ó directorio

Lo que significa que tienes que instalar «libglib2.0-dev». Tiens que continuar instalando todos los paquetes -dev que falten hasta que no salgan errores.

+1
0
-1
Imagen de Trotel
+1
0
-1

Puse
sudo apt-get libglib2.0-dev
puse mi password pero me salio: Operacion invalida: libglib2.0-dev
como instalo eso??? y que otros paquetes dev debo instalar, (disculpen soy novato en esto), estube buscando y encontre este "zlib1g-dev", pero me sale lo mismo, operacion invalida.
Que puedo hacer

+1
0
-1
Imagen de darkmega
+1
0
-1

Tienes que poner exactamente
sudo apt-get install libglib2.0-dev zlib1g-dev
y checa si funciono.

Ubuntu gobernara y Win sera su sirviente
Viva Linux, Viva Ubuntu

+1
0
-1

Ubuntu gobernara y Win sera su sirviente
Viva Linux, Viva Ubuntu

Imagen de Trotel
+1
0
-1

Bueno ya instale el libglib2.0-dev y el zlib1g-dev, pero cuando tipeo make me sigue saliendo lo mismo, que puedo hacer q mas me falta instalar xfas

+1
0
-1
Imagen de darkmega
+1
0
-1

Vuelve a ejecutar
./configure
Y luego
make
Si no funciona checa la pagina del paquete y busca informacion de la fuente y sus dependencias

Ubuntu gobernara y Win sera su sirviente
Viva Linux, Viva Ubuntu

+1
0
-1

Ubuntu gobernara y Win sera su sirviente
Viva Linux, Viva Ubuntu

Imagen de razaAztk
+1
0
-1

Ahorita que busque por glib en synaptic me apareció entre los resultados el paquete 'libglibmm-2.4-dev'

libglibmm-2.4-devlibglibmm
Envoltorio C++ par el conjunto de herramientas GLib (archivos de desarrollo)

Así que yo creo ese es uno de los paquetes que necesitas instalar.

Saludos!


void hey(int x,int y)
{
if (x && y)
 printf("http://libertadpunk.blogspot.com/");
else
 printf("http://banderaazteca.hi5.com/");
}
+1
0
-1

void hey(int x,int y)
{
if (x && y)
 printf("http://libertadhack.blogspot.com/");
else
 printf("http://libertadpunk.blogspot.com/");
}
Imagen de darkmega
+1
0
-1

Si cuando ejecutas ./configure, funciona bien y no te muestra error y al ejecutar make da error significa que el script ./configure esta mal construido
Muestra exactamente, por no decir todo, lo que te aparece al ejecutar ./configure.


Ubuntu gobernara y Win sera su sirviente
Viva Linux, Viva Ubuntu

+1
0
-1

Ubuntu gobernara y Win sera su sirviente
Viva Linux, Viva Ubuntu

Imagen de Trotel
+1
0
-1

Cuando ejecuto ./configure sale

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... 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 ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for bash... /bin/bash
checking for perl... /usr/bin/perl
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

al ejecutar este comando me tiene que crear algunos files, segun el manual, como
Makefile
h files
config.status
config.cache
config.log
config.in
config.catche
PCPmer
estos 2 ultimos no se porque no los crea
-----------dejo parte del manual-----------------
INSTALL:
Basically, to build and install PCPMer from sources, you enter three
commands:
$ ./configure
$ make
$ make install
The `configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a `Makefile' in each directory of the PCPMer package. It also creates some `.h' files containing system-dependent definitions. Finally, it creates a shell script `config.status' that you can run in the future to recreate the current configuration, a file `config.cache' that saves the results of its tests to speed up reconfiguring, and a file `config.log' containing compiler output (useful mainly for debugging `configure'). If you need to do unusual things to compile the PCPMer package, please try to figure out how `configure' could check whether to do them, and mail us diffs or instructions to so they can be considered for the next release. If at some point `config.cache' contains results you don't want to keep, you may remove or edit it. The file `configure.in' is used to create `configure' by a program called `autoconf'. You only need `configure.in' if you want to change
it or regenerate `configure' using a newer version of `autoconf'.
1. `cd' to the directory containing the PCPMER package source code
type
$ ./configure
to configure PCPMER 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.
If you're building PCPMER on Windows using CYGWIN, type
$ bash ./configure
instead.
Running `configure' takes awhile. While running, it prints some
messages telling which features it is checking for.
If `configure' reports an error or some bad result, check the
files `config.log' for diagnostics.
2. Check the `Makefile', `PCPMer', and `config.h' files generated by
`configure'. Most settings should be guessed correctly by the
`configure' program. You may, however, wish to edit the
settings, or re-run `configure' with special options.
3. Now type
$ make

+1
0
-1
Imagen de darkmega
+1
0
-1

Ahora muestra lo que te da make


Ubuntu gobernara y Win sera su sirviente
Viva Linux, Viva Ubuntu

+1
0
-1

Ubuntu gobernara y Win sera su sirviente
Viva Linux, Viva Ubuntu

Imagen de Trotel
+1
0
-1

make all-am
make[1]: se ingresa al directorio `/home/daniel/Escritorio/pcpmer-3.5.6'
gcc -DHAVE_CONFIG_H -I. -O2 -Wall `pkg-config --cflags glib` -MT conf.o -MD -MP -MF .deps/conf.Tpo -c -o conf.o conf.c
sh: glib-config: not found
sh: glib-config: not found
sh: glib-config: not found
In file included from conf.c:1:
conf.h:6:18: error: glib.h: No existe el fichero ó directorio
In file included from conf.c:1:
conf.h:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
conf.h:11: error: expected ‘)’ before ‘*’ token
conf.h:12: error: expected ‘)’ before ‘*’ token
conf.h:14: error: expected ‘)’ before ‘*’ token
conf.h:15: error: expected ‘)’ before ‘*’ token
conf.h:17: error: expected ‘)’ before ‘*’ token
conf.h:18: error: expected ‘)’ before ‘*’ token
conf.h:19: error: expected ‘)’ before ‘*’ token
conf.h:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
conf.h:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
conf.h:24: error: expected ‘)’ before ‘*’ token
conf.h:25: error: expected ‘)’ before ‘*’ token
conf.h:26: error: expected ‘)’ before ‘*’ token
conf.c:41: error: expected ‘)’ before ‘*’ token
conf.c:90: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
conf.c:184: error: expected ‘)’ before ‘*’ token
conf.c:192: error: expected ‘)’ before ‘*’ token
conf.c:206: error: expected ‘)’ before ‘*’ token
conf.c:219: error: expected ‘)’ before ‘*’ token
conf.c:232: error: expected ‘)’ before ‘*’ token
conf.c:246: error: expected ‘)’ before ‘*’ token
conf.c:258: error: expected ‘)’ before ‘*’ token
conf.c:271: error: expected ‘)’ before ‘*’ token
conf.c:285: error: expected ‘)’ before ‘*’ token
conf.c:312: error: expected ‘)’ before ‘*’ token
conf.c:319: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
conf.c:330: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
make[1]: *** [conf.o] Error 1
make[1]: se sale del directorio `/home/daniel/Escritorio/pcpmer-3.5.6'
make: *** [all] Error 2

+1
0
-1
Imagen de Trotel
+1
0
-1

Hola me dijeron como resolver esto, tenia que ir al synaptic e instalar las librerías: libglib1.2-dev, libglib2.0-dev, libidl-dev. Y después hacer lo siguiente:

cd pcpmer-3.5.5
./autogen.sh --prefix=/WHERE/TO/PUT/YOUR/INSTALLATION
make
sudo make install

export PATH=$PATH:/WHERE/TO/PUT/YOUR/INSTALLATION
y listo

pero...

cuando pongo make me sale

**Error**: You must have `autoconf' installed.
Download the appropriate package for your distribution,
or get the source tarball at ftp://ftp.gnu.org/pub/gnu/

**Error**: You must have `automake' installed.
You can get it from: ftp://ftp.gnu.org/pub/gnu/

fui a la pagina y baje el autoconf-2.65.tar.gz y el automake-1.9.tar.gz (supongo q eran esos) y puse para ambos
tar -xvzf autoconf-2.65.tar.gz

segun se, los pasos despues de esto es
./confugure
make
make install
pero supuestamente ./configure me debe crear un archivo "Make" pero no lo crea
cuando llego a "make" me sale
There seems to be no Makefile in this directory.

e visto y no hay ningun archivo con el nombre make

xfa ayuda

+1
0
-1
Imagen de razaAztk
+1
0
-1

'autoconf' y 'automake' están en los repos oficiales.

$ sudo apt-get install autoconf automake

void hey(int x,int y)
{
if (x && y)
 printf("http://libertadpunk.blogspot.com/");
else
 printf("http://banderaazteca.hi5.com/");
}
+1
0
-1

void hey(int x,int y)
{
if (x && y)
 printf("http://libertadhack.blogspot.com/");
else
 printf("http://libertadpunk.blogspot.com/");
}
Imagen de darkmega
+1
0
-1

checa la sig pagina
http://www.debian.org/doc/maint-guide/


Ubuntu gobernara y Win sera su sirviente
Viva Linux, Viva Ubuntu

+1
0
-1

Ubuntu gobernara y Win sera su sirviente
Viva Linux, Viva Ubuntu