Fwd: How to install development package on linux?

Kwpolska kwpolska at gmail.com
Sat Mar 2 20:52:50 CET 2013


On Sat, Mar 2, 2013 at 7:00 PM, Sarbjit singh <sarbjit1987 at 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 at 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



More information about the Python-list mailing list