PDA

Ver la versión completa : Problema con librerías para lEmule



contumacia
30-06-2003, 17:26
¿Me podríais echar una mano? Estoy tratando de instalar lEmule en Knoppix y tras
descomprimir los paquetes wxGTK-2.4.1.tar.gz y lmule-1.2.1.tar.gz ,
despues de aplicar el parche wx-patch dentro de la carpeta wxGTK-2.4.1
hago en la misma carpeta
./configure --prefix=/usr --enable-gtk2
y recibo el siguiente error...

________________________________________
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error:
Please check that gtk-config is in path, the directory
where GTK+ libraries are installed (returned by
'gtk-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and GTK+ is version 1.2.3 or above.
________________________________________

Supongo que el problema será con las librerías
libc6 y libc6-dev de la rama 2.3.*
libgtk2.0-dev y libgtk1.2-dev
byacc
flex

con dselect me aparecen las librerías instaladas

¿Podrían indicarme?


Gracias de antemano por si algún alma bondadosa decide derramar un poco de su conocimiento por este post...

|RooT|
30-06-2003, 21:41
Mirate exactamente el log de error que esta en config.log haber cual a sido el error especifico. Tal y lo que pone aquí es que el fichero gtk-config no esta en el path. Pastea aquí el config.log.

contumacia
01-07-2003, 01:10
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:1021: checking host system type
configure:1042: checking target system type
configure:1060: checking build system type
configure:1766: checking for --enable-gui
configure:1809: checking for --enable-universal
configure:1903: checking for --enable-nanox
configure:1944: checking for --enable-gtk2
configure:1984: checking for --with-libpng
configure:2035: checking for --with-libjpeg
configure:2086: checking for --with-libtiff
configure:2137: checking for --with-opengl
configure:2179: checking for --with-dmalloc
configure:2218: checking for --with-regex
configure:2269: checking for --with-zlib
configure:2320: checking for --with-odbc
configure:2362: checking for --enable-shared
configure:2402: checking for --enable-soname
configure:2442: checking for --enable-optimise
configure:2482: checking for --enable-debug
configure:2523: checking for --enable-precomp
configure:2572: checking for --enable-debug_flag
configure:2612: checking for --enable-debug_info
configure:2652: checking for --enable-debug_gdb
configure:2692: checking for --enable-debug_cntxt
configure:2732: checking for --enable-mem_tracing
configure:2772: checking for --enable-profile
configure:2812: checking for --enable-no_rtti
configure:2852: checking for --enable-no_exceptions
configure:2892: checking for --enable-permissive
configure:2932: checking for --enable-no_deps
configure:2973: checking for --enable-compat20
configure:3013: checking for --disable-compat22
configure:3067: checking for --enable-intl
configure:3107: checking for --enable-config
configure:3148: checking for --enable-protocols
configure:3188: checking for --enable-ftp
configure:3228: checking for --enable-http
configure:3268: checking for --enable-fileproto
configure:3308: checking for --enable-sockets
configure:3348: checking for --enable-ole
configure:3388: checking for --enable-dataobj
configure:3429: checking for --enable-ipc
configure:3470: checking for --enable-cmdline
configure:3510: checking for --enable-datetime
configure:3550: checking for --enable-timedate
configure:3590: checking for --enable-stopwatch
configure:3630: checking for --enable-dialupman
configure:3670: checking for --enable-apple_ieee
configure:3710: checking for --enable-timer
configure:3750: checking for --enable-wave
configure:3790: checking for --enable-fraction
configure:3830: checking for --enable-dynlib
configure:3870: checking for --enable-dynamicloader
configure:3910: checking for --enable-longlong
configure:3950: checking for --enable-geometry
configure:3990: checking for --enable-log
configure:4030: checking for --enable-streams
configure:4070: checking for --enable-file
configure:4110: checking for --enable-ffile
configure:4150: checking for --enable-textbuf
configure:4190: checking for --enable-textfile
configure:4230: checking for --enable-fontmap
configure:4270: checking for --enable-unicode
configure:4310: checking for --enable-mslu
configure:4350: checking for --enable-wxprintfv
configure:4390: checking for --enable-std_iostreams
configure:4430: checking for --enable-filesystem
configure:4470: checking for --enable-fs_inet
configure:4510: checking for --enable-fs_zip
configure:4550: checking for --enable-zipstream
configure:4591: checking for --enable-catch_segvs
configure:4631: checking for --enable-snglinst
configure:4672: checking for --enable-mimetype
configure:4712: checking for --enable-system_options
configure:4753: checking for --enable-url
configure:4793: checking for --enable-protocol
configure:4833: checking for --enable-protocol_http
configure:4873: checking for --enable-protocol_ftp
configure:4913: checking for --enable-protocol_file
configure:4956: checking for --enable-threads
configure:5000: checking for --enable-docview
configure:5040: checking for --enable-help
configure:5080: checking for --enable-mshtmlhelp
configure:5120: checking for --enable-html
configure:5160: checking for --enable-htmlhelp
configure:5200: checking for --enable-constraints
configure:5240: checking for --enable-printarch
configure:5280: checking for --enable-mdi
configure:5320: checking for --enable-loggui
configure:5360: checking for --enable-logwin
configure:5400: checking for --enable-logdialog
configure:5441: checking for --enable-postscript
configure:5484: checking for --enable-prologio
configure:5524: checking for --enable-resources
configure:5565: checking for --enable-xresources
configure:5607: checking for --enable-clipboard
configure:5647: checking for --enable-dnd
configure:5687: checking for --enable-metafile
configure:5728: checking for --enable-treelayout
configure:5770: checking for --enable-controls
configure:5891: checking for --enable-accel
configure:5931: checking for --enable-button
configure:5971: checking for --enable-bmpbutton
configure:6011: checking for --enable-calendar
configure:6051: checking for --enable-caret
configure:6091: checking for --enable-checkbox
configure:6131: checking for --enable-checklst
configure:6171: checking for --enable-choice
configure:6211: checking for --enable-combobox
configure:6251: checking for --enable-gauge
configure:6291: checking for --enable-grid
configure:6331: checking for --enable-newgrid
configure:6371: checking for --enable-imaglist
configure:6411: checking for --enable-listbox
configure:6451: checking for --enable-listctrl
configure:6491: checking for --enable-notebook
configure:6531: checking for --enable-propsheet
configure:6571: checking for --enable-radiobox
configure:6611: checking for --enable-radiobtn
configure:6651: checking for --enable-sash
configure:6691: checking for --enable-scrollbar
configure:6731: checking for --enable-slider
configure:6771: checking for --enable-spinbtn
configure:6811: checking for --enable-spinctrl
configure:6851: checking for --enable-splitter
configure:6891: checking for --enable-statbmp
configure:6931: checking for --enable-statbox
configure:6971: checking for --enable-statline
configure:7011: checking for --enable-stattext
configure:7051: checking for --enable-statusbar
configure:7091: checking for --enable-tabdialog
configure:7131: checking for --enable-textctrl
configure:7171: checking for --enable-togglebtn
configure:7211: checking for --enable-toolbar
configure:7251: checking for --enable-tbarnative
configure:7291: checking for --enable-tbarsmpl
configure:7331: checking for --enable-treectrl
configure:7371: checking for --enable-tipwindow
configure:7411: checking for --enable-popupwin
configure:7453: checking for --enable-commondlg
configure:7493: checking for --enable-choicedlg
configure:7533: checking for --enable-coldlg
configure:7573: checking for --enable-filedlg
configure:7613: checking for --enable-finddlg
configure:7653: checking for --enable-fontdlg
configure:7693: checking for --enable-dirdlg
configure:7733: checking for --enable-msgdlg
configure:7773: checking for --enable-numberdlg
configure:7813: checking for --enable-splash
configure:7853: checking for --enable-textdlg
configure:7893: checking for --enable-tipdlg
configure:7933: checking for --enable-progressdlg
configure:7973: checking for --enable-wizarddlg
configure:8015: checking for --enable-menus
configure:8055: checking for --enable-miniframe
configure:8095: checking for --enable-tooltips
configure:8135: checking for --enable-splines
configure:8175: checking for --enable-validators
configure:8215: checking for --enable-busyinfo
configure:8255: checking for --enable-joystick
configure:8295: checking for --enable-metafile
configure:8335: checking for --enable-dragimage
configure:8377: checking for --enable-palette
configure:8417: checking for --enable-image
configure:8457: checking for --enable-gif
configure:8497: checking for --enable-pcx
configure:8537: checking for --enable-iff
configure:8577: checking for --enable-pnm
configure:8617: checking for --enable-xpm
configure:8657: checking for --enable-ico_cur
configure:8716: checking for toolkit
configure:8903: checking for gcc
configure:9016: checking whether the C compiler (gcc ) works
configure:9032: gcc -o conftest conftest.c 1>&5
configure:9058: checking whether the C compiler (gcc ) is a cross-compiler
configure:9063: checking whether we are using GNU C
configure:9072: gcc -E conftest.c
configure:9091: checking whether gcc accepts -g
configure:9124: checking how to run the C preprocessor
configure:9145: gcc -E conftest.c >/dev/null 2>conftest.out
configure:9205: checking whether gcc needs -traditional
configure:9266: checking for c++
configure:9298: checking whether the C++ compiler (c++ ) works
configure:9314: c++ -o conftest conftest.C 1>&5
configure:9340: checking whether the C++ compiler (c++ ) is a cross-compiler
configure:9345: checking whether we are using GNU C++
configure:9354: c++ -E conftest.C
configure:9373: checking whether c++ accepts -g
configure:9416: checking for ranlib
configure:9447: checking for ar
configure:9487: checking for a BSD compatible install
configure:9563: checking for strip
configure:9592: checking if make is GNU make
configure:9665: checking for bison
configure:9699: checking for flex
configure:9733: checking for yywrap in -lfl
configure:9752: gcc -o conftest conftest.c -lfl 1>&5
configure:9776: checking whether ln -s works
configure:9853: checking for strings.h
configure:9863: gcc -E conftest.c >/dev/null 2>conftest.out
configure:9895: checking for stdlib.h
configure:9905: gcc -E conftest.c >/dev/null 2>conftest.out
configure:9935: checking for malloc.h
configure:9945: gcc -E conftest.c >/dev/null 2>conftest.out
configure:9975: checking for unistd.h
configure:9985: gcc -E conftest.c >/dev/null 2>conftest.out
configure:10015: checking for wchar.h
configure:10025: gcc -E conftest.c >/dev/null 2>conftest.out
configure:10099: checking for fnmatch.h
configure:10109: gcc -E conftest.c >/dev/null 2>conftest.out
configure:10140: checking for fnmatch
configure:10168: gcc -o conftest conftest.c 1>&5
configure:10198: checking for langinfo.h
configure:10208: gcc -E conftest.c >/dev/null 2>conftest.out
configure:10249: checking for X11/XKBlib.h
configure:10259: gcc -E conftest.c >/dev/null 2>conftest.out
configure:10290: checking for working const
configure:10344: gcc -c conftest.c 1>&5
configure:10365: checking for inline
configure:10379: gcc -c conftest.c 1>&5
configure:10406: checking size of char
configure:10426: gcc -o conftest conftest.c 1>&5
configure:10446: checking size of short
configure:10466: gcc -o conftest conftest.c 1>&5
configure:10486: checking size of void *
configure:10506: gcc -o conftest conftest.c 1>&5
configure:10526: checking size of int
configure:10546: gcc -o conftest conftest.c 1>&5
configure:10566: checking size of long
configure:10586: gcc -o conftest conftest.c 1>&5
configure:10696: checking size of long long
configure:10716: gcc -o conftest conftest.c 1>&5
configure:10738: checking size of wchar_t
configure:10783: gcc -o conftest conftest.c 1>&5
configure:10815: checking for _FILE_OFFSET_BITS value needed for large files
configure:10832: gcc -c conftest.c 1>&5
configure:10903: checking if large file support is available
configure:10924: checking whether byte ordering is bigendian
configure:10942: gcc -c -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES conftest.c 1>&5
configure:10957: gcc -c -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES conftest.c 1>&5
configure: In function `main':
configure:10952: `not' undeclared (first use in this function)
configure:10952: (Each undeclared identifier is reported only once
configure:10952: for each function it appears in.)
configure:10952: syntax error before "big"
configure: failed program was:
#line 10946 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
int main() {

#if BYTE_ORDER != BIG_ENDIAN
not big endian
#endif
; return 0; }
configure:11018: checking how to run the C++ preprocessor
configure:11036: c++ -E -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES conftest.C >/dev/null 2>conftest.out
configure:11080: checking for iostream
configure:11090: c++ -E -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES conftest.C >/dev/null 2>conftest.out
configure:11138: checking if C++ compiler supports bool
configure:11165: c++ -c -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES conftest.C 1>&5
configure:11203: checking if C++ compiler supports the explicit keyword
configure:11229: c++ -c -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES conftest.C 1>&5
configure:11246: c++ -c -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES conftest.C 1>&5
configure: In function `int main()':
configure:11240: could not convert `17' to `const Foo&'
configure:11236: in passing argument 1 of `void TakeFoo(const Foo&)'
configure: failed program was:
#line 11233 "configure"
#include "confdefs.h"

class Foo { public: explicit Foo(int) {} };
static void TakeFoo(const Foo& foo) { }

int main() {

TakeFoo(17);
return 0;

; return 0; }
configure:11406: checking for glibc 2.1 or later
configure:11423: gcc -c -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES conftest.c 1>&5
configure:11471: checking for regex.h
configure:11481: gcc -E -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES conftest.c >/dev/null 2>conftest.out
configure:11500: checking for regcomp
configure:11528: gcc -o conftest -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES conftest.c 1>&5
configure:11588: checking for zlib.h >= 1.1.4
configure:11648: gcc -o conftest -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES conftest.c 1>&5
configure:11670: checking for deflate in -lz
configure:11689: gcc -o conftest -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES conftest.c -lz 1>&5
configure:11750: checking for png.h > 0.90
configure:11807: gcc -o conftest -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES conftest.c 1>&5
configure:11826: checking for png_check_sig in -lpng
configure:11845: gcc -o conftest -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES conftest.c -lpng -lz -lm 1>&5
configure:11904: checking for jpeglib.h
configure:11921: gcc -c -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES conftest.c 1>&5
configure:11939: checking for jpeg_read_header in -ljpeg
configure:11958: gcc -o conftest -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES conftest.c -ljpeg 1>&5
configure:12017: checking for tiffio.h
configure:12027: gcc -E -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES conftest.c >/dev/null 2>conftest.out
configure:12044: checking for TIFFError in -ltiff
configure:12063: gcc -o conftest -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES conftest.c -ltiff -lm -ljpeg -lz 1>&5
configure:12284: checking for GTK+ version
configure:12325: checking for pkg-config
configure:12373: checking for GTK+ - version >= 2.0.0
configure:12527: gcc -o conftest -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES conftest.c 1>&5
configure:12519:21: gtk/gtk.h: No such file or directory
configure: In function `main':
configure:12523: `gtk_major_version' undeclared (first use in this function)
configure:12523: (Each undeclared identifier is reported only once
configure:12523: for each function it appears in.)
configure:12523: `gtk_minor_version' undeclared (first use in this function)
configure:12523: `gtk_micro_version' undeclared (first use in this function)
configure: failed program was:
#line 12517 "configure"
#include "confdefs.h"

#include <gtk/gtk.h>
#include <stdio.h>

int main() {
return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
; return 0; }

|RooT|
01-07-2003, 02:18
Pues a simple vista veo 3 fallos de compilación.
El primero:
configure:10952: `not' undeclared (first use in this function)

El tipo de variable denominada como 'not' no ha sido declarado.
Segundo :
configure:11240: could not convert `17' to `const Foo&'

No puede convertir un variable tipo int o decimal a una constante Foo&.

Y por ultimo :
configure:12519:21: gtk/gtk.h: No such file or directory

No estan instalados los includes del GTK.

Posiblemente todo esto sea debido a que no tengas instalado correctamente el GTK y sus librerias de desarrollo. Vuelvetelo a instalar y teniniendo en cuenta también que tienes que instalar las librerias (LIB'S) y los includes (Headers o .h)

Prueba haber.

Saludos

contumacia
05-07-2003, 04:49
_________________________________
libc6 y libc6-dev de la rama 2.3.*
libgtk2.0-dev y libgtk1.2-dev
byacc
flex
_________________________________

Me diréis melón, y con razón, pero es que no encuentro cómo puedo instalar las librerías para wxGTK y lemule.

Si alguien me pudiera indicar.

Gracias de antemano por si algún alma bondadosa decide derramar un poco de su conocimiento por este post...:0=