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?

Newsgroups comp.lang.python
Date 2013-03-02 22:46 -0800
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>
Subject Re: How to install development package on linux?
From Sarbjit singh <sarbjit1987@gmail.com>
Message-ID <mailman.2818.1362293190.2939.python-list@python.org> (permalink)

Show all headers | 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