Re: garnome 2.12.1 iso-codes-0.46 iso2pot.py



On Tue, 2005-10-18 at 18:38 +1300, Mark Carey wrote:
> As discussed here,
> http://mail.gnome.org/archives/garnome-list/2005-July/msg00205.html I
> was seing the same error as the original correspondant.
> 
> On investigation of the Makefile in the relevant directory (as
> suggested in the linked thread) I found that the script iso2pot.py
> hard codes the location of the python binary (assumes /usr/bin/python)
> while I have python installed in /usr/local/bin/python.
> 
> So I fixed that wee problem and now I get,
> 
>  ==> Running make in /tmp/garnome-work/iso-codes/main.d/iso-codes-0.46
> make[3]: Entering directory `/tmp/garnome-work/iso-codes/main.d/iso-codes-0.46'
> Making all in iso_639
> make[4]: Entering directory
> `/tmp/garnome-work/iso-codes/main.d/iso-codes-0.46/iso_639'
> ../iso2pot.py --is-version 0.46pre1 --comments iso_639_2T_code \
>                 --fields name iso_639.xml iso_639.pot
> Traceback (most recent call last):
>   File "../iso2pot.py", line 9, in ?
>     from xml.sax import saxutils, make_parser, saxlib, saxexts, ContentHandler
> ImportError: cannot import name saxlib
> make[4]: *** [iso_639.pot] Error 1
> make[4]: Leaving directory
> `/tmp/garnome-work/iso-codes/main.d/iso-codes-0.46/iso_639'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/tmp/garnome-work/iso-codes/main.d/iso-codes-0.46'
> make[2]: *** [build-/tmp/garnome-work/iso-codes/main.d/iso-codes-0.46/Makefile]
> Error 2
> make[2]: Leaving directory `/home/mark/garnome-2.12.1/bootstrap/iso-codes'
> make[1]: *** [../../bootstrap/iso-codes/cookies/main.d/install] Error 2
> make[1]: Leaving directory `/home/mark/garnome-2.12.1/desktop/epiphany'
> make: *** [paranoid-install] Error 2
> 
> It appears that python can not find some of its imports (FWIW I know
> nothing about python), now I have installed Pyrex-0.9.3 (had to to get
> dbus to compile) and PyXML-0.8.4 as suggested in the linked thread. 
> Unfortunately I still get the same error.
> 
> Any suggestions?  I am off to google to try and find what provides
> saxlib and/or how to set Pythons search path for modules ...

Look in gar.conf.mk and add your python path there.

Has libxml2 been built...saxlib is part of platform/libxml2.

Bob

-- 
Bob Kashani
http://www.ocf.berkeley.edu/~bobk/garnome




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