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


Groups > comp.lang.python > #40362

Fwd: How to install development package on linux?

References <76c6aca8-50da-42d3-82e9-2d9c74785570@googlegroups.com> <mailman.2772.1362213932.2939.python-list@python.org> <fb42a4af-2bdf-4693-acd7-9775b23299b7@googlegroups.com> <CAMw+j7K4t8HZBcO2-48Z4jChOvn=CUJeqodRd16Be1uvFFPsZQ@mail.gmail.com>
From Kwpolska <kwpolska@gmail.com>
Date 2013-03-02 20:52 +0100
Subject Fwd: How to install development package on linux?
Newsgroups comp.lang.python
Message-ID <mailman.2794.1362253993.2939.python-list@python.org> (permalink)

Show all headers | View raw


On Sat, Mar 2, 2013 at 7:00 PM, Sarbjit singh <sarbjit1987@gmail.com> wrote:
> On Saturday, March 2, 2013 2:15:08 PM UTC+5:30, Kwpolska wrote:
>> On Sat, Mar 2, 2013 at 7:24 AM, Sarbjit singh <sarbjit1987@gmail.com> wrote:
>>
>> > Sorry for this basic question but I am having problem compiling mod_wsgi on Linux. As per mod_wsgi package site, user must have python development package installed on system.
>>
>> >
>>
>> > I had installed Python2.7 on my Linux system from source code, using the following configuration few months back :-
>>
>> >
>>
>> > ./configure –prefix=<path> --enable-shared
>>
>> > Make –i install
>>
>> >
>>
>> > But I am not able to find how to install development package from source code.
>>
>> >
>>
>> > Can some one please conform if I can install the development package from the same source code (Downloaded from Python Website for Unix) and please share the configuration switch for the same.
>>
>> >
>>
>> > Thanks,
>>
>> > Sarbjit
>>
>> > --
>>
>> > http://mail.python.org/mailman/listinfo/python-list
>>
>>
>>
>> Why do you use source tarballs?  Your distro should provide nice
>>
>> binary packages for Python and mod_wsgi.  And in case it doesn’t, your
>>
>> distro sucks and you should find a better one.
>>
>>
>>
>> The development things are usually installed by default by most
>>
>> things.  Distributions offer them in -dev or -devel packages.
>>
>>
>>
>> --
>>
>> Kwpolska <http://kwpolska.tk> | GPG KEY: 5EAAEA16
>>
>> stop html mail                | always bottom-post
>>
>> http://asciiribbon.org        | http://caliburn.nl/topposting.html
>
> I am using Red Hat 5, could you please give some pointers on how to install these packages?
> --
> http://mail.python.org/mailman/listinfo/python-list

Impossible, unless you:
(a) build such packages yourself (Fedora .spec files may help you); or
(b) upgrade to RHEL 6, which offers packages for python 2.6 and mod_wsgi; or
(c) look for such packages on the Internet (you probably won’t find any).

So, get back to compiling from source.  Have you actually tried
building those packages before asking?  Because, according to the Arch
Linux PKGBUILDs for python2 and mod_wsgi2, it doesn’t have any
specific switches to enable anything “devel-related” (also, Arch Linux
doesn’t bother with the dumb -dev(el) packages, which make no sense in
real life).

-- 
Kwpolska <http://kwpolska.tk> | GPG KEY: 5EAAEA16
stop html mail                | always bottom-post
http://asciiribbon.org        | http://caliburn.nl/topposting.html

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