BUG: gtk+-1.0.3 configure fails



System: HP-UX 9.03 gcc-2.7.2.3

Error: configure doesn't find libX11.*

Of course configure can't find libX11 ! The previously computed
value -L/usr/lib/X11R% is not being used. STUPID !
It's also in the CFLAGS, but those aren't used either.
Neither are the the LDFLAGS...

--- snip ---

configure:2701: checking for XOpenDisplay in -lX11
configure:2720: gcc -o conftest  -I/usr/include/X11R5    conftest.c -lX11  =
 1>&5
collect2: ld returned 1 exit status
/bin/ld: Can't find library for -lX11
configure: failed program was:
#line 2709 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char XOpenDisplay();

int main() {
XOpenDisplay()
; return 0; }

--- snip ---

-- 
Ralf Hildebrandt, R.Hildebrandt@tu-bs.de
http://www.stahl.bau.tu-bs.de/~hildeb
NT vs UNIX, why UNIX:	It doesn't matter how big or hot your 
thing is at the moment if it doesn't stay up or perform.







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