Re: [Plib-devel] configure fails GL test due to dependency on libXi and libXmu
Brought to you by:
sjbaker
From: Melchior F. <mf...@us...> - 2009-05-18 17:33:38
|
* Fay, John F Dr CTR USAF AFMC 46 SK -- Monday 18 May 2009: > I have passed the "./configure" step and did not see any error messages about > "libXmu" or "libXi". Do you have those two libraries on your system? Works here as well, but several people have reported this problem and Anton GOMEZ once offered a solution for it: * Anton Gomez -- Monday 17 March 2008: | The problem in this installation was libxi-dev and libxmu-dev packages where | not installed. But also, by replacing line 279 in config.in | LIBS="$LIBS $X_PRE_LIBS -lXi -lXmu -lXext -lX11 $X_EXTRA_LIBS -lm" | | to something like this: | LIBS="$LIBS $X_PRE_LIBS $X_LIBS $X_EXTRA_LIBS -lm" | | The compilation went smooth as silk. Maybe those libs are not really needed? This seems like a sensible change. X_LIBS is defined in any case, as it's use just one line further up. m. diff --git a/configure.in b/configure.in index d4b5c74..0d119cd 100644 --- a/configure.in +++ b/configure.in @@ -276,7 +276,7 @@ case "${host}" in LDFLAGS="$LDFLAGS $X_LIBS" - LIBS="$LIBS $X_PRE_LIBS -lXi -lXmu -lXext -lX11 $X_EXTRA_LIBS -lm" + LIBS="$LIBS $X_PRE_LIBS $X_LIBS $X_EXTRA_LIBS -lm" dnl ========================================================= dnl if test "x$x_includes" != "x"; then |