Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'completeness': 0.07; 'means,': 0.07; 'subject:missing': 0.07; 'suppose': 0.07; 'subject:Windows': 0.09; 'python': 0.09; 'received:155': 0.09; 'windows,': 0.09; 'looked': 0.10; 'programs.': 0.11; 'subject:python': 0.11; 'library': 0.15; '*can*': 0.16; 'cflags': 0.16; 'disclaimers': 0.16; 'disclaimers,': 0.16; 'dll.': 0.16; 'from:addr:jpmorgan.com': 0.16; 'help?': 0.16; 'installer.': 0.16; 'msvc.': 0.16; 'received:155.180': 0.16; 'received:159.53': 0.16; 'received:169.70': 0.16; 'received:169.70.184': 0.16; 'received:bankone.net': 0.16; 'received:exchad.jpmchase.net': 0.16; 'received:jpmchase.com': 0.16; 'received:jpmchase.net': 0.16; 'received:svr.bankone.net': 0.16; 'securities,': 0.16; 'subject: \n ': 0.16; 'url:disclosures': 0.16; 'url:jpmorgan': 0.16; 'wrote:': 0.17; 'pieces': 0.17; 'replacing': 0.17; 'url:moin': 0.17; 'appears': 0.18; 'windows': 0.19; 'to:name :python-list@python.org': 0.20; 'file.': 0.20; 'together.': 0.21; 'apps': 0.23; 'dependent': 0.23; 'seems': 0.23; 'received:169.254': 0.24; 'header:In-Reply-To:1': 0.25; 'url:wiki': 0.26; 'supported': 0.26; 'am,': 0.27; '(as': 0.27; 'accuracy': 0.27; 'installing': 0.27; "doesn't": 0.28; 'all.': 0.28; 'run': 0.28; 'surprised': 0.29; 'received:169': 0.29; 'this.': 0.29; "i'm": 0.29; 'header:Received:8': 0.30; 'url:python': 0.32; 'file': 0.32; 'could': 0.32; 'curious': 0.33; 'to:addr:python-list': 0.33; 'knowledge': 0.33; 'that,': 0.34; 'needed': 0.35; 'exist': 0.35; 'expected': 0.35; 'pm,': 0.35; 'there': 0.35; 'but': 0.36; 'url:org': 0.36; 'should': 0.36; 'charset:us-ascii': 0.36; 'does': 0.37; 'two': 0.37; 'python.org': 0.37; 'subject:: ': 0.38; 'mark': 0.38; 'files': 0.38; 'to:addr:python.org': 0.39; 'step': 0.39; 'build': 0.39; 'where': 0.40; 'subject:-': 0.40; 'most': 0.61; 'is.': 0.62; 'url:%20': 0.63; 'information,': 0.63; 'url:email': 0.63; 'more': 0.63; 'fun': 0.64; 'legal': 0.65; 'subject': 0.66; 'afraid': 0.66; 'purchase': 0.67; 'believe': 0.69; 'sale': 0.76; 'mingw': 0.84; 'received:169.254.8': 0.84; 'reflection': 0.84 X-DKIM: OpenDKIM Filter v2.1.3 sz4.jpmchase.com q71FVXnf011461 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpmorgan.com; s=smtpout; t=1343835093; bh=oQLzDJhld4C4isG6jMtNQoovQZlfVQGPUnz1ULRn3cM=; h=From:To:Subject:Date:Message-ID:References:In-Reply-To: Content-Transfer-Encoding:MIME-Version:Content-Type; b=iEIDBEaInIyl6jKbtEcU80mXY5T3+Vrq4ueX7NnlhpHDQ+w2t9BdlRSi71/BmYUKR AzDkQlR8PYwWfAXZD41IDlU0m+e4wafeq4QIHVgRkb1vmJfs7vA15H7p4plxLs1sLN QDils6RumFxBBNDDxzzk7hOkMd28e6g1onAbyBk4= From: "Prasad, Ramit" To: "python-list@python.org" Subject: RE: EXTERNAL: Re: missing python-config and building python on Windows Thread-Topic: EXTERNAL: Re: missing python-config and building python on Windows Thread-Index: AQHNb3932b7KNTermUqEW68MpNJ2wZdElWuAgACFj4D///seAA== Date: Wed, 1 Aug 2012 15:31:20 +0000 References: <50187CF7.3080706@clear.net> <5018A755.60609@gmail.com> <5019175F.8010404@lmco.com> In-Reply-To: <5019175F.8010404@lmco.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.67.79.47] Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-DLP-FWD: Yes Content-Type: text/plain; charset="us-ascii" X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 41 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1343835512 news.xs4all.nl 6976 [2001:888:2000:d::a6]:44455 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:26367 > On 7/31/2012 11:49 PM, Mark Hammond wrote:=0D=0A> > On 1/08/2012 10:48 AM= , Damon Register wrote:=0D=0A> >> 1=2E though I have looked in a few readme= files, I don't see instructions for=0D=0A> >> installing what I have j= ust built using MSVC=2E Where can I find the=0D=0A> >> instructions fo= r installing after building with MSVC?=0D=0A> >=0D=0A> > There is no such p= rocess=2E In general, you can just run directly from the=0D=0A> built tree= =2E=0D=0A> That is a bummer=2E That makes me more curious about how the Wi= ndows=0D=0A> installer was made and how all the pieces were gathered togeth= er=2E=0D=0A> =0D=0A> > I'm afraid I don't know what python-config is=2E It= appears it might be a=0D=0A> reflection of how Python=0D=0A> > was configu= red and build on *nix systems - if that is the case then it is=0D=0A> expec= ted that one does not=0D=0A> > exist for Windows (as it doesn't use the *ni= x build chain)=2E=0D=0A> which means, I guess, that mingw is barely support= ed if at all=2E=0D=0A> While it may be Windows, mingw/msys is a nice way to= build many=0D=0A> programs that are unix oriented=2E I suppose that just = for fun I=0D=0A> should try to build python on SuSE to see how it goes=2E= =0D=0A> =0D=0A> >> 3=2E It seems that MSVC doesn't produce the =2Ea library= files needed for=0D=0A> >> linking=0D=0A> >> into a mingw built progra= m=2E Do I have to do that fun trick to=0D=0A> >> create the=0D=0A> >> = =2Ea from the dll?=0D=0A> >=0D=0A> > I'm surprised MSVC *can* build =2Ea fi= les for mingw - but AFAIK, even if MSVC=0D=0A> could do that, I believe=0D= =0A> > Python makes no attempt to build with support for linking into mingw= =0D=0A> programs=2E=0D=0A> I don't know that MSVC can do this=2E The only = process of which I am aware is a=0D=0A> two step process using pexports and= dlltool to generate the =2Ea file from a=0D=0A> dll=2E=0D=0A> One reason I= was using the python=2Eorg installer is that it already had the=0D=0A> pyt= hon27=2Ea file=2E Now I am even more curious about what was used to build= =0D=0A> python=0D=0A> and create that installer=2E=0D=0A> =0D=0A> The pytho= n=2Eorg installer provided all I needed for build most python dependent=0D= =0A> apps with mingw until I ran into one that needed python-config=2E I s= uppose=0D=0A> that=0D=0A> if python-config does what I suspect it does (pro= duce cflags and ldflags as=0D=0A> does pkg-config) then perhaps I could jus= t fake it by replacing use of=0D=0A> python-config with what the cflags and= ldflags should be for where I have=0D=0A> python=2E=0D=0A=0D=0AI have no k= nowledge about building Python but does this help? =0D=0Ahttp://wiki=2Epyth= on=2Eorg/moin/Building%20Python%20with%20the%20free%20MS%20C%20Toolkit =0D= =0A=0D=0ARamit=0D=0A=0D=0AThis email is confidential and subject to importa= nt disclaimers and=0D=0Aconditions including on offers for the purchase or = sale of=0D=0Asecurities, accuracy and completeness of information, viruses,= =0D=0Aconfidentiality, legal privilege, and legal entity disclaimers,=0D=0A= available at http://www=2Ejpmorgan=2Ecom/pages/disclosures/email=2E