Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 339AF200C65 for ; Sat, 15 Apr 2017 00:53:13 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3229C160BA3; Fri, 14 Apr 2017 22:53:13 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 77F87160B8C for ; Sat, 15 Apr 2017 00:53:12 +0200 (CEST) Received: (qmail 53522 invoked by uid 500); 14 Apr 2017 22:53:10 -0000 Mailing-List: contact pylucene-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: pylucene-dev@lucene.apache.org Delivered-To: mailing list pylucene-dev@lucene.apache.org Received: (qmail 53510 invoked by uid 99); 14 Apr 2017 22:53:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Apr 2017 22:53:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 6485CD0C16 for ; Fri, 14 Apr 2017 22:53:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.897 X-Spam-Level: X-Spam-Status: No, score=-0.897 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.796, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id nQHtksrVv_94 for ; Fri, 14 Apr 2017 22:53:06 +0000 (UTC) Received: from mail-oi0-f44.google.com (mail-oi0-f44.google.com [209.85.218.44]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 273B95FBA4 for ; Fri, 14 Apr 2017 22:53:06 +0000 (UTC) Received: by mail-oi0-f44.google.com with SMTP id r203so102167198oib.3 for ; Fri, 14 Apr 2017 15:53:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:from:date:message-id:subject:to; bh=jL/6BcDvuslI37glvtHwVhR7aaNYE8xPP/clvz4MN3o=; b=Keb5R5pNWv+4tYYepifaLqxIWnE+xNW10S5oF7nJZC4P9RbcbkUnElKAKre6qiwZ+g 8Gn4TxY6HvXY6xE1k2H2+MXqI+PeAfE/ELImY3uVsunNiOK437hT40hMDD8nKB4+gLXv 2nPcW7nyuGjjYfupGHkzqI7YwD66OtgBmadaD0yDHfmVPZMz255/2FIaE57zwer0RL2R 4BZqvzwHBP/s7o/ydj2bYgRbXVfillR9L7s6b/DjykIPrLVc92FNY0/TeYp8uKmSaYW7 07lbyvg7jr1Wk67uSCjkeQ8iMHTu7Iun7wjwGhDryaWYVjqOsRZsRNTjqNTmhW3wG9r1 QDLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:from:date:message-id :subject:to; bh=jL/6BcDvuslI37glvtHwVhR7aaNYE8xPP/clvz4MN3o=; b=VO9+PDtsCdi/3Q7RKDkfpx1e/jikvp29mlnrhQq/oKHXFWb3A+EYhgSYaHYRkiDlPH IvMU+GZh4cWBaBo1Bibta63v9LvwWKXrZtmdH/kG478fyfiVkupPCYOvn2Y7X96YWY2Y CcHlRPCCbBin6Hkkx3sh3q/jVmUVKTl53vv6vJkcUvgoH35Vja+aP+W5BikNobd8JEHS fflQdC+g0vkk1DsJ+g/bt/ImDZlr2275RSQTZNLH16qDcTeh4K2p/zDvw6UCXHyCkgwU vy3s8xnMCldx4FP8qV9/fxl7to4GEDcyhqnIn2O+jE4cBbxjVyr+X2p6xMoUphh4DC3+ P47Q== X-Gm-Message-State: AN3rC/6ioqsdou37u8+as0xUDDX4VLY2o8pbe/6L/jFRzie8OsTV3z4e Zt+1axwjcSsg7HalGdeE8MaIlAqxsNsX X-Received: by 10.157.44.217 with SMTP id e25mr7335151otd.82.1492210385427; Fri, 14 Apr 2017 15:53:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.153.138 with HTTP; Fri, 14 Apr 2017 15:52:45 -0700 (PDT) Reply-To: Petrus.Hyvonen@gmail.com From: =?UTF-8?Q?Petrus_Hyv=C3=B6nen?= Date: Sat, 15 Apr 2017 00:52:45 +0200 Message-ID: Subject: Building jcc 3.0 under linux / anaconda python To: pylucene-dev Content-Type: multipart/alternative; boundary=001a113a05ecf42609054d284d5c archived-at: Fri, 14 Apr 2017 22:53:13 -0000 --001a113a05ecf42609054d284d5c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, First, again - many thanks to all of you who made jcc work with python 3, this is a great thing! Now playing with linux building and I am using anaconda python distribution and it seems like the link library for python is called libpython3.6m.so instead of the libpython3.6 that other python seems to use and setup.py assume. I have another called libpython3. If I remove this extra_links_args it seems to build fine, as well as if I add a "m" to the end: elif platform =3D=3D 'linux': #kwds["extra_link_args"] =3D \ # lflags + ['-lpython%s.%s' %(sys.version_info[0:2])] kwds["force_shared"] =3D True # requires jcc/patches/patch.4= 3 The -m seems to indicate how python was built: http://stackoverflow.com/questions/16675865/difference-between-python3-and-= python3m-executables Not sure if there is a danger in removing this, as long as it builds fine? Best Regards /Petrus --=20 _____________________________________________ Petrus Hyv=C3=B6nen, Uppsala, Sweden Mobile Phone/SMS:+46 73 803 19 00 --001a113a05ecf42609054d284d5c--