Hi,

When I try compiling MesaLib-10.2.6 (default python version 2.7.8) I get
this error:

Making all in src
make[1]: Entering directory '/sources/xc/Mesa-10.2.6/src'
Making all in gtest
make[2]: Entering directory '/sources/xc/Mesa-10.2.6/src/gtest'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/sources/xc/Mesa-10.2.6/src/gtest'
Making all in loader
make[2]: Entering directory '/sources/xc/Mesa-10.2.6/src/loader'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/sources/xc/Mesa-10.2.6/src/loader'
Making all in mapi
make[2]: Entering directory '/sources/xc/Mesa-10.2.6/src/mapi'
Making all in glapi/gen
make[3]: Entering directory '/sources/xc/Mesa-10.2.6/src/mapi/glapi/gen'
  GEN      ../../../../src/glx/indirect_init.c
Traceback (most recent call last):
  File "glX_proto_send.py", line 1121, in <module>
    api = gl_XML.parse_GL_API( file_name, glX_XML.glx_item_factory() )
  File "/sources/xc/Mesa-10.2.6/src/mapi/glapi/gen/gl_XML.py", line 41, in
parse_GL_API
    api.parse_file( file_name )
  File "/sources/xc/Mesa-10.2.6/src/mapi/glapi/gen/gl_XML.py", line 903, in
parse_file
    doc = ET.parse( file_name )
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1182, in parse
    tree.parse(source, parser)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 651, in parse
    parser = XMLParser(target=TreeBuilder())
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1465, in __init__
    "No module named expat; use SimpleXMLTreeBuilder instead"
ImportError: No module named expat; use SimpleXMLTreeBuilder instead
Makefile:837: recipe for target '../../../../src/glx/indirect_init.c' failed
make[3]: *** [../../../../src/glx/indirect_init.c] Error 1
make[3]: Leaving directory '/sources/xc/Mesa-10.2.6/src/mapi/glapi/gen'
Makefile:512: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/sources/xc/Mesa-10.2.6/src/mapi'
Makefile:529: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/sources/xc/Mesa-10.2.6/src'
Makefile:578: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1


I get this error even though the file expat.py is present in
python2.7/xml/parsers/  :-(



On Thu, Aug 21, 2014 at 1:46 PM, Hariharan <[email protected]> wrote:

> Hi Ken,
>
>
> "
>  By the time you are in BLFS, your host system should not matter,
> because either you are in chroot after completing LFS, or else you
> have booted your shiny new LFS.  Or, are you doing somehting
> different ?
> "
>
> I can boot into LFS but I prefer using the chroot environment in the host
> till I install a desktop environment(preferably Xfce).
>
>
> "
>  This is where the problem starts.  Google thinks that happens if
> you use a really old version of Python2 (less than 2.5).  Or, I
> suppose, perhaps you have not installed Python2 at all ?
> "
> I have Python2.7.8 and Python3.4 . I used Python3.4 . Also i when i built
> libdrm-2.4.56 again, I noticed that the make and make install were
> successful but make check failed two tests:
>
> root:/sources/xc/libdrm-2.4.56# make check
> Making check in .
> make[1]: Entering directory '/sources/xc/libdrm-2.4.56'
> make[1]: Leaving directory '/sources/xc/libdrm-2.4.56'
> Making check in libkms
> make[1]: Entering directory '/sources/xc/libdrm-2.4.56/libkms'
> make[1]: Nothing to be done for 'check'.
> make[1]: Leaving directory '/sources/xc/libdrm-2.4.56/libkms'
> Making check in intel
> make[1]: Entering directory '/sources/xc/libdrm-2.4.56/intel'
> make  check-TESTS
> make[2]: Entering directory '/sources/xc/libdrm-2.4.56/intel'
> make[3]: Entering directory '/sources/xc/libdrm-2.4.56/intel'
> PASS: tests/gen4-3d.batch.sh
> PASS: tests/gm45-3d.batch.sh
> PASS: tests/gen5-3d.batch.sh
> PASS: tests/gen6-3d.batch.sh
> PASS: tests/gen7-2d-copy.batch.sh
> PASS: tests/gen7-3d.batch.sh
> make[4]: Entering directory '/sources/xc/libdrm-2.4.56/intel'
> make[4]: Nothing to be done for 'all'.
> make[4]: Leaving directory '/sources/xc/libdrm-2.4.56/intel'
>
> ============================================================================
> Testsuite summary for libdrm 2.4.56
>
> ============================================================================
> # TOTAL: 6
> # PASS:  6
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  0
> # XPASS: 0
> # ERROR: 0
>
> ============================================================================
> make[3]: Leaving directory '/sources/xc/libdrm-2.4.56/intel'
> make[2]: Leaving directory '/sources/xc/libdrm-2.4.56/intel'
> make[1]: Leaving directory '/sources/xc/libdrm-2.4.56/intel'
> Making check in nouveau
> make[1]: Entering directory '/sources/xc/libdrm-2.4.56/nouveau'
> make[1]: Nothing to be done for 'check'.
> make[1]: Leaving directory '/sources/xc/libdrm-2.4.56/nouveau'
> Making check in radeon
> make[1]: Entering directory '/sources/xc/libdrm-2.4.56/radeon'
> make[1]: Nothing to be done for 'check'.
> make[1]: Leaving directory '/sources/xc/libdrm-2.4.56/radeon'
> Making check in tests
> make[1]: Entering directory '/sources/xc/libdrm-2.4.56/tests'
> Making check in modeprint
> make[2]: Entering directory '/sources/xc/libdrm-2.4.56/tests/modeprint'
> make[2]: Nothing to be done for 'check'.
> make[2]: Leaving directory '/sources/xc/libdrm-2.4.56/tests/modeprint'
> Making check in kmstest
> make[2]: Entering directory '/sources/xc/libdrm-2.4.56/tests/kmstest'
> make[2]: Nothing to be done for 'check'.
> make[2]: Leaving directory '/sources/xc/libdrm-2.4.56/tests/kmstest'
> Making check in modetest
> make[2]: Entering directory '/sources/xc/libdrm-2.4.56/tests/modetest'
> make[2]: Nothing to be done for 'check'.
> make[2]: Leaving directory '/sources/xc/libdrm-2.4.56/tests/modetest'
> Making check in radeon
> make[2]: Entering directory '/sources/xc/libdrm-2.4.56/tests/radeon'
> make[2]: Nothing to be done for 'check'.
> make[2]: Leaving directory '/sources/xc/libdrm-2.4.56/tests/radeon'
> Making check in vbltest
> make[2]: Entering directory '/sources/xc/libdrm-2.4.56/tests/vbltest'
> make[2]: Nothing to be done for 'check'.
> make[2]: Leaving directory '/sources/xc/libdrm-2.4.56/tests/vbltest'
> make[2]: Entering directory '/sources/xc/libdrm-2.4.56/tests'
> make  libdrmtest.la dristat drmstat openclose getversion getclient
> getstats setversion updatedraw name_from_fd  gem_basic gem_flink
> gem_readwrite gem_mmap
> make[3]: Entering directory '/sources/xc/libdrm-2.4.56/tests'
> make[3]: 'libdrmtest.la' is up to date.
> make[3]: 'dristat' is up to date.
> make[3]: 'drmstat' is up to date.
> make[3]: 'openclose' is up to date.
> make[3]: 'getversion' is up to date.
> make[3]: 'getclient' is up to date.
> make[3]: 'getstats' is up to date.
> make[3]: 'setversion' is up to date.
> make[3]: 'updatedraw' is up to date.
> make[3]: 'name_from_fd' is up to date.
> make[3]: 'gem_basic' is up to date.
> make[3]: 'gem_flink' is up to date.
> make[3]: 'gem_readwrite' is up to date.
> make[3]: 'gem_mmap' is up to date.
> make[3]: Leaving directory '/sources/xc/libdrm-2.4.56/tests'
> make  check-TESTS
> make[3]: Entering directory '/sources/xc/libdrm-2.4.56/tests'
> make[4]: Entering directory '/sources/xc/libdrm-2.4.56/tests'
> PASS: openclose
> PASS: getversion
> PASS: getclient
> PASS: getstats
> ../build-aux/test-driver: line 107:  3163 Aborted                 (core
> dumped) "$@" > $log_file 2>&1
> FAIL: setversion
> ../build-aux/test-driver: line 107:  3183 Aborted                 (core
> dumped) "$@" > $log_file 2>&1
> FAIL: updatedraw
> PASS: name_from_fd
> PASS: gem_basic
> PASS: gem_flink
> PASS: gem_readwrite
> PASS: gem_mmap
> make[5]: Entering directory '/sources/xc/libdrm-2.4.56/tests'
> Making all in modeprint
> make[6]: Entering directory '/sources/xc/libdrm-2.4.56/tests/modeprint'
> make[6]: Nothing to be done for 'all'.
> make[6]: Leaving directory '/sources/xc/libdrm-2.4.56/tests/modeprint'
> Making all in kmstest
> make[6]: Entering directory '/sources/xc/libdrm-2.4.56/tests/kmstest'
> make[6]: Nothing to be done for 'all'.
> make[6]: Leaving directory '/sources/xc/libdrm-2.4.56/tests/kmstest'
> Making all in modetest
> make[6]: Entering directory '/sources/xc/libdrm-2.4.56/tests/modetest'
> make[6]: Nothing to be done for 'all'.
> make[6]: Leaving directory '/sources/xc/libdrm-2.4.56/tests/modetest'
> Making all in radeon
> make[6]: Entering directory '/sources/xc/libdrm-2.4.56/tests/radeon'
> make[6]: Nothing to be done for 'all'.
> make[6]: Leaving directory '/sources/xc/libdrm-2.4.56/tests/radeon'
> Making all in vbltest
> make[6]: Entering directory '/sources/xc/libdrm-2.4.56/tests/vbltest'
> make[6]: Nothing to be done for 'all'.
> make[6]: Leaving directory '/sources/xc/libdrm-2.4.56/tests/vbltest'
> make[6]: Entering directory '/sources/xc/libdrm-2.4.56/tests'
> make[6]: Nothing to be done for 'all-am'.
> make[6]: Leaving directory '/sources/xc/libdrm-2.4.56/tests'
> make[5]: Leaving directory '/sources/xc/libdrm-2.4.56/tests'
>
> ============================================================================
> Testsuite summary for libdrm 2.4.56
>
> ============================================================================
> # TOTAL: 11
> # PASS:  9
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  2
> # XPASS: 0
> # ERROR: 0
>
> ============================================================================
> See tests/test-suite.log
> Please report to https://bugs.freedesktop.org/enter_bug.cgi?product=DRI
>
> ============================================================================
> Makefile:930: recipe for target 'test-suite.log' failed
> make[4]: *** [test-suite.log] Error 1
> make[4]: Leaving directory '/sources/xc/libdrm-2.4.56/tests'
> Makefile:1036: recipe for target 'check-TESTS' failed
> make[3]: *** [check-TESTS] Error 2
> make[3]: Leaving directory '/sources/xc/libdrm-2.4.56/tests'
> Makefile:1204: recipe for target 'check-am' failed
> make[2]: *** [check-am] Error 2
> make[2]: Leaving directory '/sources/xc/libdrm-2.4.56/tests'
> Makefile:823: recipe for target 'check-recursive' failed
> make[1]: *** [check-recursive] Error 1
> make[1]: Leaving directory '/sources/xc/libdrm-2.4.56/tests'
> Makefile:682: recipe for target 'check-recursive' failed
> make: *** [check-recursive] Error 1
> root:/sources/xc/libdrm-2.4.56#
>
>
>
> Could that be a possible reason?? Xorg libraries compiled and built fine
> though.
>
>
> On Thu, Aug 21, 2014 at 1:26 AM, Ken Moffat <[email protected]>
> wrote:
>
>> On Thu, Aug 21, 2014 at 12:02:21AM +0530, Hariharan wrote:
>> > HI,
>> >
>> > I've built LFS 7.5 and have'nt deviated from the book at all. My host
>> > system is  ubuntu 14.04 LTS
>> >
>>
>>  By the time you are in BLFS, your host system should not matter,
>> because either you are in chroot after completing LFS, or else you
>> have booted your shiny new LFS.  Or, are you doing somehting
>> different ?
>>
>> > I wish to install a Xfce desktop environment.All the packages till
>> > MesaLib-10.2.5 in the X Window system chapter build properly. The
>> result of
>> > "make"
>> >
>> /me snips a *lot* of blank lines
>> > *Making all in srcmake[1]: Entering directory
>> > '/sources/xc/Mesa-10.2.5/src'Making all in gtestmake[2]: Entering
>> directory
>> > '/sources/xc/Mesa-10.2.5/src/gtest'make[2]: Nothing to be done for
>> > 'all'.make[2]: Leaving directory
>> '/sources/xc/Mesa-10.2.5/src/gtest'Making
>> > all in loadermake[2]: Entering directory
>> > '/sources/xc/Mesa-10.2.5/src/loader'make[2]: Nothing to be done for
>> > 'all'.make[2]: Leaving directory
>> '/sources/xc/Mesa-10.2.5/src/loader'Making
>> > all in mapimake[2]: Entering directory
>> > '/sources/xc/Mesa-10.2.5/src/mapi'make  all-recursivemake[3]: Entering
>> > directory '/sources/xc/Mesa-10.2.5/src/mapi'Making all in
>> glapi/genmake[4]:
>> > Entering directory '/sources/xc/Mesa-10.2.5/src/mapi/glapi/gen'make
>> > all-ammake[5]: Entering directory
>> > '/sources/xc/Mesa-10.2.5/src/mapi/glapi/gen'make[5]: Nothing to be done
>> for
>> > 'all-am'.make[5]: Leaving directory
>> > '/sources/xc/Mesa-10.2.5/src/mapi/glapi/gen'make[4]: Leaving directory
>> > '/sources/xc/Mesa-10.2.5/src/mapi/glapi/gen'Making all in .make[4]:
>> > Entering directory '/sources/xc/Mesa-10.2.5/src/mapi'  CC
>> > shared_glapi_libglapi_la-mapi_glapi.lo../../src/mapi/mapi_glapi.c: In
>> > function
>> > '_glapi_get_dispatch_table_size':../../src/mapi/mapi_glapi.c:34:31:
>> error:
>> > 'MAPI_TABLE_NUM_STATIC' undeclared (first use in this function) #define
>>  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>  This is where the problem starts.  Google thinks that happens if
>> you use a really old version of Python2 (less than 2.5).  Or, I
>> suppose, perhaps you have not installed Python2 at all ?
>>
>>  I think that Igor fixed the deps yesterday, apparently Python was no
>> longer in the dependency chain.  If that is the case, and you wish
>> to later build firefox or thunderbird, make sure that you build
>> openssl before Python2.
>>
>> ĸen
>> --
>> Nanny Ogg usually went to bed early. After all, she was an old lady.
>> Sometimes she went to bed as early as 6 a.m.
>> --
>> http://lists.linuxfromscratch.org/listinfo/blfs-support
>> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
>> Unsubscribe: See the above information page
>>
>
>
>
> --
> *Hari*
>



-- 
*Hari*
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to