Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'subject:missing': 0.07; 'subject:Windows': 0.09; 'python': 0.09; 'cc:addr:python-list': 0.10; 'looked': 0.10; 'programs.': 0.11; 'subject:python': 0.11; 'library': 0.15; '*can*': 0.16; '2.7.3': 0.16; 'from:name:mark hammond': 0.16; 'msvc.': 0.16; 'reply- to:addr:mhammond': 0.16; 'reply-to:addr:skippinet.com.au': 0.16; 'wrote:': 0.17; 'directory.': 0.17; 'appears': 0.18; 'windows': 0.19; 'sort': 0.21; 'trying': 0.21; 'installation': 0.23; 'cc:2**0': 0.23; 'work.': 0.23; 'this:': 0.23; 'installed': 0.23; 'seems': 0.23; 'cc:no real name:2**0': 0.24; 'tried': 0.25; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'supported': 0.26; 'am,': 0.27; '(as': 0.27; 'installing': 0.27; "doesn't": 0.28; 'run': 0.28; 'attempting': 0.29; 'optional': 0.29; 'surprised': 0.29; 'source': 0.29; "i'm": 0.29; 'that.': 0.30; 'worked': 0.30; 'received:209.85.160.46': 0.32; 'could': 0.32; 'that,': 0.34; 'received:google.com': 0.34; 'project': 0.34; 'list': 0.35; 'needed': 0.35; 'exist': 0.35; 'expected': 0.35; 'received:192.168.0': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'but': 0.36; 'message-id:@gmail.com': 0.36; 'too': 0.36; 'problems': 0.36; 'does': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'mark': 0.38; 'files': 0.38; 'some': 0.38; 'received:192': 0.39; 'build': 0.39; 'where': 0.40; 'received:192.168': 0.40; 'subject:-': 0.40; 'header:Received:5': 0.40; 'is.': 0.62; 'fun': 0.64; 'gave': 0.65; 'afraid': 0.66; 'header:Reply-To:1': 0.68; 'believe': 0.69; 'reply-to:no real name:2**0': 0.72; 'mingw': 0.84; 'reflection': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=oavM5MNTERPWsl/m8P9hduQIKrFoJKM3gN+ZNMyZZhY=; b=F4xbLCJ74HB7TQikEQ76UyZ5k55RgGBoYjg++T5Y2hG61SurvuHhDDWOQSjBlG3i3Q u5RpZQu0SS2i96nfI3MDckFb4lwenI2PAITAFhs7GbyLI+L5SHGeCq3YWF6UoKHGxHG/ kaASSEC5STrJg3DaLaH5C5L42dG41sxbvpGPsjd7lXqIq/6TItXR8yzzoziz6qMvgZmo d+5n531c5Mi5geAOcVs8E8SmeFgVW4GaAJ88W2AEAiBQq7MgUXFNBJ7nhWqg9APnRljX UOGpP6XxcGzKHALw6Pfw4bqUkOTqCpzs6knO06kmm0ssV1lIpF6CpCzYtXr+SOFZWOJ7 JTjQ== Date: Wed, 01 Aug 2012 13:49:41 +1000 From: Mark Hammond User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/16.0 Thunderbird/16.0a2 MIME-Version: 1.0 To: Damon Register Subject: Re: missing python-config and building python on Windows References: <50187CF7.3080706@clear.net> In-Reply-To: <50187CF7.3080706@clear.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: mhammond@skippinet.com.au 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: 45 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1343792992 news.xs4all.nl 6847 [2001:888:2000:d::a6]:55376 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:26335 On 1/08/2012 10:48 AM, Damon Register wrote: > I am attempting to build gtk and glade using mingw/msys. It seems that > some > of the packages require python. I installed 2.7.3 using the installer from > python.org. That worked for some of the packages but now I am trying to do > one that needs python-config which I don't find in the installation > directory. > > I tried building from source using mingw/msys but that had too many > problems > so I gave up on that. I thought I might try building with MSVC 2010 since > it appears to be supported and I have that at work. There are a few > problems > with this: > 1. though I have looked in a few readme files, I don't see instructions for > installing what I have just built using MSVC. Where can I find the > instructions for installing after building with MSVC? There is no such process. In general, you can just run directly from the built tree. > 2. I have searched the project directory but I don't find > python-config. Is > this some sort of optional thing that isn't built by default? I tried > searching this list and although I find a few questions about it, I > don't > see an answer to where I can find it. I'm afraid I don't know what python-config is. It appears it might be a reflection of how Python was configured and build on *nix systems - if that is the case then it is expected that one does not exist for Windows (as it doesn't use the *nix build chain). > 3. It seems that MSVC doesn't produce the .a library files needed for > linking > into a mingw built program. Do I have to do that fun trick to > create the > .a from the dll? I'm surprised MSVC *can* build .a files for mingw - but AFAIK, even if MSVC could do that, I believe Python makes no attempt to build with support for linking into mingw programs. Mark