Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #18029
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rami.chowdhury@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.035 |
| X-Spam-Evidence | '*H*': 0.93; '*S*': 0.00; 'help?': 0.03; 'skip:/ 40': 0.07; 'either.': 0.09; 'error:': 0.10; '6.0,': 0.16; 'rhel': 0.16; 'skip:/ 50': 0.16; 'skip:\xc2 30': 0.16; 'subject:installing': 0.16; 'subject:mod_python': 0.16; 'cc:addr:python-list': 0.16; "wouldn't": 0.17; 'wrote:': 0.18; 'cc:no real name:2**0': 0.20; 'apache': 0.21; 'dec': 0.22; 'header:In-Reply-To:1': 0.22; 'gcc': 0.23; 'skip:` 20': 0.23; 'noticed': 0.24; 'cc:2**0': 0.24; 'tried': 0.27; "wasn't": 0.28; 'message-id:@mail.gmail.com': 0.28; '27,': 0.29; 'cc:addr:python.org': 0.29; 'environment': 0.30; 'definition': 0.30; '"make': 0.30; 'logic': 0.30; 'installed': 0.31; 'anyone': 0.31; "i've": 0.31; 'does': 0.32; 'tue,': 0.32; "isn't": 0.33; 'there': 0.33; 'copied': 0.34; 'it."': 0.34; 'running': 0.35; 'install': 0.35; 'file': 0.36; 'uses': 0.36; 'subject:with': 0.36; 'skip:" 10': 0.37; 'but': 0.37; 'run': 0.37; 'received:74.125': 0.37; 'received:google.com': 0.37; 'using': 0.38; 'configured': 0.38; 'finding': 0.39; 'header': 0.39; 'files': 0.39; 'mark': 0.39; "it's": 0.40; 'according': 0.61; '2011': 0.61; 'provided': 0.62; 'back': 0.62; 'skip:+ 10': 0.66; 'skip:. 40': 0.67; 'discovered': 0.68; '8bit%:24': 0.84; 'blade': 0.84; 'knife': 0.84; 'skip:\xc3 10': 0.84; 'subject:Errors': 0.84; 'promptly': 0.93 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=a/z8f5kYg31dxHsevdtDJ1iumNDFDlOzbedMDZPbC6s=; b=LxlyT6NUVVNw+61YmKuzWiWLeBkr1SEgubHW4h2aZWhYiXmbDJ53+61M476HG5IRBx mN7pGftibKx/6ldVJqKyDUT+p7sS+oDKFqcK2q7WgBxUdU6oATHlYVtx3qdV45wHrRAO pJO01tWzar3lXKIjvumIfoBA0fOHy+pmeGMBo= |
| MIME-Version | 1.0 |
| In-Reply-To | <CAC2B=ZH-k5LP9o65ueuiq8t3RzdtK+5o6NwTB8iv-A_VRL8c2g@mail.gmail.com> |
| References | <CAC2B=ZH-k5LP9o65ueuiq8t3RzdtK+5o6NwTB8iv-A_VRL8c2g@mail.gmail.com> |
| Date | Tue, 27 Dec 2011 17:02:06 +0000 |
| Subject | Re: Errors installing mod_python with apache |
| From | Rami Chowdhury <rami.chowdhury@gmail.com> |
| To | Mark Seger <mjseger@gmail.com> |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | quoted-printable |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| 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> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4138.1325005328.27778.python-list@python.org> (permalink) |
| Lines | 83 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1325005328 news.xs4all.nl 6846 [2001:888:2000:d::a6]:54004 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:18029 |
Show key headers only | View raw
On Tue, Dec 27, 2011 at 13:32, Mark Seger <mjseger@gmail.com> wrote: > I've tried this on both RHEL5.5 and RHEL 6.0, using the default apache that > comes with the environment and itself isn't configured with mod_python. > > The first thing I noticed when mod_python wouldn't install was that apsx > wasn't installed either. After a lot of pain, I discovered httpd-devel > provided apsx and so installed that. > > Back to mod_python. After running ./configure --with-apxs=/usr/sbin/apxs, > according to the README I need to run "make dso", but that promptly blows up > because it's looking for header files in /usr/include/httpd and itlooks like > the apxs files are in /usr/include/apr1, so I copied all its contents to > /usr/include/httpd. > > Now when I try to make dso, it successfully gets past finding its header > files but now fails with: > > [root@rhel6 mod_python-2.7.10]# make dso > make[1]: Entering directory `/tmp/mod_python-2.7.10/src' > gcc -I/tmp/mod_python-2.7.10/src/include -I/usr/include/httpd > -I/usr/include/python2.6 -c -o mod_python.o mod_python.c > In file included from /usr/include/python2.6/pyconfig.h:6, > from /usr/include/python2.6/Python.h:8, > from /tmp/mod_python-2.7.10/src/include/mod_python.h:77, > from mod_python.c:54: > /usr/include/python2.6/pyconfig-64.h:1031:1: warning: "_POSIX_C_SOURCE" > redefined > In file included from /usr/include/sys/types.h:26, > from /usr/include/httpd/apr-x86_64.h:127, > from /usr/include/httpd/apr.h:19, > from /usr/include/httpd/ap_config.h:25, > from /usr/include/httpd/httpd.h:43, > from /tmp/mod_python-2.7.10/src/include/mod_python.h:63, > from mod_python.c:54: > /usr/include/features.h:213:1: warning: this is the location of the previous > definition > In file included from mod_python.c:54: > /tmp/mod_python-2.7.10/src/include/mod_python.h:93: error: expected â=â, > â,â, â;â, âasmâ or â__attribute__â before â*â token > /tmp/mod_python-2.7.10/src/include/mod_python.h:96: error: expected â=â, > â,â, â;â, âasmâ or â__attribute__â before âpython_moduleâ > In file included from /tmp/mod_python-2.7.10/src/include/mod_python.h:99, > from mod_python.c:54: > /tmp/mod_python-2.7.10/src/include/util.h:57: error: expected â;â, â,â or > â)â before â*â token > In file included from /tmp/mod_python-2.7.10/src/include/mod_python.h:100, > from mod_python.c:54: > > and a lot more. Can anyone help? Is there a reason you're not using the system package manager? Does "yum install mod_python" not find anything? How about "yum provides */mod_python.so"? -- Rami Chowdhury "A mind all logic is like a knife all blade - it makes the hand bleed that uses it." -- Rabindranath Tagore +44-7581-430-517 / +1-408-597-7068 / +88-0189-245544
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Errors installing mod_python with apache Rami Chowdhury <rami.chowdhury@gmail.com> - 2011-12-27 17:02 +0000
csiph-web