Re: bakefile fails on Snow Leopard
Kevin Ollivier <[email protected]> Tue, 6 Oct 2009 14:50:12 -0700
| Newsgroups | gmane.comp.sysutils.bakefile.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============3286081120044880808== Content-Type: multipart/alternative; boundary=Apple-Mail-5--466777907 --Apple-Mail-5--466777907 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Hi Teo, On Oct 6, 2009, at 2:42 PM, Teo Fonrouge wrote: > > On Oct 6, 2009, at 4:31 PM, Kevin Ollivier wrote: > >> Hi Teo, >> >> On Oct 6, 2009, at 1:52 PM, Teo Fonrouge wrote: >> >>> >>> On Oct 6, 2009, at 3:18 PM, Vaclav Slavik wrote: > > [snip] > >>> >> >> This is likely due to a mismatch between 32-bit and 64-bit between >> Python and Bakefile's C extension. >> >> I don't think Bakefile currently checks and compiles the extension to >> match the architecture used by Python itself, or reports if there's a >> mismatch. I think it just uses the compiler's default architecture, >> which differs depending on which OS you compiled on or which Python >> you're using. > > > Okay, IOW this means that this can be solved by giving the right > params to ./configure ? For my case (32-bit Python on SnowLeopard), I fixed the problem by setting CC="gcc-4.0" and CXX="g++-4.0" before building Bakefile. 32- bit is the default for that version of the compiler. Regards, Kevin > > Thank you Kevin. > > > > best regards, > > Teo Fonrouge > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart > your > developing skills, take BlackBerry mobile applications to market and > stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference_______________________________________________ > Bakefile-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/bakefile-devel --Apple-Mail-5--466777907 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii <html><head></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi = Teo,<div><br><div><div>On Oct 6, 2009, at 2:42 PM, Teo Fonrouge = wrote:</div><br class=3D"Apple-interchange-newline"><blockquote = type=3D"cite"><div style=3D"word-wrap: break-word; -webkit-nbsp-mode: = space; -webkit-line-break: after-white-space; "><br><div><div>On Oct 6, = 2009, at 4:31 PM, Kevin Ollivier wrote:</div><br = class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><div>Hi = Teo,<br><br>On Oct 6, 2009, at 1:52 PM, Teo Fonrouge = wrote:<br><br><blockquote type=3D"cite"><br></blockquote><blockquote = type=3D"cite">On Oct 6, 2009, at 3:18 PM, Vaclav Slavik = wrote:<br></blockquote></div></blockquote><div><br></div><div>[snip]</div>= <br><blockquote type=3D"cite"><div><blockquote = type=3D"cite"><br></blockquote><font class=3D"Apple-style-span" = color=3D"#540000"><br></font>This is likely due to a mismatch between = 32-bit and 64-bit between <br>Python and Bakefile's C = extension.<br><br>I don't think Bakefile currently checks and compiles = the extension to <br>match the architecture used by Python itself, = or reports if there's a <br>mismatch. I think it just uses the = compiler's default architecture, <br>which differs depending on = which OS you compiled on or which Python <br>you're using.<font = class=3D"Apple-style-span"><font class=3D"Apple-style-span" = color=3D"#144FAE"><br></font></font></div></blockquote></div><div><br></di= v><div>Okay, IOW this means that this can be solved by giving the right = params to ./configure ?</div></div></blockquote><div><br></div><div>For = my case (32-bit Python on SnowLeopard), I fixed the problem by setting = CC=3D"gcc-4.0" and CXX=3D"g++-4.0" before building Bakefile. 32-bit is = the default for that version of the = compiler.</div><div><br></div><div>Regards,</div><div><br></div><div>Kevin= </div><br><blockquote type=3D"cite"><div style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; = "><div><br></div><div>Thank you = Kevin.</div><div><br></div><div><br></div><div><br></div><div>best = regards,</div><div><br></div><div>Teo = Fonrouge</div><div><br></div></div>---------------------------------------= ---------------------------------------<br>Come build with us! The = BlackBerry(R) Developer Conference in SF, CA<br>is the only developer = event you need to attend this year. Jumpstart your<br>developing skills, = take BlackBerry mobile applications to market and stay <br>ahead of the = curve. Join us from November 9 - 12, 2009. Register now!<br><a = href=3D"http://p.sf.net/sfu/devconference_________________________________= ______________">http://p.sf.net/sfu/devconference_________________________= ______________________</a><br>Bakefile-devel mailing = list<br>[email protected]<br>https://lists.sourceforge.= net/lists/listinfo/bakefile-devel<br></blockquote></div><br></div></body><= /html>= --Apple-Mail-5--466777907-- --===============3286081120044880808== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference --===============3286081120044880808== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bakefile-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bakefile-devel --===============3286081120044880808==--