Re: Compiling chbg: cant find gdk/gdk.h
- From: "J.O. Aho" <user@xxxxxxxxxxx>
- Date: Fri, 10 Nov 2006 10:27:19 +0100
florian.harmuth@xxxxxx wrote:
Hello all,
i try to compile chbg to run a simple slideshow with xscreensaver. My
problem is that the compiler cant find the include file gdk.h. But it
is under the nomal Path.
Any suggestions?
Regards,
flo
./configure --with-image-library=imlib2
--with-imlib2-config=/usr/local/bin/imlib2-config
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... found
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 for a BSD compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking for msgfmt... (cached) msgfmt
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for X... (cached) libraries /usr/X11R6/lib, headers
/usr/X11R6/include
checking for dnet_ntoa in -ldnet... (cached) no
checking for dnet_ntoa in -ldnet_stub... (cached) no
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) yes
checking whether byte ordering is bigendian... (cached) no
checking for working fnmatch... (cached) yes
checking for usleep... (cached) yes
checking for setenv... (cached) yes
checking for random... (cached) yes
checking for mkstemp... (cached) yes
checking for libintl.h... (cached) yes
checking for gettext in -lc... (cached) yes
checking for Imlib2 configuration using imlib2-config script ...
Imlib2 LDFLAGS=-L/usr/local/lib -lImlib2 -L/usr/local/lib -Wl,--rpath
-Wl,/usr/local/lib -lfreetype -lz -L/usr/X11R6/lib -lX11 -lXext -ldl
-lm
Imlib2 CFLAGS=-DHAVE_IMLIB2 -I/usr/local/include
checking for gtk-config... (cached) /usr/local/bin/gtk-config
checking for inflate in -lz... (cached) yes
checking for png_write_info in -lpng... (cached) yes
checking for gnome-config... (cached) no
creating ./config.status
creating Makefile
creating src/Makefile
creating po/Makefile
-bash-2.05b# make
Making all in src
make[1]: Entering directory `/home/fhar/chbg/chbg-1.5/src'
gcc -DPACKAGE=\"chbg\" -DVERSION=\"1.5\" -DSTDC_HEADERS=1
-DHAVE_FNMATCH=1 -I. -I. -DHAVE_ENLIGHTENMENT_SUPPORT
-DHAVE_XSS_SUPPORT -DHAVE_ESETROOT_SUPPORT -DHAVE_MKSTEMP -DHAVE_RANDOM
-g -O2 -Wall -DHAVE_IMLIB2 -I/usr/local/include -DGETTEXT_NLS
-DNLS_DIR="\"/usr/local/share/locale\""
-DDEFAULT_SYS_CHBG_RC="\"/usr/local/etc/chbgrc\"" -c absimg_gdkimlib1.c
In file included from absimg_gdkimlib1.c:9:
absimg.h:12:21: gdk/gdk.h: No such file or directory
absimg.h:13:22: gdk/gdkx.h: No such file or directory
In file included from absimg_gdkimlib1.c:9:
absimg.h:67: error: syntax error before '*' token
absimg.h:70: error: syntax error before '*' token
absimg.h:70: warning: type defaults to `int' in declaration of
`absimg_render'
absimg.h:70: warning: data definition has no type or storage class
absimg.h:72: error: syntax error before '*' token
absimg.h:74: error: syntax error before '*' token
absimg.h:92: error: syntax error before "guchar"
absimg.h:94: error: syntax error before "gfloat"
make[1]: *** [absimg_gdkimlib1.o] Error 1
make[1]: Leaving directory `/home/fhar/chbg/chbg-1.5/src'
make: *** [all-recursive] Error 1
-bash-2.05b# ls /usr/local/in
include info
-bash-2.05b# ls /usr/local/include/
FlexLexer.h Imlib2.h Imlib_types.h atk-1.0 cairo
freetype2 gettext-po.h gtk-1.2 gtk-unix-print-2.0 libxml2
Imlib.h Imlib_private.h X11 autosprintf.h fontconfig
ft2build.h glib-2.0 gtk-2.0 libglade-2.0 pango-1.0
-bash-2.05b#
The configuration may have default to look in /usr/local/include and not in /usr/include, so you need to set the base directory, you see the option name if you do ./configure --help
//Aho
.
- Follow-Ups:
- Re: Compiling chbg: cant find gdk/gdk.h
- From: florian . harmuth
- Re: Compiling chbg: cant find gdk/gdk.h
- References:
- Compiling chbg: cant find gdk/gdk.h
- From: florian . harmuth
- Compiling chbg: cant find gdk/gdk.h
- Prev by Date: Compiling chbg: cant find gdk/gdk.h
- Next by Date: Re: Open Source Survey
- Previous by thread: Compiling chbg: cant find gdk/gdk.h
- Next by thread: Re: Compiling chbg: cant find gdk/gdk.h
- Index(es):
Relevant Pages
|