Pango 1.4.0



Hello All

Sorry if this is not the correct place for this post, if it is not please could someone tell where to address this question!

I am trying to build the GTK+ 2.4.3 on a G4 Powerbook running Mac OS X 10.3.4 using the standard Apple developer tools. I have built all of the dependencies, except for Pango. When trying to run configure I was getting an error that configure could not find X-windows files.

On reading the documentation, I saw to use the options for X-windows location. I ran configure using the following command:

./configure --x-includes=/usr/X11R6/include/ --x-libraries=/usr/X11R6/lib/

Configure got further this time but then listed lots of errors - ending with:

	pangox.c: At top level:
	pangox.c:1550: error: parse error before '*' token
	pangox.c: In function `pango_x_render_layout':
	pangox.c:1559: error: `display' undeclared (first use in this function)
	pangox.c:1560: error: `layout' undeclared (first use in this function)
pangox.c:1575: error: `drawable' undeclared (first use in this function)
	pangox.c:1575: error: `gc' undeclared (first use in this function)
	pangox.c:1577: error: `x' undeclared (first use in this function)
	pangox.c:1578: error: `y' undeclared (first use in this function)
	make[3]: *** [pangox.lo] Error 1
	make[2]: *** [check-recursive] Error 1
	make[1]: *** [check] Error 2
	make: *** [check-recursive] Error 1

I then tried using the same command but specifying the option: --with-x but with the same result.

Looking over the output, the first error appears to be:

	pangox.c:26:22: X11/Xlib.h: No such file or directory
	In file included from pangox.c:32:
	pangox.h:31:22: X11/Xlib.h: No such file or directory

Does this mean that configure is trying to look for the X-window libraries in a different place to that I specified?

Does anyone have any ideas of what I can try?

Sorry if this is an obvious question - it has been along time since I have done any proper programming!

Thank you in advance,

Jerry




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