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


Groups > comp.lang.python > #40405

Re: How to install development package on linux?

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!cs.uu.nl!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <sarbjit1987@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'binary': 0.05; 'makefile': 0.07; 'subject:How': 0.09; 'python': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10; 'files.': 0.13; 'library': 0.15; 'sat,': 0.15; 'source,': 0.15; 'benjamin': 0.16; 'subject:install': 0.16; 'wrote:': 0.17; 'package.': 0.17; 'resolved': 0.17; 'skip:- 40': 0.21; 'trying': 0.21; 'cc:2**0': 0.23; 'work.': 0.23; 'errors': 0.23; 'installed': 0.23; 'cc:no real name:2**0': 0.24; 'header': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'creating': 0.26; 'skip:" 20': 0.26; 'compiled': 0.27; 'installing': 0.27; 'subject:development': 0.29; 'initially': 0.30; 'error': 0.30; 'point': 0.31; 'skip:- 30': 0.31; 'file': 0.32; 'could': 0.32; 'getting': 0.33; "aren't": 0.33; 'point,': 0.33; 'singh': 0.33; 'skip:- 20': 0.34; 'received:google.com': 0.34; 'path': 0.35; 'pm,': 0.35; 'subject:?': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'does': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'files': 0.38; 'google': 0.39; 'your': 0.60; 'link': 0.60; 'different': 0.63; 'more': 0.63; 'due': 0.66; './configure': 0.84; '2013': 0.84; 'package"': 0.91
X-Received by 10.49.120.105 with SMTP id lb9mr233183qeb.17.1362293186908; Sat, 02 Mar 2013 22:46:26 -0800 (PST)
Newsgroups comp.lang.python
Date Sat, 2 Mar 2013 22:46:25 -0800 (PST)
In-Reply-To <a53cf34a-f857-49f6-b323-18ddf1f246f1@googlegroups.com>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=59.145.174.78; posting-account=QoiVRAoAAADwpanHrAdWoQYFEWG_KIKS
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> <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>
User-Agent G2/1.0
X-Google-Web-Client true
X-Google-IP 59.145.174.78
MIME-Version 1.0
Subject Re: How to install development package on linux?
From Sarbjit singh <sarbjit1987@gmail.com>
To comp.lang.python@googlegroups.com
Content-Type text/plain; charset=ISO-8859-1
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Message-ID <mailman.2818.1362293190.2939.python-list@python.org> (permalink)
Lines 68
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1362293190 news.xs4all.nl 6902 [2001:888:2000:d::a6]:54575
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:40405

Show key headers only | View raw


On Sunday, March 3, 2013 12:09:46 PM UTC+5:30, Sarbjit singh wrote:
> On Sunday, March 3, 2013 11:53:50 AM UTC+5:30, Benjamin Kaplan wrote:
> 
> > On Sat, Mar 2, 2013 at 10:14 PM, Sarbjit singh <sarbjit1987@gmail.com> wrote:
> 
> > 
> 
> > >
> 
> > 
> 
> > > I searched on google and found these errors could be due to missing python header files which would be available in development package.
> 
> > 
> 
> > >
> 
> > 
> 
> > > So I am struggling to make it work.
> 
> > 
> 
> > 
> 
> > 
> 
> > 
> 
> > 
> 
> > A "development package" is meaningless when you aren't installing it
> 
> > 
> 
> > from a package. Debian's binary packages don't include the header
> 
> > 
> 
> > files, so they put them in a different package. Since you compiled
> 
> > 
> 
> > from source, you already have the header files. Did you include the
> 
> > 
> 
> > directory you installed Python into on your library and includes
> 
> > 
> 
> > paths?
> 
> 
> 
> 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

Also my LD_LIBRARY_PATH does have path as :

/opt/lammp/python/lib

Just one more point, while initially I was trying to compiling the mod_wsgi, I was getting error for "libpython2.7.1.0.so Shared library error".

I resolved it by creating a soft link to this file in my /usr/lib and /usr/lib64. At that point also my LD_LIBRARY_PATH was having path for python lib but was resolved with soft link only.

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