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


Groups > comp.lang.python > #40414

Re: How to install development package on linux?

Date 2013-03-03 09:26 -0700
From Michael Torrie <torriem@gmail.com>
Subject Re: How to install development package on linux?
References (3 earlier) <CAMw+j7K4t8HZBcO2-48Z4jChOvn=CUJeqodRd16Be1uvFFPsZQ@mail.gmail.com> <mailman.2794.1362253993.2939.python-list@python.org> <e8644fe1-416a-4d55-8a9d-2933949a3786@googlegroups.com> <mailman.2816.1362291841.2939.python-list@python.org> <a53cf34a-f857-49f6-b323-18ddf1f246f1@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.2822.1362328007.2939.python-list@python.org> (permalink)

Show all headers | View raw


On 03/02/2013 11:39 PM, Sarbjit singh wrote:
> Yes, I configured the makefile for mod_wsgi as without any error :
>  ./configure --prefix=/opt/lampp/ --with-apxs=/opt/lampp/bin/apxs --with-python=/opt/lampp/python/bin/python2.7 --with-mutex-dir=/opt/lampp/var/run/wsgi

This is not quite right.  the --with-python option should point to the
python install path, not the python binary itself.  It probably should be:

--with-python=/opt/lampp/python

Presuming that's what you used as a prefix when you built and installed
python 2.7.

When installing from source code, there's no such thing as a
"development package."  Tarballs nominally install binaries, libraries,
and header files, which is the equivalent of a Red Hat rpm plus the
devel rpm.  In other words when you did a "make install" everything you
need to compile against python 2.7 is installed to the prefix you used.

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


Thread

How to install development package on linux? Sarbjit singh <sarbjit1987@gmail.com> - 2013-03-01 22:24 -0800
  Re: How to install development package on linux? Kwpolska <kwpolska@gmail.com> - 2013-03-02 09:45 +0100
    Re: How to install development package on linux? Sarbjit singh <sarbjit1987@gmail.com> - 2013-03-02 10:00 -0800
      Fwd: How to install development package on linux? Kwpolska <kwpolska@gmail.com> - 2013-03-02 20:52 +0100
        Re: How to install development package on linux? Sarbjit singh <sarbjit1987@gmail.com> - 2013-03-02 22:14 -0800
          Re: How to install development package on linux? Benjamin Kaplan <benjamin.kaplan@case.edu> - 2013-03-02 22:23 -0800
            Re: How to install development package on linux? Sarbjit singh <sarbjit1987@gmail.com> - 2013-03-02 22:39 -0800
              Re: How to install development package on linux? Sarbjit singh <sarbjit1987@gmail.com> - 2013-03-02 22:46 -0800
              Re: How to install development package on linux? Sarbjit singh <sarbjit1987@gmail.com> - 2013-03-02 22:46 -0800
              Re: How to install development package on linux? Michael Torrie <torriem@gmail.com> - 2013-03-03 09:26 -0700
            Re: How to install development package on linux? Sarbjit singh <sarbjit1987@gmail.com> - 2013-03-02 22:39 -0800
        Re: How to install development package on linux? Sarbjit singh <sarbjit1987@gmail.com> - 2013-03-02 22:14 -0800
    Re: How to install development package on linux? Sarbjit singh <sarbjit1987@gmail.com> - 2013-03-02 10:00 -0800

csiph-web