[mod_python] make problem

online service online.service.com at gmail.com
Tue Apr 21 18:43:00 EDT 2009


I ran " find / -name  apr_*  " I didn't get anything.

Does that mean I have to install Apache Portable Runtime library or
something?

Thanks




On Tue, Apr 21, 2009 at 3:30 PM, Graham Dumpleton <
graham.dumpleton at gmail.com> wrote:

> See if you can run:
>
> apr-1-config --includes
> apu-1-config --includes
>
> You may have to find where those scripts are installed, which may be
> just as much trouble as finding where the header files are if not in
> PATH or Apache bin directory.
>
> Graham
>
> 2009/4/22 online service <online.service.com at gmail.com>:
> > Thanks.
> >
> > when i ran httpd -v,
> >
> > i got this apache info:
> >
> > Server version: Apache/2.2.3
> > Server built:   Sep 11 2006 09:43:18
> >
> > OS : Fedora Core 6 with Plesk 8.1 (64-bit)
> >
> > I  am not from 1and1. Just trying to build web application with Django on
> > this 1and1 dedicated server.
> >
> >
> >
> > Thanks again
> >
> >
> >
> >
> >
> > On Tue, Apr 21, 2009 at 3:22 PM, Graham Dumpleton
> > <graham.dumpleton at gmail.com> wrote:
> >>
> >> BTW, are you a customer of 1and1 or connected with 1and1?
> >>
> >> There has been a separate question on Django list about how to use
> >> 1and1 for Django.
> >>
> >> Just curious as to whether you are from 1and1 and trying to set this
> >> up for customers.
> >>
> >> If you are, mod_python is possibly not a good choice, especially if
> >> used for shared hosting of any sort.
> >>
> >> Graham
> >>
> >> 2009/4/22 Graham Dumpleton <graham.dumpleton at gmail.com>:
> >> > As I said, you were mot likely missing Apache Portable Runtime library
> >> > header files in header file search. Find where on your box the
> >> > following header files are:
> >> >
> >> > apr.h                   apr_ldap_init.h         apr_signal.h
> >> > apr_allocator.h         apr_ldap_option.h       apr_strings.h
> >> > apr_anylock.h           apr_ldap_url.h          apr_strmatch.h
> >> > apr_atomic.h            apr_lib.h               apr_support.h
> >> > apr_base64.h            apr_md4.h               apr_tables.h
> >> > apr_buckets.h           apr_md5.h               apr_thread_cond.h
> >> > apr_date.h              apr_mmap.h              apr_thread_mutex.h
> >> > apr_dbd.h               apr_network_io.h        apr_thread_proc.h
> >> > apr_dbm.h               apr_optional.h          apr_thread_rwlock.h
> >> > apr_dso.h               apr_optional_hooks.h    apr_time.h
> >> > apr_env.h               apr_poll.h              apr_uri.h
> >> > apr_errno.h             apr_pools.h             apr_user.h
> >> > apr_file_info.h         apr_portable.h          apr_uuid.h
> >> > apr_file_io.h           apr_proc_mutex.h        apr_version.h
> >> > apr_fnmatch.h           apr_queue.h             apr_want.h
> >> > apr_general.h           apr_random.h            apr_xlate.h
> >> > apr_getopt.h            apr_reslist.h           apr_xml.h
> >> > apr_global_mutex.h      apr_ring.h              apu.h
> >> > apr_hash.h              apr_rmm.h               apu_version.h
> >> > apr_hooks.h             apr_sdbm.h              apu_want.h
> >> > apr_inherit.h           apr_sha1.h
> >> > apr_ldap.h              apr_shm.h
> >> >
> >> > This is presuming that you are actually using Apache 2.X.
> >> >
> >> > When you find them, you need to get that directory into include file
> >> > search path as your apxs is broken to the extent of not adding the
> >> > directory automatically.
> >> >
> >> > Graham
> >> >
> >> > 2009/4/22 online service <online.service.com at gmail.com>:
> >> >> this is a 1and1 preinstalled  fedora server.
> >> >>
> >> >>
> >> >> files in /usr/local/psa/admin/include:
> >> >>
> >> >>
> >> >> -r--r--r-- 1 root psaadm 15335 Mar 22  2007 ap_alloc.h
> >> >> -r--r--r-- 1 root psaadm 23605 Mar 22  2007 ap_compat.h
> >> >> -r--r--r-- 1 root psaadm  2628 Mar 22  2007 ap_config_auto.h
> >> >> -r--r--r-- 1 root psaadm 37326 Mar 22  2007 ap_config.h
> >> >> -r--r--r-- 1 root psaadm  3948 Mar 22  2007 ap_ctx.h
> >> >> -r--r--r-- 1 root psaadm  1733 Mar 22  2007 ap_ctype.h
> >> >> -r--r--r-- 1 root psaadm  1004 Mar 22  2007 ap_ebcdic.h
> >> >> -r--r--r-- 1 root psaadm  6416 Mar 22  2007 ap.h
> >> >> -r--r--r-- 1 root psaadm 26419 Mar 22  2007 ap_hook.h
> >> >> -r--r--r-- 1 root psaadm  2923 Mar 22  2007 ap_md5.h
> >> >> -r--r--r-- 1 root psaadm  5577 Mar 22  2007 ap_mm.h
> >> >> -r--r--r-- 1 root psaadm 12707 Mar 22  2007 ap_mmn.h
> >> >> -r--r--r-- 1 root psaadm  2015 Mar 22  2007 ap_sha1.h
> >> >> -r--r--r-- 1 root psaadm  6563 Mar 22  2007 buff.h
> >> >> -r--r--r-- 1 root psaadm   794 Mar 22  2007 compat.h
> >> >> -r--r--r-- 1 root psaadm   792 Mar 22  2007 conf.h
> >> >> -r--r--r-- 1 root psaadm  1901 Mar 22  2007 explain.h
> >> >> -r--r--r-- 1 root psaadm  2595 Mar 22  2007 fnmatch.h
> >> >> -r--r--r-- 1 root psaadm  2221 Mar 22  2007 hsregex.h
> >> >> -r--r--r-- 1 root psaadm  3177 Mar 22  2007 http_conf_globals.h
> >> >> -r--r--r-- 1 root psaadm 17479 Mar 22  2007 http_config.h
> >> >> -r--r--r-- 1 root psaadm 12279 Mar 22  2007 http_core.h
> >> >> -r--r--r-- 1 root psaadm 45968 Mar 22  2007 httpd.h
> >> >> -r--r--r-- 1 root psaadm  4270 Mar 22  2007 http_log.h
> >> >> -r--r--r-- 1 root psaadm  5900 Mar 22  2007 http_main.h
> >> >> -r--r--r-- 1 root psaadm  7185 Mar 22  2007 http_protocol.h
> >> >> -r--r--r-- 1 root psaadm  3229 Mar 22  2007 http_request.h
> >> >> -r--r--r-- 1 root psaadm  1779 Mar 22  2007 http_vhost.h
> >> >> -r--r--r-- 1 root psaadm  2406 Mar 22  2007 multithread.h
> >> >> -r--r--r-- 1 root psaadm  2774 Mar 22  2007 os.h
> >> >> -r--r--r-- 1 root psaadm  1588 Mar 22  2007 os-inline.c
> >> >> dr--r--r-- 8 root psaadm    92 Apr 27  2007 php
> >> >> -r--r--r-- 1 root psaadm   840 Mar 22  2007 rfc1413.h
> >> >> -r--r--r-- 1 root psaadm  5507 Mar 22  2007 scoreboard.h
> >> >> -r--r--r-- 1 root psaadm  1126 Mar 22  2007 util_date.h
> >> >> -r--r--r-- 1 root psaadm  1186 Mar 22  2007 util_md5.h
> >> >> -r--r--r-- 1 root psaadm  2007 Mar 22  2007 util_script.h
> >> >> -r--r--r-- 1 root psaadm  3328 Mar 22  2007 util_uri.h
> >> >> dr-xr-xr-x 2 root psaadm  4096 Apr 27  2007 xml
> >> >>
> >> >>
> >> >> files in  /usr/local/include/python2.5
> >> >>
> >> >>
> >> >> -rw-r--r-- 1 root root 38971 Apr 20 18:59 abstract.h
> >> >> -rw-r--r-- 1 root root  1099 Apr 20 18:59 asdl.h
> >> >> -rw-r--r-- 1 root root   230 Apr 20 18:59 ast.h
> >> >> -rw-r--r-- 1 root root   792 Apr 20 18:59 bitset.h
> >> >> -rw-r--r-- 1 root root   914 Apr 20 18:59 boolobject.h
> >> >> -rw-r--r-- 1 root root   924 Apr 20 18:59 bufferobject.h
> >> >> -rw-r--r-- 1 root root   653 Apr 20 18:59 cellobject.h
> >> >> -rw-r--r-- 1 root root  4944 Apr 20 18:59 ceval.h
> >> >> -rw-r--r-- 1 root root  2893 Apr 20 18:59 classobject.h
> >> >> -rw-r--r-- 1 root root  1763 Apr 20 18:59 cobject.h
> >> >> -rw-r--r-- 1 root root  5014 Apr 20 18:59 codecs.h
> >> >> -rw-r--r-- 1 root root  3277 Apr 20 18:59 code.h
> >> >> -rw-r--r-- 1 root root  1058 Apr 20 18:59 compile.h
> >> >> -rw-r--r-- 1 root root  1476 Apr 20 18:59 complexobject.h
> >> >> -rw-r--r-- 1 root root  2005 Apr 20 18:59 cStringIO.h
> >> >> -rw-r--r-- 1 root root  8288 Apr 20 18:59 datetime.h
> >> >> -rw-r--r-- 1 root root  2106 Apr 20 18:59 descrobject.h
> >> >> -rw-r--r-- 1 root root  5666 Apr 20 18:59 dictobject.h
> >> >> -rw-r--r-- 1 root root   253 Apr 20 18:59 enumobject.h
> >> >> -rw-r--r-- 1 root root  1363 Apr 20 18:59 errcode.h
> >> >> -rw-r--r-- 1 root root   557 Apr 20 18:59 eval.h
> >> >> -rw-r--r-- 1 root root  2358 Apr 20 18:59 fileobject.h
> >> >> -rw-r--r-- 1 root root  4184 Apr 20 18:59 floatobject.h
> >> >> -rw-r--r-- 1 root root  2877 Apr 20 18:59 frameobject.h
> >> >> -rw-r--r-- 1 root root  2997 Apr 20 18:59 funcobject.h
> >> >> -rw-r--r-- 1 root root   823 Apr 20 18:59 genobject.h
> >> >> -rw-r--r-- 1 root root  1854 Apr 20 18:59 graminit.h
> >> >> -rw-r--r-- 1 root root  2021 Apr 20 18:59 grammar.h
> >> >> -rw-r--r-- 1 root root  2029 Apr 20 18:59 import.h
> >> >> -rw-r--r-- 1 root root  2112 Apr 20 18:59 intobject.h
> >> >> -rw-r--r-- 1 root root   274 Apr 20 18:59 intrcheck.h
> >> >> -rw-r--r-- 1 root root   526 Apr 20 18:59 iterobject.h
> >> >> -rw-r--r-- 1 root root  2511 Apr 20 18:59 listobject.h
> >> >> -rw-r--r-- 1 root root  2140 Apr 20 18:59 longintrepr.h
> >> >> -rw-r--r-- 1 root root  4809 Apr 20 18:59 longobject.h
> >> >> -rw-r--r-- 1 root root   713 Apr 20 18:59 marshal.h
> >> >> -rw-r--r-- 1 root root   253 Apr 20 18:59 metagrammar.h
> >> >> -rw-r--r-- 1 root root  3190 Apr 20 18:59 methodobject.h
> >> >> -rw-r--r-- 1 root root  4836 Apr 20 18:59 modsupport.h
> >> >> -rw-r--r-- 1 root root   611 Apr 20 18:59 moduleobject.h
> >> >> -rw-r--r-- 1 root root   890 Apr 20 18:59 node.h
> >> >> -rw-r--r-- 1 root root 32254 Apr 20 18:59 object.h
> >> >> -rw-r--r-- 1 root root 12438 Apr 20 18:59 objimpl.h
> >> >> -rw-r--r-- 1 root root  4320 Apr 20 18:59 opcode.h
> >> >> -rw-r--r-- 1 root root   942 Apr 20 18:59 osdefs.h
> >> >> -rw-r--r-- 1 root root  1346 Apr 20 18:59 parsetok.h
> >> >> -rw-r--r-- 1 root root  1378 Apr 20 18:59 patchlevel.h
> >> >> -rw-r--r-- 1 root root   253 Apr 20 18:59 pgen.h
> >> >> -rw-r--r-- 1 root root  1144 Apr 20 18:59 pgenheaders.h
> >> >> -rw-r--r-- 1 root root  2693 Apr 20 18:59 pyarena.h
> >> >> -rw-r--r-- 1 root root 28564 Apr 20 18:59 pyconfig.h
> >> >> -rw-r--r-- 1 root root  4160 Apr 20 18:59 py_curses.h
> >> >> -rw-r--r-- 1 root root  1065 Apr 20 18:59 pydebug.h
> >> >> -rw-r--r-- 1 root root 11581 Apr 20 18:59 pyerrors.h
> >> >> -rw-r--r-- 1 root root  1957 Apr 20 18:59 pyexpat.h
> >> >> -rw-r--r-- 1 root root  8495 Apr 20 18:59 pyfpe.h
> >> >> -rw-r--r-- 1 root root   306 Apr 20 18:59 pygetopt.h
> >> >> -rw-r--r-- 1 root root  7421 Apr 20 18:59 pymactoolbox.h
> >> >> -rw-r--r-- 1 root root  4602 Apr 20 18:59 pymem.h
> >> >> -rw-r--r-- 1 root root 25218 Apr 20 18:59 pyport.h
> >> >> -rw-r--r-- 1 root root  6203 Apr 20 18:59 pystate.h
> >> >> -rw-r--r-- 1 root root   359 Apr 20 18:59 pystrtod.h
> >> >> -rw-r--r-- 1 root root 19631 Apr 20 18:59 Python-ast.h
> >> >> -rw-r--r-- 1 root root  4204 Apr 20 18:59 Python.h
> >> >> -rw-r--r-- 1 root root  6481 Apr 20 18:59 pythonrun.h
> >> >> -rw-r--r-- 1 root root  1447 Apr 20 18:59 pythread.h
> >> >> -rw-r--r-- 1 root root   648 Apr 20 18:59 rangeobject.h
> >> >> -rw-r--r-- 1 root root  2757 Apr 20 18:59 setobject.h
> >> >> -rw-r--r-- 1 root root  1291 Apr 20 18:59 sliceobject.h
> >> >> -rw-r--r-- 1 root root  6611 Apr 20 18:59 stringobject.h
> >> >> -rw-r--r-- 1 root root  2532 Apr 20 18:59 structmember.h
> >> >> -rw-r--r-- 1 root root   862 Apr 20 18:59 structseq.h
> >> >> -rw-r--r-- 1 root root  3936 Apr 20 18:59 symtable.h
> >> >> -rw-r--r-- 1 root root   819 Apr 20 18:59 sysmodule.h
> >> >> -rw-r--r-- 1 root root   442 Apr 20 18:59 timefuncs.h
> >> >> -rw-r--r-- 1 root root  1710 Apr 20 18:59 token.h
> >> >> -rw-r--r-- 1 root root   624 Apr 20 18:59 traceback.h
> >> >> -rw-r--r-- 1 root root  2061 Apr 20 18:59 tupleobject.h
> >> >> -rw-r--r-- 1 root root   861 Apr 20 18:59 ucnhash.h
> >> >> -rw-r--r-- 1 root root 44859 Apr 20 18:59 unicodeobject.h
> >> >> -rw-r--r-- 1 root root  2434 Apr 20 18:59 weakrefobject.h
> >> >>
> >> >>
> >> >>
>
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20090421/35d70d44/attachment-0001.html


More information about the Mod_python mailing list