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: 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: 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> 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 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Message-ID: 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 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 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.