Re: bakefile fails on Snow Leopard

Vaclav Slavik <[email protected]> Wed, 07 Oct 2009 07:02:54 +0200
Newsgroups gmane.comp.sysutils.bakefile.devel
Message-ID <1254891774.26200.13.camel@localhost>
--===============2185738855697223048==
Content-Type: multipart/signed; micalg="pgp-sha1";
	protocol="application/pgp-signature";
	boundary="=-7xkkGj+50uqaHpt7gHGj"


--=-7xkkGj+50uqaHpt7gHGj
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Tue, 2009-10-06 at 14:31 -0700, Kevin Ollivier wrote:
> I don't think Bakefile currently checks and compiles the extension to
> match the architecture used by Python itself=20

Bakefile's binary package contains the extension for more archs and
versions, but it doesn't account for Snow Leopard yet. Here's a blind
patch to makepkg.sh to compile 10.6 version too (just run the script
from macosx directory):



Index: macosx/makepkg.sh
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- macosx/makepkg.sh	(revision 1316)
+++ macosx/makepkg.sh	(working copy)
@@ -59,6 +59,7 @@
=20
 build_with_sdk "10.4u"  "10.4"  "2.3"  "ppc i386"
 build_with_sdk "10.5"   "10.5"  "2.5"  "ppc i386"
+build_with_sdk "10.6"   "10.6"  "2.6"  "i386 x86_64"
=20
 if [ -n "$EXTRA_BINMODULES" ] ; then
     (cd $EXTRA_BINMODULES ; tar c .) | (cd $pydir/binmodules ; tar x)



(It's my understanding that 10.6 is Intel-only and so building ppc or
even ppc64 versions doesn't make sense anymore.)

I didn't install 10.6 yet, so any testing of this patch would be much
appreciated.

Thanks,
Vaclav


--=-7xkkGj+50uqaHpt7gHGj
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)

iEYEABECAAYFAkrMIP4ACgkQxDYa/UZSZMmwgwCgnubkyTif+1CZrIu8aHv15doB
Zn8An19Ts1fhLCWPe5fgtMtQpjIfiPWa
=d3+o
-----END PGP SIGNATURE-----

--=-7xkkGj+50uqaHpt7gHGj--



--===============2185738855697223048==
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
--===============2185738855697223048==
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

--===============2185738855697223048==--