[ Foro de C ]

https://sourceforge.net/projects/xbill/

25-Feb-2021 18:20
Invitado (Iv?n Rodellas garc?a)
1 Respuestas

https://sourceforge.net/projects/xbill/


Nada que me falta una libreria de gnome y desde el escritorio de mate desktop no me lo reconoce.

Nada que me quedo sin entender como funciona un videojuego de escritorio por falta de una libreria.








noentras2@debian:~/humillacion9/xbill-2.1.4_gdk.h_buscar$ ./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gnomeConf.sh file in /usr/local/lib... not found
checking whether debugging is requested... no
checking whether included getopt is requested... no
checking whether to use binary linking... guess
checking whether to leave compat-GTK functions... yes
checking whether to link completely statically... no
checking whether scorefile location set... %s/.xbill-scores
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking whether ln -s works... (cached) yes
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC 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 ... no
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes

*** Warning: the command libtool uses to detect shared libraries,
*** /usr/bin/file, produces output that libtool cannot recognize.
*** The result is that libtool may fail to recognize shared libraries
*** as such.  This will affect the creation of libtool libraries that
*** depend on shared libraries, but programs linked with such libtool
*** libraries will work regardless of this problem.  Nevertheless, you
*** may want to report the problem to your system manager and/or to
*** bug-libtool@gnu.org

checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking how to run the C preprocessor... (cached) gcc -E
checking for gawk... (cached) /usr/bin/gawk
checking for m4... (cached) /usr/bin/m4
checking for POSIXized ISC... no
checking for ANSI C header files... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for off_t... (cached) yes
checking for size_t... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for argz.h... (cached) yes
checking for limits.h... (cached) yes
checking for locale.h... (cached) yes
checking for nl_types.h... (cached) yes
checking for malloc.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getcwd... (cached) yes
checking for munmap... (cached) yes
checking for putenv... (cached) yes
checking for setenv... (cached) yes
checking for setlocale... (cached) yes
checking for strchr... (cached) yes
checking for strcasecmp... (cached) yes
checking for strdup... (cached) yes
checking for __argz_count... (cached) yes
checking for __argz_stringify... (cached) yes
checking for __argz_next... (cached) yes
checking for LC_MESSAGES... (cached) yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... (cached) yes
checking for gettext in libc... (cached) yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... (cached) yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for catalogs to be installed...  cs
checking for libintl.h... (cached) yes
checking for gtk-config... (cached) no
checking for GTK - version >= 0.99.7... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
checking for ANSI C header files... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for getopt_long... (cached) yes
checking whether to use included getopt... no
checking whether to use GGN library... no
checking for zlib.h... (cached) yes
checking for deflateReset in -lz... (cached) yes
checking for quick and dirty binary linking... no
checking for gtk_accel_label_get_accel_width... (cached) no
checking for gtk_container_set_border_width... (cached) no
checking for gtk_notebook_get_current_page... (cached) no
checking for gtk_packer_set_child_packing... (cached) no
checking for gtk_paned_set_gutter_size... (cached) no
checking for gtk_paned_set_handle_size... (cached) no
checking for gtk_scale_get_value_width... (cached) no
checking for gtk_window_set_position... (cached) no
checking for gtk_toggle_button_set_active... (cached) no
checking for gtk_check_menu_item_set_active... (cached) no
checking for gtk_label_set_text... (cached) no
checking for gtk_item_factory_create_items... (cached) no
checking for gtk_window_set_modal... (cached) no
checking for gtk_scrolled_window_add_with_viewport... (cached) no
checking for gtk_widget_add_accelerator... (cached) no
checking for gtk_label_parse_uline... (cached) no
checking for gtk_item_factory_get_widget... (cached) no
checking for gtk_clist_set_policy... (cached) no
checking for gtk_clist_get_column_widget... (cached) no
checking for gtk_accel_group_new... (cached) no
checking for MAX... (cached) no
checking for max... (cached) no
checking for MIN... (cached) no
checking for min... (cached) no
checking for defined LIBC_VERSION... no
checking for defined SOCK_STREAM... yes
checking for unused attribute... __unused__
checking for printf style attribute... yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking return type of signal handlers... (cached) void
checking for pid_t... (cached) yes
checking for snprintf... (cached) yes
checking for vsnprintf... (cached) yes
checking for strdup... (cached) yes
checking for PARAMS macro... no
checking whether gethostname must be declared... (cached) no
checking whether kill must be declared... (cached) no
checking whether setlinebuf must be declared... (cached) no
checking whether snprintf must be declared... (cached) no
checking whether vsnprintf must be declared... (cached) no
checking whether strdup must be declared... (cached) no
checking whether atoi must be declared... (cached) no
checking whether free must be declared... (cached) no
checking whether fdopen must be declared... (cached) no
creating ./config.status
creating Makefile
creating macros/Makefile
creating doc/Makefile
creating src/Makefile
creating po/Makefile.in
creating intl/Makefile
creating xbill.spec
creating config.h
config.h is unchanged
make: Entering directory '/home/noentras2/humillacion9/xbill-2.1.4_gdk.h_buscar/src'
Creating datagen.h...
make: Leaving directory '/home/noentras2/humillacion9/xbill-2.1.4_gdk.h_buscar/src'
make: Entering directory '/home/noentras2/humillacion9/xbill-2.1.4_gdk.h_buscar/po'
( if test 'x.' != 'x.'; then \
   posrcprefix='../'; \
 else \
   posrcprefix="../"; \
 fi; \
 rm -f POTFILES-t POTFILES \
   && (sed -e '/^#/d' -e '/^[ ]*$/d' \
   -e "s@.*@ $posrcprefix& \\\\@" < ./POTFILES.in \
| sed -e '$s/\\$//') > POTFILES-t \
   && chmod a-w POTFILES-t \
   && mv POTFILES-t POTFILES )
cd .. \
 && CONFIG_FILES=po/Makefile.in CONFIG_HEADERS= \
      /bin/sh ./config.status
creating po/Makefile.in
make: 'POTFILES' is up to date.
make: Leaving directory '/home/noentras2/humillacion9/xbill-2.1.4_gdk.h_buscar/po'
noentras2@debian:~/humillacion9/xbill-2.1.4_gdk.h_buscar$ make
make  all-recursive
make[1]: se entra en el directorio '/home/noentras2/humillacion9/xbill-2.1.4_gdk.h_buscar'
Making all in macros
make[2]: se entra en el directorio '/home/noentras2/humillacion9/xbill-2.1.4_gdk.h_buscar/macros'
make[2]: No se hace nada para 'all'.
make[2]: se sale del directorio '/home/noentras2/humillacion9/xbill-2.1.4_gdk.h_buscar/macros'
Making all in doc
make[2]: se entra en el directorio '/home/noentras2/humillacion9/xbill-2.1.4_gdk.h_buscar/doc'
make[2]: No se hace nada para 'all'.
make[2]: se sale del directorio '/home/noentras2/humillacion9/xbill-2.1.4_gdk.h_buscar/doc'
Making all in intl
make[2]: se entra en el directorio '/home/noentras2/humillacion9/xbill-2.1.4_gdk.h_buscar/intl'
make[2]: No se hace nada para 'all'.
make[2]: se sale del directorio '/home/noentras2/humillacion9/xbill-2.1.4_gdk.h_buscar/intl'
Making all in src
make[2]: se entra en el directorio '/home/noentras2/humillacion9/xbill-2.1.4_gdk.h_buscar/src'
gcc -DHAVE_CONFIG_H -I. -I. -I..   -DLOCALEDIR=\"/usr/local/share/locale\"    -g -O2  -c datagen.c
datagen.c: In function ‘zout’:
datagen.c:36:2: warning: implicit declaration of function ‘memcpy’ [-Wimplicit-function-declaration]
 memcpy(ubuf+ubufd,buf,len);
 ^~~~~~
datagen.c:36:2: warning: incompatible implicit declaration of built-in function ‘memcpy’
datagen.c:36:2: note: include ‘<string.h>’ or provide a declaration of ‘memcpy’
datagen.c:23:1:
+#include <string.h>

datagen.c:36:2:
 memcpy(ubuf+ubufd,buf,len);
 ^~~~~~
datagen.c: In function ‘main’:
datagen.c:57:9: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration]
   llen=strlen(xpm_list[i].data[j])+1; len+=llen;
        ^~~~~~
datagen.c:57:9: warning: incompatible implicit declaration of built-in function ‘strlen’
datagen.c:57:9: note: include ‘<string.h>’ or provide a declaration of ‘strlen’
/bin/sh ../libtool --mode=link gcc  -g -O2  -s -o datagen  datagen.o  -lz  
mkdir .libs
gcc -g -O2 -s -o datagen datagen.o -lz
./datagen 2>/dev/null >databall.bin
Creating databall.h...
gcc -DHAVE_CONFIG_H -I. -I. -I..   -DLOCALEDIR=\"/usr/local/share/locale\"    -g -O2  -c bucket.c
In file included from bucket.h:10,
                from bucket.c:8:
picture.h:11:10: fatal error: gdk/gdk.h: No existe el fichero o el directorio
#include <gdk/gdk.h>
         ^~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:266: bucket.o] Error 1
make[2]: se sale del directorio '/home/noentras2/humillacion9/xbill-2.1.4_gdk.h_buscar/src'
make[1]: *** [Makefile:204: all-recursive] Error 1
make[1]: se sale del directorio '/home/noentras2/humillacion9/xbill-2.1.4_gdk.h_buscar'
make: *** [Makefile:353: all-recursive-am] Error 2
noentras2@debian:~/humillacion9/xbill-2.1.4_gdk.h_buscar$



Que pasa aquí, recuerdo haber instalado gnome.

Nada que el videojuego xbill, me pide una libería que debería venir por defecto.

Ahora no recuerdo muy bien que lenguaje es awk, lo voy a mirar por google.com



26-Feb-2021 18:03
Invitado (gabriel)

hola iván

no he mirado la salida de compilación pero
por lo que preguntas si te falta alguna librería de gnome en la wikipedia tienes donde están los repositorios (en gitlab)

y awk es un potente comado para shell scripting
https://likegeeks.com/es/comando-awk/

suerte ;-)






Si ya eres usuario del sistema, puedes contestar desde tu cuenta y así ganar prestigio.

Si sólo eres un visitante, puedes optar por...