From owner-freebsd-questions@FreeBSD.ORG Mon Jul 6 09:54:56 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 471951065679 for ; Mon, 6 Jul 2009 09:54:56 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id B65AA8FC17 for ; Mon, 6 Jul 2009 09:54:55 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id n669sln2001585; Mon, 6 Jul 2009 10:54:48 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk n669sln2001585 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1246874089; bh=TJpXIr62yIS7YIMvyS1ey/eT4FeN33nz1PDB0brxHCY=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4A51C9E1.4060804@infracaninophile.co.uk>|Date:=20M on,=2006=20Jul=202009=2010:54:41=20+0100|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.22=20(X11/20090625)|MIME-Vers ion:=201.0|To:=20manish=20jain=20|CC:=2 0"b.=20f."=20,=20rsmith@xs4all.nl,=20=0D=0A =20freebsd-questions@freebsd.org|Subject:=20Re:=20Urgent=20help=20 needed=20:=20portmaster=20dies=20on=20py-cairo|References:=20=20|In-Reply-To :=20| X-Enigmail-Version:=200.95.6|Content-Type:=20multipart/signed=3B=2 0micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"application/pgp-signat ure"=3B=0D=0A=20boundary=3D"------------enig9058920C18B941F4F29588 27"; b=Pw41DRfHLoWlQrQSE2D1AjMeAg7AJXLon6EuZZzLxDwuv0LOdZ3q1G0JqxBHO4AE+ Eq1EghjeAoCg6FtjANnUZN3l74BkVR5GDiXS1tWrAaSNFOIE2Utukcc/vr03KHB229 zWPCHlxWvcEs3YChRVOYhrvLRoYLG4s8Y4InxR70= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4A51C9E1.4060804@infracaninophile.co.uk> Date: Mon, 06 Jul 2009 10:54:41 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.22 (X11/20090625) MIME-Version: 1.0 To: manish jain References: In-Reply-To: X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig9058920C18B941F4F2958827" X-Virus-Scanned: clamav-milter 0.95.2 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: rsmith@xs4all.nl, "b. f." , freebsd-questions@freebsd.org Subject: Re: Urgent help needed : portmaster dies on py-cairo X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jul 2009 09:54:58 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9058920C18B941F4F2958827 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable manish jain wrote: > 1) How do I find or set PYTHON_DEFAULT_VERSION ? It's defined in /usr/ports/Mk/bsd.python.mk -- the default is 'python2.6'= since 2009-06-08. If you want to use a non-default value you can overrid= e the default by adding eg.: PYTHON_DEFAULT_VERSION=3D python2.5 to /etc/make.conf. You can see what actual value value is used by issuin= g the following command in any port that uses python: happy-idiot-talk:...ports/graphics/py-cairo:% make -V PYTHON_DEFAULT_VERS= ION python2.6 Note that 'PYTHON_DEFAULT_VERSION' is the python version any add-on modul= es will be compiled against. The similar 'PYTHON_VERSION' variable indicate= s which version of python you'ld get by running the command 'python'. Plea= se read the descriptions at the top of bsd.python.mk for more detail. > 2) What workaround would be needed in make.conf to get 2.5-hardwired po= rts > to use 2.6 instead ? You can't do it that way. Previously installed ports have to be modified= to use py26, as described in the 20090608 entry in /usr/ports/UPDATING: Once the installed Python has been updated to 2.6, by using the method above, it is required to run the upgrade-site-packages target in= lang/python to assure that site-packages are made available to the new Python version. If using portupgrade: # cd /usr/ports/lang/python && make upgrade-site-packages If using portmaster: # cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMAS= TER The portmaster case can take quite some time to complete due to the lac= k of cached information that the portupgrade suite uses (specifically pkg_wh= ich). This is not the fault of portmaster. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig9058920C18B941F4F2958827 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkpRyecACgkQ8Mjk52CukIz+1wCfXQHHh2oYD2+rRPlQ7Gsufl3f tXkAnjVjlP/7O+ns7J8AomabSJCpN/7c =aw5C -----END PGP SIGNATURE----- --------------enig9058920C18B941F4F2958827--