[Python-Dev] Building PyXPCOM from Mozilla source/ImportError: cannot import name _xpcom

Nalini Prakash naliniprakash@earthlink.net
Tue, 4 Dec 2001 22:09:43 -0800


This is a multi-part message in MIME format.

------=_NextPart_000_0005_01C17D10.60B38110
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Apologize if this is not the right group for this question. I am trying =
to build PyXPCOM from Mozilla 0.9.6 source tree on Win 2000. I have =
managed to do make successfully and I can import xpcom. When I import =
xpcom._xpcom, I get "ImportError: cannot import name _xpcom" and the =
path includes Mozilla bin directory. The configure.html file hints at =
something being wrong with _xpcom(_d).pyd.=20

How do I fix this problem?

TIA, Praki

------=_NextPart_000_0005_01C17D10.60B38110
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Apologize if this is not the right =
group for this=20
question. I am trying to build PyXPCOM from Mozilla 0.9.6 source tree on =
Win=20
2000. I have managed to do make successfully and I can import xpcom. =
When I=20
import xpcom._xpcom, I get "ImportError: cannot import name _xpcom" and =
the path=20
includes Mozilla bin directory. The configure.html file hints at =
something being=20
wrong with <EM>_xpcom(_d).pyd. </EM></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>How do I fix this problem?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>TIA, Praki</FONT></DIV></BODY></HTML>

------=_NextPart_000_0005_01C17D10.60B38110--