<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">I've been trying to build a project on CentOS 5 which includes Qt and VTK elements and despite the configuration discovering X11 in the correct place: /usr/lib/X11 the build always fails with: <DIV><BR class="khtml-block-placeholder"></DIV><DIV>... No rule to make target `/usr/X11R6/lib/libX11.so' ...</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The build.make file contains </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>build.make: bin/fslview: /usr/X11R6/lib/libX11.so </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>the cache:</DIV><DIV><BR class="khtml-block-placeholder"><DIV>CMakeCache.txt:X11_X11_LIB:FILEPATH=/usr/lib/libX11.so</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I'm using cmake 2.4-patch 5<BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>--</DIV><DIV>Cheers, Dave</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Dave Flitney, IT Manager</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Oxford Centre for Functional MRI of the Brain</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">E:<A href="mailto:flitney@fmrib.ox.ac.uk">flitney@fmrib.ox.ac.uk</A> W:+44-1865-222713 F:+44-1865-222717</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">URL: <A href="http://www.fmrib.ox.ac.uk/~flitney">http://www.fmrib.ox.ac.uk/~flitney</A></DIV><BR class="Apple-interchange-newline"></SPAN></SPAN></SPAN> </DIV><BR></DIV></DIV></BODY></HTML>