Re: [gtk-list] gtk+ installation under UTRIX 4.3



On Thu, 03 Jun 1999 23:30:47 +0200 (MET DST), gtk-list@redhat.com (Matthias Fichtner) wrote:
> Ok, we will see, if anybody can help me :
> After the installation of glib 1.2.2 I tried to install gtk+-1.2.2 
> The configure-script runs successfully, but the make fails.
> My architecture : ULTRIX V4.4 (Rev. 69) on a MIPS-DEC with X11R5
> 
> The output of make :
> 
> ...
> a lot of lines like these :
> /usr/X11R5/include/X11/Xutil.h:520: warning: type defaults to `int' in
> declaration of `XIntersectRegion'
> /usr/X11R5/include/X11/Xutil.h:548: warning: type defaults to `int' in
> declaration of `XOffsetRegion'
> ...

Looks like the non-ANSI part of the X headers was selected.

> At the end :
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -DGTK_DISABLE_COMPAT_H -DG_LOG_DOMAIN=\"Gtk\"
> -DGTK_EXE_PREFIX=\"/usr/local\" -DGTK_DATA_PREFIX=\"/usr/local\"
> -DGTK_SYSCONFDIR=\"/usr/local/etc\" -DGTK_LOCALEDIR=\"/usr/local//locale\" -I..
> -DGTK_NO_CHECK_CASTS -DUSE_XIM -I/usr/local/lib/glib/include -I/usr/local/include
> -I/usr/X11R5/include -g -O2 -Wall -c gtkfilesel.c -o gtkfilesel.o
> 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:1573: `MAXPATHLEN' undeclared (first use in this function)
> gtkfilesel.c:1573: size of array `getcwd_buf' has non-integer type
> gtkfilesel.c: In function `open_relative_dir':
> gtkfilesel.c:1897: `MAXPATHLEN' undeclared (first use in this function)
> gtkfilesel.c:1897: size of array `path_buf' has non-integer type
> gtkfilesel.c: In function `open_new_dir':
> gtkfilesel.c:1932: `MAXPATHLEN' undeclared (first use in this function)
> gtkfilesel.c:1932: size of array `path_buf' has non-integer type
> gtkfilesel.c: In function `find_parent_dir_fullname':
> gtkfilesel.c:2245: `MAXPATHLEN' undeclared (first use in this function)
> gtkfilesel.c:2246: warning: unused variable `buffer2'
> gtkfilesel.c:2245: warning: unused variable `buffer'
> gtkfilesel.c: In function `get_pwdb':
> gtkfilesel.c:2638: warning: implicit declaration of function `setpwent'
> gtkfilesel.c:2680: warning: implicit declaration of function `endpwent'
> make[2]: *** [gtkfilesel.lo] Error 1
> make[2]: Leaving directory `/usr/users/lfk/fichtner/soft/gtk+/gtk+-1.2.2/gtk'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/users/lfk/fichtner/soft/gtk+/gtk+-1.2.2'
> make: *** [all-recursive-am] Error 2
> Exit 2
> 
> Any suggestions would be appreciated.

My first suggestion is to try glib+gtk 1.2.3 (the latest version).

IIRC, MAXPATHLEN is declared in the system headers or (when the system
headers are broken) in glib, so it should be defined somewhere. Does your
system have setpwent()/endpwent()?


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2785859  Fax: +31-15-2781843  Email J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/




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