Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #96109

Re: python---configure file

Path csiph.com!news.swapon.de!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail
Return-Path <lac@openend.se>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'configure': 0.04; 'that?': 0.05; '"no"': 0.07; 'executable': 0.07; 'override': 0.07; 'puts': 0.07; 'skip:/ 10': 0.07; 'subject:file': 0.07; 'cc:addr:python- list': 0.09; '(same': 0.09; 'apache,': 0.09; 'configure,': 0.09; 'naturally': 0.09; 'option:': 0.09; 'optional': 0.09; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'type:': 0.09; 'python': 0.10; 'package,': 0.13; 'subject:python': 0.14; '"3-way",': 0.16; '"64-bit",': 0.16; '"intel"': 0.16; '[arg=yes]': 0.16; 'cc:addr:lac': 0.16; 'cc:addr:openend.se': 0.16; 'executable,': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'message-id:@fido.openend.se': 0.16; 'packages:': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'skip:> 20': 0.16; 'something.': 0.16; 'subject:configure': 0.16; 'alternate': 0.18; 'laura': 0.18; 'all,': 0.20; '2015': 0.20; 'cc:addr:python.org': 0.20; 'cc:2**1': 0.22; 'sep': 0.22; 'trying': 0.22; 'select': 0.23; '(or': 0.23; 'installed': 0.26; 'specify': 0.27; 'this.': 0.28; 'looks': 0.29; 'received:se': 0.29; 'skip:/ 40': 0.29; 'cc:no real name:2**1': 0.29; 'url:mailman': 0.30; 'option': 0.31; 'another': 0.32; 'skip:- 30': 0.32; 'related': 0.32; 'anybody': 0.32; 'older': 0.32; 'problem': 0.33; 'url:python': 0.33; 'universal': 0.33; 'skip:- 10': 0.34; 'url:listinfo': 0.34; 'tue,': 0.34; 'file': 0.34; 'add': 0.34; 'so,': 0.35; 'i.e.': 0.35; 'replace': 0.35; 'skip:> 10': 0.35; 'something': 0.35; "isn't": 0.35; 'but': 0.36; 'should': 0.36; 'there': 0.36; 'url:org': 0.36; 'framework': 0.36; 'subject:: ': 0.37; 'setting': 0.37; 'one,': 0.37; 'charset:us-ascii': 0.37; '(with': 0.38; 'version': 0.38; 'means': 0.39; 'skip:- 20': 0.39; 'does': 0.39; 'url:mail': 0.40; 'build': 0.40; 'where': 0.40; 'called': 0.40; 'your': 0.60; 'header:Message-Id:1': 0.61; 'times': 0.63; 'experts.': 0.66; 'expert': 0.70; 'special': 0.73; '..........': 0.84; '../configure': 0.84; './configure': 0.84; 'header:In-reply-to:1': 0.84; 'package?': 0.84; 'url:distutils- sig': 0.84
To "chenchao@inhand.com.cn" <chenchao@inhand.com.cn>
cc python-list@python.org, lac@openend.se
From Laura Creighton <lac@openend.se>
Subject Re: python---configure file
In-reply-to <55EE413A.5030608@inhand.com.cn>
References <55ED8015.7030505@inhand.com.cn> <55EE413A.5030608@inhand.com.cn>
Comments In-reply-to "chenchao@inhand.com.cn" <chenchao@inhand.com.cn> message dated "Tue, 08 Sep 2015 10:00:26 +0800."
MIME-Version 1.0
Content-Type text/plain; charset="us-ascii"
Content-ID <23021.1441704612.1@fido>
Content-Transfer-Encoding quoted-printable
Date Tue, 08 Sep 2015 11:30:12 +0200
X-Greylist Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [82.96.5.2]); Tue, 08 Sep 2015 11:30:22 +0200 (CEST)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.208.1441704635.8327.python-list@python.org> (permalink)
Lines 74
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1441704635 news.xs4all.nl 23782 [2001:888:2000:d::a6]:53782
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:96109

Show key headers only | View raw


In a message of Tue, 08 Sep 2015 10:00:26 +0800, "chenchao@inhand.com.cn" write
s:
>
>hi:
>    I download the python2.7.10 package and execute cmd: ./configure 
>--help.It is messages as follow:
>
>        Optional Packages:
>--with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
>--without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
>   --with-universal-archs=ARCH
>                           select architectures for universal build 
>("32-bit",
>                           "64-bit", "3-way", "intel" or "all")
>   --with-framework-name=FRAMEWORK
>                           specify an alternate name of the framework built
>                           with --enable-framework
>   ..........
>   ..........
>--with(out)-ensurepip=[=OPTION]
>                           "install" or "upgrade" using bundled pip, 
>default is "no"
>  So, I do not know how to use package option: --with-PACKAGE[=ARG]. 
>It(PACKAGE) means 3rd party packages which I download from website? 
>which directory can i put it In python2.7.10 package? For example, I 
>download pip7.1.2 from website and I put it in python2.7.10 package dir. 
>Therefor, I add compile option --with-pip7.1.2=yes when i compile 
>python2.7.10. Does it correct? --with(out)-ensurepip=[=OPTION], how can 
>i use it?Is there anybody know that?
>

The only times I have used with-PACKAGE if you want to
configure a python package, and it wants to use a package or
a stand-alone executable, and you want to override the choice
it would naturally make in finding one of these other packages
it wants to use.  the PACKAGE whose name you replace isn't the
one you are trying to configure, but another one.

i.e.

You are setting up mod_wsgi

you type ./configure

mod_wsgi wants to configure apache, and looks for an executable file
called apxs (or apxs2) which you should have installed wherever your
distro puts such things, so for me it is /usr/bin/apxs.

I don't want to use this one.  I want to use my own special one,
or an older version of apache, or something.

I type:

./configure --with-apxs /the/full/path/name/of/the/apxs/I/want/to/use

So that is what the --with-PACKAGE is for.  I do not think it is something
that is related to your problem at all, but I am not an expert at this.
The distutils-sig
https://mail.python.org/mailman/listinfo/distutils-sig
(with the letter 't') is where you find the experts.

Laura

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: python---configure file Laura Creighton <lac@openend.se> - 2015-09-08 11:30 +0200

csiph-web