trouble compiling gtk+1.2.8



hello,
 I tried to compile gtk+-1.2.8 on my system (GNU/Hurd) but 'make' returns a
few errors,(see attach)
 the only think I understand is that MAXPATHLEN is not defined somewhere.
Can you help me to find which header file must be edited with #define
MAXPATHLEN 1024, I think this solve the problem, or if
you see something in the output that produdce errors,Any advice much
appreciated.

(I try to install gtk in order to install gnome)

thank you,

/Petros < pesid kav forthnet gr >

#make

make  all-recursive
make[1]: Entering directory `/src/gtk+-1.2.8'
Making all in po
make[2]: Entering directory `/src/gtk+-1.2.8/po'
make[2]: Leaving directory `/src/gtk+-1.2.8/po'
Making all in gdk
make[2]: Entering directory `/src/gtk+-1.2.8/gdk'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/src/gtk+-1.2.8/gdk'
Making all in gtk
make[2]: Entering directory `/src/gtk+-1.2.8/gtk'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gtk\" -DGTK_DISABLE_COMPAT_H -DGTK_EXE_PREFIX=\"/usr/local\" -DGTK_DATA_PREFIX=\"/usr/local\" -DGTK_SYSCONFDIR=\"/usr/local/etc\" -DGTK_LOCALEDIR=\"/usr/local/share/locale\" -I.. -DGTK_NO_CHECK_CASTS -DUSE_XIM -I/usr/local/lib/glib/include -I/usr/local/include -I/usr/X11R6/include    -g -O2 -Wall -c gtkfilesel.c
rm -f .libs/gtkfilesel.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gtk\" -DGTK_DISABLE_COMPAT_H -DGTK_EXE_PREFIX=\"/usr/local\" -DGTK_DATA_PREFIX=\"/usr/local\" -DGTK_SYSCONFDIR=\"/usr/local/etc\" -DGTK_LOCALEDIR=\"/usr/local/share/locale\" -I.. -DGTK_NO_CHECK_CASTS -DUSE_XIM -I/usr/local/lib/glib/include -I/usr/local/include -I/usr/X11R6/include -g -O2 -Wall -c gtkfilesel.c  -fPIC -DPIC -o .libs/gtkfilesel.lo
gtkfilesel.c: In function `gtk_file_selection_set_filename':
gtkfilesel.c:604: `MAXPATHLEN' undeclared (first use in this function)
gtkfilesel.c:604: (Each undeclared identifier is reported only once
gtkfilesel.c:604: for each function it appears in.)
gtkfilesel.c:604: warning: unused variable `buf'
gtkfilesel.c: In function `cmpl_init_state':
gtkfilesel.c:1579: `MAXPATHLEN' undeclared (first use in this function)
gtkfilesel.c:1579: size of array `getcwd_buf' has non-integer type
gtkfilesel.c: In function `open_relative_dir':
gtkfilesel.c:1935: `MAXPATHLEN' undeclared (first use in this function)
gtkfilesel.c:1935: size of array `path_buf' has non-integer type
gtkfilesel.c: In function `open_new_dir':
gtkfilesel.c:1970: `MAXPATHLEN' undeclared (first use in this function)
gtkfilesel.c:1970: size of array `path_buf' has non-integer type
gtkfilesel.c: In function `find_parent_dir_fullname':
gtkfilesel.c:2283: `MAXPATHLEN' undeclared (first use in this function)
gtkfilesel.c:2284: warning: unused variable `buffer2'
gtkfilesel.c:2283: warning: unused variable `buffer'
make[2]: *** [gtkfilesel.lo] Error 1
make[2]: Leaving directory `/src/gtk+-1.2.8/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/src/gtk+-1.2.8'
make: *** [all-recursive-am] Error 2


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]