Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!newsreader4.netcologne.de!news.netcologne.de!bcyclone04.am1.xlned.com!bcyclone04.am1.xlned.com!newsfeed.xs4all.nl!newsfeed1.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.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; '21,': 0.07; '22,': 0.09; 'makefile': 0.09; 'newly': 0.09; 'subject: [': 0.09; 'windows,': 0.09; 'python': 0.11; '#ifndef': 0.16; '(there': 0.16; 'commented': 0.16; 'make,': 0.16; 'ported': 0.16; 'porting': 0.16; 'referencing': 0.16; 'subject:Problem': 0.16; 'sysconfig': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'email addr:gmail.com>': 0.22; 'previously': 0.22; 'separate': 0.22; 'to:name:python- list@python.org': 0.22; 'fixed.': 0.24; 'sort': 0.25; "i've": 0.25; 'source': 0.25; '>': 0.26; 'post': 0.26; 'to:2**1': 0.27; 'function': 0.29; 'chris': 0.29; 'am,': 0.29; 'forgot': 0.30; 'message-id:@mail.gmail.com': 0.30; 'lines': 0.31; 'running': 0.33; "i'd": 0.34; 'problem': 0.35; 'subject:with': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'picking': 0.36; 'done': 0.36; 'subject:]': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'rather': 0.38; 'to:addr:python.org': 0.39; 'commands': 0.60; 'new': 0.61; 'back': 0.62; 'different': 0.65; 'to:addr:gmail.com': 0.65; 'jobs': 0.68; 'subject:Build': 0.68; 'history,': 0.84; 'mingw': 0.84; 'pike': 0.84; 'subject:Android': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=5fxmzgDRaa3brk9qwxjhSbttwM3R2vy4KhexOh9L4bU=; b=mUeQleydxyzBWlopVmJT/zbzwx1kTmF8RHknQGkHckawALCvt2nQa5x4s7FOQUmA4B x55Z38ZWOKqEUYBZDNheZlprZ3skWd79Pqyj+OwYVHtTGmi2aw0GXo5OLK4Y2+Bk/88E BP5XyZB6zXUxDDajI6V+QUAn7yZTyrFTw6uFn6uRGInwKa6CRwn0PW1e90W0DnQzyzr7 EHlJ/vNftfQ4kb1OjVeIpzth32+kQR8U2tAzDX8OsokI2s/EUKAj/MZRA1vfjN64Ba3o ztnTDBPvLBtT/aduNuIvFSKNtX1Se8Rm4E56L5hp/fsnCi0o++KZplE4d0r2JNtxAiFn VYWw== MIME-Version: 1.0 X-Received: by 10.202.220.195 with SMTP id t186mr66975oig.86.1414018940881; Wed, 22 Oct 2014 16:02:20 -0700 (PDT) Date: Wed, 22 Oct 2014 18:02:20 -0500 Subject: Re: Problem with Android Build [SOLVED] From: Cyd Haselton To: Chris Angelico , "python-list@python.org" Content-Type: multipart/alternative; boundary=001a113d3e20ad72bd05060af032 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 63 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1414019443 news.xs4all.nl 2901 [2001:888:2000:d::a6]:36667 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 6272 X-Received-Body-CRC: 1499638835 Xref: csiph.com comp.lang.python:79480 --001a113d3e20ad72bd05060af032 Content-Type: text/plain; charset=UTF-8 On Tue, Oct 21, 2014 at 1:57 PM, Chris Angelico wrote: > On Wed, Oct 22, 2014 at 5:53 AM, Cyd Haselton wrote: > > I forgot to add...I also removed and/or commented out lines referencing > > Modules/pwdmodule.o. > > Sounds like the normal sort of work involved in porting to a new > platform. I've done a few of those kinds of jobs - ported Pike to > OS/2, and to MinGW (there is an official Pike for Windows, but I > wanted to use MinGW rather than MSVC), and there's a lot of fiddling > around to be done! > > ChrisA > This problem is fixed. I'd previously removed Makefile commands to build posixmodule.o because of an undeclared reference to I_PUSH. After picking through the source and history, I added them back in and instead added an #ifndef __ANDROID__ around the function that used I_PUSH. Ran a make clean...then make, and the newly built python was able to find sysconfig and build pybuilddir.txt Running into a different error, which I will post separate from this one. --001a113d3e20ad72bd05060af032 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Tue, Oct 21, 2014 at 1:57 PM, Chris Angelico <<= a href=3D"mailto:rosuav@gmail.com" target=3D"_blank">rosuav@gmail.com&g= t; wrote:
On Wed, Oct 22, 2014 at = 5:53 AM, Cyd Haselton <chaselton@= gmail.com> wrote:
> I forgot to add...I also removed and/or commented out lines referencin= g
> Modules/pwdmodule.o.

Sounds like the normal sort of work involved in porting to a new
platform. I've done a few of those kinds of jobs - ported Pike to
OS/2, and to MinGW (there is an official Pike for Windows, but I
wanted to use MinGW rather than MSVC), and there's a lot of fiddling around to be done!

ChrisA

This problem is fix= ed. I'd previously removed Makefile commands to build posixmodule.o bec= ause of an undeclared reference to I_PUSH.=C2=A0 After picking through the = source and history, I added them back in and instead added an #ifndef __AND= ROID__ around the function that used I_PUSH.

Ran a make clean...then make, and th= e newly built python was able to find sysconfig and build pybuilddir.txt

Running = into a different error, which I will post separate from this one.
--001a113d3e20ad72bd05060af032--