On Thu, 22 Mar 2007, Jorge Almeida wrote:

> I'm getting this error during "make test" of Python:
>       1 test failed:
>           test_cookielib
>       33 tests skipped:
>       1 skip unexpected on linux2:
>           test_tcl
>       make: *** [test] Error 1
> I assume the test_cookielib failure is harmless but the test_tcl failure
> is not. I have tcl and tk installed. (Everything from the stable
> version.)
>
I noticed that make was also failing, with the message:
/usr/bin/ld: cannot find -lX11

Googling around, I found that it wants a directory /usr/X11R6/lib. I had
xorg in /opt/xorg, and /etc/ld.so.conf has:
        # Begin /etc/ld.so.conf

        /usr/local/lib
        /usr/lib
        /opt/lib
        /opt/xorg/lib

        # End /etc/ld.so.conf
Creating a /usr/X11R6/ symlink to /opt/xorg solved the problem. Maybe
the book should mention the need to create a /usr/X11R6 symlink?

make test (for Python) still fails with test_cookielib. I couldn't
google my way around this.

-- 
Jorge Almeida
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
  • python tests Jorge Almeida
    • X11R6 link (was: python tests) Jorge Almeida

Reply via email to