Package: plib Version: 1.8.4-3 Severity: serious Tags: patch From my pbuilder build log:
... checking for IceConnectionNumber in -lICE... yes checking for pthread_create in -lpthread... no checking for glNewList in -lGL... no checking for glNewList in -lMesaGL... no configure: error: could not find working GL library make: *** [clean] Error 1 According to config.log, this is happening because: ... configure:5906: checking for glNewList in -lGL configure:5936: gcc -o conftest -g -O2 conftest.c -lGL -lSM -lICE -lXi -lXmu -lXext -lX11 -lm >&5 /usr/bin/ld: cannot find -lXi collect2: ld returned 1 exit status configure:5942: $? = 1 ... Since the -lXi doesn't seem to be necessary, I've attached a patch to configure.in which fixes this by removing the -lXi flag. -- Daniel Schepler
--- plib-1.8.4.old/configure.in 2004-06-24 16:30:52.000000000 +0000 +++ plib-1.8.4/configure.in 2006-06-11 15:19:35.000000000 +0000 @@ -276,7 +276,7 @@ LDFLAGS="$LDFLAGS $X_LIBS" - LIBS="$LIBS $X_PRE_LIBS -lXi -lXmu -lXext -lX11 $X_EXTRA_LIBS -lm" + LIBS="$LIBS $X_PRE_LIBS -lXmu -lXext -lX11 $X_EXTRA_LIBS -lm" dnl ========================================================= dnl if test "x$x_includes" != "x"; then