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

Re: scid: Location of X11 library: not found



On 2012-11-04 21:28 +0100, Dr Beco wrote:

> But I get all of the dependencies installed, and the problem is the same.
>
> # apt-get install libx11-dev
> libx11-dev is already the newest version.
>
> And still:
>  Location of X11 library: not found
>
> Maybe I need to point out exactly where the libs are, in the config
> file.

Oh yes, indeed.  The configure script looks in hardcoded places and is
not aware of the relocation of libX11.so to the multiarch paths.

> I just can't find it.

Try the attached patch from the Debian source package.

Cheers,
       Sven

--- scid-4.3.0.cvs20110706.orig/configure
+++ scid-4.3.0.cvs20110706/configure
@@ -217,7 +217,18 @@
         /usr/X/lib
         /usr/local/X/lib
         /usr/openwin/lib
-        /usr/lib/x86_64-linux-gnu
+       /usr/lib/x86_64-linux-gnu
+       /usr/lib/arm-linux-gnueabi
+       /usr/lib/i386-gnu
+       /usr/lib/x86_64-kfreebsd-gnu
+       /usr/lib/i386-kfreebsd-gnu
+       /usr/lib/mips-linux-gnu
+       /usr/lib/mipsel-linux-gnu
+       /usr/lib/powerpc-linux-gnu
+       /usr/lib/s390-linux-gnu
+       /usr/lib/sparc-linux-gnu
+       /usr/lib/i386-linux-gnu
+       /usr/lib/ia64-linux-gnu
     }
 
     if {! [info exists var(TCL_INCLUDE)]} {

Reply to: