I installed httpd-devel using rpm and again it's gives me that earlier
error.. now removed httpd-devel, as the wiki says I think ./configure
looks apxs in wrong location and I can't find the apxs in my system
too.The apache (httpd) installation is in /etc/httpd
On Apr 14, 11:47 am, Graham
Install http-devel again here's the error..
./configure --with-python=/usr/local/bin/python
checking for apxs2... no
checking for apxs... /usr/sbin/apxs
checking Apache version... apxs:Warning: /usr/bin/httpd not found or
not executable
apxs:Warning: Continuing anyway...
apxs:Warning: No shared
You installed the wrong Apache development version. You installed it
for Apache 1.3. The version you install must match that for Apache you
have installed, which appears to be 2.2.4.
Graham
On 14 April 2010 16:32, MMRUser oshadha.ro...@gmail.com wrote:
Install http-devel again here's the
New error
make
/usr/sbin/apxs -c -I/usr/local/include/python2.6 -DNDEBUG mod_wsgi.c
-L/usr/local/lib -L/usr/local/lib/python2.6/config -lpython2.6 -
lpthread -ldl -lutil -lm
/usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic
-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
Found the answer wiki, so I need to re-compile Python2.6 for 64 bit.
can someone please tell me the syntax..
./configure --enable-shared CXFLAGS -m64 or
./configure --enable-shared CFLAGS -m64
On Apr 14, 1:33 pm, MMRUser oshadha.ro...@gmail.com wrote:
New error
make
/usr/sbin/apxs -c
On 14 April 2010 18:37, MMRUser oshadha.ro...@gmail.com wrote:
Found the answer wiki, so I need to re-compile Python2.6 for 64 bit.
can someone please tell me the syntax..
./configure --enable-shared CXFLAGS -m64 or
./configure --enable-shared CFLAGS -m64
As far as I know you just need:
Finally I managed to installed it but still I'm getting an
error when I try to start the server..that shared library thing
on line 200 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/
modules/mod_wsgi.so into server: libpython2.6.so.1.0: cannot open
shared object file: No such file
Within which file this LD_RUN_PATH=/usr/local/lib available.. ?
On Apr 14, 4:19 pm, Graham Dumpleton graham.dumple...@gmail.com
wrote:
The directory /usr/local/lib isn't in standard search path.
Easiest way to work around that is to go into mod_wsgi source code and do:
make clean
On 14 April 2010 20:34, MMRUser oshadha.ro...@gmail.com wrote:
Within which file this LD_RUN_PATH=/usr/local/lib available.. ?
It is not a command, you are setting the environment variable. I just
did it as part of the one command line so only applied to the
invocation of make.
The following is
Phew ..! it's working :):), what I did was delete the libpython2.6.so
and recompile from the scratch..
BIG THANK FOR YOUR HELP!
On Apr 14, 4:19 pm, Graham Dumpleton graham.dumple...@gmail.com
wrote:
The directory /usr/local/lib isn't in standard search path.
Easiest way to work around
On 14 April 2010 22:49, MMRUser oshadha.ro...@gmail.com wrote:
Phew ..! it's working :):), what I did was delete the libpython2.6.so
and recompile from the scratch..
BIG THANK FOR YOUR HELP!
That wasn't what I said to do.
Deleting libpython2.6.so itself wouldn't have made any difference
Search through the net and finds out that httpd-devel has the APXS
binary and other files, so If I install httpd-devel, can I compile the
mod_wsgi without any errors.
On Apr 13, 10:56 pm, MMRUser oshadha.ro...@gmail.com wrote:
Do you know where I can get the proper apxs packages + RPMs, it's not
ldd mod_wsgi.so out puts :
libpython2.4.so.1.0 = /usr/lib64/libpython2.4.so.1.0
(0x2b6f95177000)
libpthread.so.0 = /lib64/libpthread.so.0 (0x2b6f954a9000)
libdl.so.2 = /lib64/libdl.so.2 (0x2b6f956c4000)
libutil.so.1 = /lib64/libutil.so.1
So is there any way getting around this, I need python 2.6 for some
dependency reasons (with some packages require)..
On Apr 13, 7:54 pm, Clodoaldo Neto clodoaldo.pi...@gmail.com wrote:
2010/4/13 MMRUser oshadha.ro...@gmail.com:
ldd mod_wsgi.so out puts :
libpython2.4.so.1.0 =
You will have to recompile all the dependencies that use python
yourself. DO NOT use RPM packages, this includes mod_wsgi. REMOVE all
python dependent RPMs from your system and download the source and
start compiling everything. There may not be all that many, you may
only need to compile mod_wsgi
Ok i'll give a try..
On Apr 13, 8:40 pm, Carl Nobile carl.nob...@gmail.com wrote:
You will have to recompile all the dependencies that use python
yourself. DO NOT use RPM packages, this includes mod_wsgi. REMOVE all
python dependent RPMs from your system and download the source and
start
Do you know where I can get the proper apxs packages + RPMs, it's not
in the redhat PM (tried with yum).
On Apr 13, 10:26 pm, Carl Nobile carl.nob...@gmail.com wrote:
You still need to have apxs installed with RPMs if they don't depend
on python themselves. Yes mod_wsgi depends on apxs, but
You will have to hunt for it, but here is a download link. Also, if
apxs2 or apxs have any dependencies of their own you will have to
install the RPM for those also. You will know if they complain when
you install them.
http://rpmfind.net/linux/RPM/index.html
~Carl
On Tue, Apr 13, 2010 at 12:56
Once more question how do I remove mod wsgi, that I previously
installed using rpm (mod_wsgi-3.2-1.el5.x86_64.rpm).Can't I just
remove the mod_wsgi.so in apache's modules..?
On Apr 13, 11:18 pm, Carl Nobile carl.nob...@gmail.com wrote:
You will have to hunt for it, but here is a download link.
Yes, but it will bite you in the butt later if you don't remove the RPM.
# rpm -e package name
To find the package name for the above:
# rpm -qa | grep mod_wsgi
I haven't used these commands in many years because I use a Debian
derived distribution now which uses apt_get or aptitude.
Hope
On 14 April 2010 00:40, Carl Nobile carl.nob...@gmail.com wrote:
You will have to recompile all the dependencies that use python
yourself. DO NOT use RPM packages, this includes mod_wsgi. REMOVE all
python dependent RPMs from your system and download the source and
start compiling everything.
New problem arises, I tried to install apxs 2 (http://rpm.pbone.net/
index.php3/stat/4/idpl/4434034/com/apache-apxs-2.2.4-1.i386.rpm.html)
an as a dependency it requires perl-base (http://rpm.pbone.net/
index.php3/stat/4/idpl/12070642/dir/redhat_el_5/com/perl-
base-2.12-1.el5.rf.noarch.rpm.html) I
22 matches
Mail list logo