From owner-freebsd-questions Tue Nov 6 16: 3:34 2001 Delivered-To: freebsd-questions@freebsd.org Received: from teak.adhesivemedia.com (teak.adhesivemedia.com [207.202.159.79]) by hub.freebsd.org (Postfix) with ESMTP id 4BCAC37B417 for ; Tue, 6 Nov 2001 16:03:28 -0800 (PST) Received: from localhost (philip@localhost) by teak.adhesivemedia.com (8.11.6/8.11.6) with ESMTP id fA703Rl48054 for ; Tue, 6 Nov 2001 16:03:27 -0800 (PST) (envelope-from philip@adhesivemedia.com) Date: Tue, 6 Nov 2001 16:03:27 -0800 (PST) From: Philip Hallstrom To: freebsd-questions@FreeBSD.ORG Subject: Is it possible to compile imlib2 *without* X support? In-Reply-To: <5.1.0.14.2.20011106184058.01d86cc0@vmspop.isc.rit.edu> Message-ID: <20011106160025.G45604-100000@teak.adhesivemedia.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi - I'm trying to compile imlib2 (to use with PHP), but I don't want to have to install X. I figured I'd start with the port. So I commented out "USE_X_PREFIX" and added "--without-x" to CONFIGURE_ARGS. While building the port I see the following while it's configuring: checking for X... disabled But then later on I get: cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include -I. -I.. -I../src -I../loaders -I/usr/local/include -O -pipe -c api.c -fPIC -DPIC -o .libs/api.lo In file included from api.c:36: font.h:119: syntax error before `XFontSet' font.h:121: syntax error before `XFontStruct' font.h:165: syntax error before `*' font.h:185: syntax error before `*' font.h:196: syntax error before `*' api.c: In function `imlib_load_font': api.c:2064: structure has no member named `display' api.c: In function `imlib_text_draw_with_return_metrics': api.c:2174: structure has no member named `display' api.c:2174: structure has no member named `drawable' api.c:2174: structure has no member named `visual' api.c:2175: structure has no member named `depth' api.c:2175: structure has no member named `colormap' api.c:2220: syntax error before `i_ret' api.c:2222: structure has no member named `xfontset' api.c:2223: `i_ret' undeclared (first use in this function) api.c:2223: (Each undeclared identifier is reported only once api.c:2223: for each function it appears in.) api.c:2223: `l_ret' undeclared (first use in this function) api.c:2297: structure has no member named `display' api.c:2297: structure has no member named `drawable' api.c:2298: structure has no member named `visual' api.c:2298: structure has no member named `depth' api.c:2298: structure has no member named `colormap' api.c: In function `imlib_get_text_size': api.c:2423: syntax error before `i_ret' api.c:2425: structure has no member named `xfontset' api.c:2425: `i_ret' undeclared (first use in this function) api.c:2425: `l_ret' undeclared (first use in this function) api.c:2469: syntax error before `i_ret' api.c:2471: structure has no member named `xfontset' api.c: In function `imlib_text_get_index_and_location': api.c:2721: syntax error before `i_ret' api.c:2723: structure has no member named `xfontset' api.c:2724: `i_ret' undeclared (first use in this function) api.c:2724: `l_ret' undeclared (first use in this function) api.c: In function `imlib_text_get_location_at_index': api.c:2876: syntax error before `i_ret' api.c:2878: structure has no member named `xfontset' api.c:2879: `i_ret' undeclared (first use in this function) api.c:2879: `l_ret' undeclared (first use in this function) *** Error code 1 Which looks to me like a lot of X stuff. So... is there anyway to disable the X related stuff in imlib2? Thanks! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message