Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: "John D. Gwinner" Newsgroups: comp.lang.python Subject: Installation error, compiling from source on Oracle Linux Date: Tue, 16 Feb 2016 04:26:56 +0000 Lines: 50 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de npK0Z+rzFagv8E40CPlvBgf/1Fbs9OxxN/Sp84idMIEA== 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; 'error:': 0.05; 'i?m': 0.05; 'bootstrap': 0.07; 'i?ve': 0.07; 'main()': 0.07; 'we?re': 0.07; '#error': 0.09; 'bug': 0.10; 'python': 0.10; 'subject:error': 0.11; '"this': 0.13; '2.7': 0.13; '-o2': 0.16; '-wall': 0.16; 'i?d': 0.16; 'received:exchangelabs.com': 0.16; 'received:io': 0.16; 'received:prod.exchangelabs.com': 0.16; 'received:psf.io': 0.16; 'subject:Installation': 0.16; 'things"': 0.16; 'zlib': 0.16; 'app': 0.16; 'version.': 0.18; 'to:name :python-list@python.org': 0.20; 'gcc': 0.22; 'seems': 0.23; 'import': 0.24; '(most': 0.24; 'downloaded': 0.24; 'install': 0.25; "i've": 0.25; 'linux': 0.26; 'error': 0.27; 'define': 0.27; 'idea': 0.28; 'python2.7': 0.29; "i'm": 0.30; "we're": 0.30; 'skip:[ 10': 0.31; "i'd": 0.31; 'error.': 0.31; "can't": 0.32; 'included': 0.32; 'skip:. 10': 0.32; 'source': 0.33; 'oracle': 0.33; 'traceback': 0.33; 'skip:- 10': 0.34; 'file': 0.34; 'server': 0.34; 'gives': 0.35; 'skip:& 20': 0.35; 'done': 0.35; 'installing': 0.35; 'skip:. 20': 0.35; 'but': 0.36; 'skip:i 20': 0.36; 'url:org': 0.36; 'to:addr:python-list': 0.36; 'received:10': 0.37; 'skip:& 10': 0.37; 'release': 0.37; 'url:rec-html40': 0.37; 'charset:us-ascii': 0.37; 'doing': 0.38; 'version': 0.38; 'building': 0.38; 'skip:p 20': 0.38; 'thank': 0.38; 'skip:- 20': 0.39; 'subject:from': 0.39; 'build': 0.40; 'to:addr:python.org': 0.40; 'url:schemas': 0.40; 'some': 0.40; 'url:office': 0.40; 'john': 0.61; '../configure': 0.84; './configure': 0.84; 'from:addr:john': 0.84; 'pip': 0.84; 'subject:source': 0.84; '2014,': 0.91; 'this;': 0.93; '***': 0.95 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Gwinner.onmicrosoft.com; s=selector1-gwinner-org; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=LmLx7tpZM+7Ww6AYp60RNjWIxtmLfWtSbbdX1glbj28=; b=U1iQ/AX2ZZLjKFs6JjdCV7m606SgFFJV3NNoFxtajFzxptnKYvMV9Fi558RNZHV+2kjnyy9ecVVF7d1psPr99dbzcXV/JNziTgSAKUXyzb+jcfQx8l9gIlWMcU6kPq1ENwWCQSyotI/DZqQSdp8NnoRlzVpK448uVqf4a9n0PFI= Thread-Topic: Installation error, compiling from source on Oracle Linux Thread-Index: AdFociJUbPImMPKaQRWDPzi0PVPSUw== Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: python.org; dkim=none (message not signed) header.d=none;python.org; dmarc=none action=none header.from=gwinner.org; x-originating-ip: [162.252.100.174] x-microsoft-exchange-diagnostics: 1; CY1PR01MB1705; 5:FvgzFxuCMeGLSj3cIT+cOeRslqeZOd+J5yxZdnmi1UClBxw+qhC5RZ9Ufv1nd3tjWVPNpJQbbH/LfNipIH7uuPxYVuXS5U84voSiZa1yEKxu9+boVhZcBplyyfYpNkJYsZpGPuBQ4HczYTo8UvDW2Q==; 24:tf20v8+MTMDWabugSUku6ZfWL5wkKzeU3LdVbYHW9A4L3dRbDAp0zDZWB4x89xfd90Q2Sz0ApxmTO9mEWBc2qB5gUt/ogNJek2CIehVsiV8= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR01MB1705; x-ms-office365-filtering-correlation-id: 382d62fe-6d66-4bc7-a0c2-08d3368967d9 x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(2401047)(5005006)(8121501046)(10201501046)(3002001); SRVR:CY1PR01MB1705; BCL:0; PCL:0; RULEID:; SRVR:CY1PR01MB1705; x-forefront-prvs: 0854128AF0 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(11100500001)(19580395003)(33656002)(5003600100002)(1096002)(3280700002)(74316001)(229853001)(66066001)(2351001)(450100001)(5008740100001)(5002640100001)(87936001)(1220700001)(790700001)(6116002)(54356999)(189998001)(122556002)(92566002)(50986999)(10400500002)(3846002)(102836003)(16236675004)(19300405004)(107886002)(5001960100002)(40100003)(19625215002)(3660700001)(110136002)(2906002)(86362001)(15975445007)(5004730100002)(77096005)(2501003)(586003)(2900100001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR01MB1705; H:CY1PR01MB1707.prod.exchangelabs.com; FPR:; SPF:None; MLV:sfv; LANG:en; spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM X-OriginatorOrg: gwinner.org X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Feb 2016 04:26:56.7294 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 2939243b-83ee-40ee-a122-f2ed8b68ea6a X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR01MB1705 X-Mailman-Approved-At: Tue, 16 Feb 2016 07:55:00 -0500 X-Content-Filtered-By: Mailman/MimeDel 2.1.21rc2 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21rc2 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:103001 I'm installing an app that requires Carbon and some other Python 2.7 featur= es. The version of Oracle Linux we're using comes with 2.6. I've read that it is not a good idea to directly update the O/S as it "may = break things" so I'm doing make altinstall. I've downloaded Python-2.7.11 Downloaded zlib-1.2.8 Done ./configure --prefix=3D/root/Python-2.7.8 --with-libs=3D/usr/local/lib --di= sable-ipv6 However, I get an error while compiling. make altinstall gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -= Wstrict-prototypes -I. -IInclude -I./Include -DPy_BUILD_CORE -o Modules/= python.o ./Modules/python.c In file included from Include/Python.h:58, from ./Modules/python.c:3: Include/pyport.h:256:13: error: #error "This platform's pyconfig.h needs to= define PY_FORMAT_LONG_LONG" make: *** [Modules/python.o] Error 1 I CAN compile without zlib, but then pip gives an error. python2.7 get-pip.py Traceback (most recent call last): File "get-pip.py", line 19017, in main() File "get-pip.py", line 194, in main bootstrap(tmpdir=3Dtmpdir) File "get-pip.py", line 82, in bootstrap import pip zipimport.ZipImportError: can't decompress data; zlib not available I'd use findRPM but that seems to be 2.7.8, not 2.7.11, and it seems reason= able, if I'm building this, to build the most recent version. Any ideas? I have web searched this; I found a bug that was closed in 2014,= and I just got all new source *right now*. I'm doing a very vanilla install on Oracle Linux Server release 6.7 Thank you, =3D=3D John =3D=3D