[Gimp-developer] Compiling 1.2.3 with X 4.0.2

2002-03-04 Thread John L. Clark

To whom it may concern:

If this email should be sent instead to the gimp-user list, please let
me know and I can send it there.

I attempted to compile the Gimp, version 1.2.3, (on a linux 2.4.14
machine) under X 4.0.2, and got the following error:

output
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..
-I../intl  -I/opt/gnome/include/gtk-1.2
-I/opt/gnome/include/glib-1.2 -I/opt/gnome/lib/glib/include
-I/usr/X11R6/include-I/usr/local/include
-DLIBDIR=\/usr/local/lib/gimp/1.2\
-DLOCALEDIR=\/usr/local/share/locale\
-DREGEX_MALLOC
-DG_LOG_DOMAIN=\Gimp\
-DGTK_DISABLE_COMPAT_H  -g -O2 -Wall -c text_tool.c
In file included from /opt/gnome/include/gtk-1.2/gdk/gdkx.h:30,
 from text_tool.c:28:
 /opt/gnome/include/gtk-1.2/gdk/gdkprivate.h:31:
 X11/Xlib.h: No such file or directory
 /opt/gnome/include/gtk-1.2/gdk/gdkprivate.h:32:
 X11/Xutil.h: No such file or directory
 make[2]: *** [text_tool.o] Error 1
 make[2]: Leaving directory
 `/home/john/download/gimp-1.2.3/app'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory
 `/home/john/download/gimp-1.2.3'
 make: *** [all-recursive-am] Error 2

/output

I was unable to find the two header files that the compilation choked
on, and so my best guess is that X 4 rearranged the location (and
possibly API) of their header files.  Or it could be some other thing
entirely which I'm doing wrong.

If you need any further information, please let me know.  I'm not (yet?)
on the mailing list, so I would appreciate a cc:, if at all possible.

Thanks (for this and for a great product),

John L. Clark
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer



Re: [Gimp-developer] Compiling 1.2.3 with X 4.0.2

2002-03-04 Thread Sven Neumann

Hi,

John L. Clark [EMAIL PROTECTED] writes:

 I attempted to compile the Gimp, version 1.2.3, (on a linux 2.4.14
 machine) under X 4.0.2, and got the following error:
 
 output
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..
 -I../intl  -I/opt/gnome/include/gtk-1.2
 -I/opt/gnome/include/glib-1.2 -I/opt/gnome/lib/glib/include
 -I/usr/X11R6/include-I/usr/local/include
 -DLIBDIR=\/usr/local/lib/gimp/1.2\
 -DLOCALEDIR=\/usr/local/share/locale\
 -DREGEX_MALLOC
 -DG_LOG_DOMAIN=\Gimp\
 -DGTK_DISABLE_COMPAT_H  -g -O2 -Wall -c text_tool.c
 In file included from /opt/gnome/include/gtk-1.2/gdk/gdkx.h:30,
  from text_tool.c:28:
/opt/gnome/include/gtk-1.2/gdk/gdkprivate.h:31:
X11/Xlib.h: No such file or directory
/opt/gnome/include/gtk-1.2/gdk/gdkprivate.h:32:
X11/Xutil.h: No such file or directory
make[2]: *** [text_tool.o] Error 1
make[2]: Leaving directory
`/home/john/download/gimp-1.2.3/app'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/john/download/gimp-1.2.3'
make: *** [all-recursive-am] Error 2
 
 /output
 
 I was unable to find the two header files that the compilation choked
 on, and so my best guess is that X 4 rearranged the location (and
 possibly API) of their header files.  Or it could be some other thing
 entirely which I'm doing wrong.

I guess the whole problem is that you don't have X11 headers
installed.  This is not unusual for most distributions but it
should be easy to install the X11 header files by means of your
distribution. Look for a package called xlibs-dev or somehing
similar.

If you have the X11 headers installed then gtk-config --cflags
is most probably pointing to the wrong location.


Salut, Sven
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer



Re: [Gimp-developer] Compiling 1.2.3 with X 4.0.2

2002-03-04 Thread John L. Clark

On Mon, Mar 04, 2002 at 07:41:09PM +0100, Sven Neumann wrote:
 I guess the whole problem is that you don't have X11 headers
 installed.  This is not unusual for most distributions but it
 should be easy to install the X11 header files by means of your
 distribution. Look for a package called xlibs-dev or somehing
 similar.
 
 If you have the X11 headers installed then gtk-config --cflags
 is most probably pointing to the wrong location.

Whoops.  You're exactly right - I had the devel package installed, but
it appears that it had only installed partially, and I hadn't checked
that.  Sorry for the unnecessary question, and thanks for your prompt
reply.

Take care,

John L. Clark
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer