From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9038 invoked by alias); 19 Jun 2010 03:18:59 -0000 Received: (qmail 9029 invoked by uid 22791); 19 Jun 2010 03:18:58 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS,TW_SM,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (74.125.121.35) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 19 Jun 2010 03:18:54 +0000 Received: from hpaq6.eem.corp.google.com (hpaq6.eem.corp.google.com [172.25.149.6]) by smtp-out.google.com with ESMTP id o5J3IpQt032560 for ; Fri, 18 Jun 2010 20:18:52 -0700 Received: from gxk4 (gxk4.prod.google.com [10.202.11.4]) by hpaq6.eem.corp.google.com with ESMTP id o5J3IoEp025599 for ; Fri, 18 Jun 2010 20:18:50 -0700 Received: by gxk4 with SMTP id 4so824109gxk.9 for ; Fri, 18 Jun 2010 20:18:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.48.89 with SMTP id q25mr748806vcf.73.1276917530194; Fri, 18 Jun 2010 20:18:50 -0700 (PDT) Received: by 10.220.189.201 with HTTP; Fri, 18 Jun 2010 20:18:50 -0700 (PDT) In-Reply-To: <4C1C3580.4000704@gmail.com> References: <4C162783.4010706@gmail.com> <4C1ABF28.4020504@gmail.com> <4C1C3580.4000704@gmail.com> Date: Sat, 19 Jun 2010 03:18:00 -0000 Message-ID: Subject: Re: issue about building windows version of gdb with python support From: Doug Evans To: asmwarrior Cc: tromey@redhat.com, gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-06/txt/msg00076.txt.bz2 On Fri, Jun 18, 2010 at 8:12 PM, asmwarrior wrote: >> In the gdb source tree, run >> >> python python/python-config.py --ldflags >> > > Thanks, I have download the latest snapshot then, run this command, here = is > the command log output > > E:\code\cb\gdb_python\gdb-7.1.50.20100619\gdb-7.1.50.20100619\gdb\python>= python- > config.py --ldflags > Traceback (most recent call last): > =A0File > "E:\code\cb\gdb_python\gdb-7.1.50.20100619\gdb-7.1.50.20100619\gdb\python > \python-config.py", line 47, in > =A0 =A0libs =3D getvar('LIBS').split() + getvar('SYSLIBS').split() > AttributeError: 'NoneType' object has no attribute 'split' > > E:\code\cb\gdb_python\gdb-7.1.50.20100619\gdb-7.1.50.20100619\gdb\python> > > > Python2.6.5 was installed in E:\code\python265 > The include header was: E:\code\python265\include =A0(all the xxxx.h file= s) > the lib was: E:\code\python265\libs =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(all t= he xxxx.lib and > libpython26.a ) > > > So, I think these information can help you to solve the python issue on > Windows. Well, I wish it did, but alas it doesn't. It seems like windows's python is incompatible with the unix's python's python-config.py script. Seems odd though.