Re: [modwsgi] mod_wsgi redhat installation error

2010-04-11 Thread vishwajeet singh
On Mon, Apr 12, 2010 at 12:36 AM, MMRUser oshadha.ro...@gmail.com wrote:

 ./configure

 checking for apxs2... no
 checking for apxs... /usr/sbin/apxs
 checking Apache version... 2.2.3
 configure: creating ./config.status
 config.status: creating Makefile

 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
 /apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -
 pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --
 param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-
 unwind-tables -fno-strict-aliasing  -DLINUX=2 -D_REENTRANT -
 D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/usr/include/httpd  -I/
 usr/include/apr-1   -I/usr/include/apr-1  -I/usr/local/include/
 python2.6 -DNDEBUG  -c -o mod_wsgi.lo mod_wsgi.c  touch mod_wsgi.slo
 sh: /apr-1/build/libtool: No such file or directory
 apxs:Error: Command failed with rc=8323072
 .
 make: *** [mod_wsgi.la] Error 1

 apr is there in my system ..

 mod_wsgi 3.2
 Apache 2.2
 Python 2.6
 apr-1.2.7-11


you need apr-devel as well if I am not wrong




 Thanks

 --
 You received this message because you are subscribed to the Google Groups
 modwsgi group.
 To post to this group, send email to modw...@googlegroups.com.
 To unsubscribe from this group, send email to
 modwsgi+unsubscr...@googlegroups.commodwsgi%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/modwsgi?hl=en.




-- 
Vishwajeet Singh
+91-9657702154 | dextrou...@gmail.com | http://bootstraptoday.com
Twitter: http://twitter.com/vishwajeets | LinkedIn:
http://www.linkedin.com/in/singhvishwajeet

-- 
You received this message because you are subscribed to the Google Groups 
modwsgi group.
To post to this group, send email to modw...@googlegroups.com.
To unsubscribe from this group, send email to 
modwsgi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.



Re: [modwsgi] mod_wsgi redhat installation error

2010-04-11 Thread Carl Nobile
But are the dev packages for all of those on your system? To build
mod_wsgi you not only need the libs, but you need the dev packages for
the libs also. This does for python, apache and everything else.

~Carl

On Sun, Apr 11, 2010 at 3:06 PM, MMRUser oshadha.ro...@gmail.com wrote:
 ./configure

 checking for apxs2... no
 checking for apxs... /usr/sbin/apxs
 checking Apache version... 2.2.3
 configure: creating ./config.status
 config.status: creating Makefile

 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
 /apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -
 pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --
 param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-
 unwind-tables -fno-strict-aliasing  -DLINUX=2 -D_REENTRANT -
 D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/usr/include/httpd  -I/
 usr/include/apr-1   -I/usr/include/apr-1  -I/usr/local/include/
 python2.6 -DNDEBUG  -c -o mod_wsgi.lo mod_wsgi.c  touch mod_wsgi.slo
 sh: /apr-1/build/libtool: No such file or directory
 apxs:Error: Command failed with rc=8323072
 .
 make: *** [mod_wsgi.la] Error 1

 apr is there in my system ..

 mod_wsgi 3.2
 Apache 2.2
 Python 2.6
 apr-1.2.7-11

 Thanks

 --
 You received this message because you are subscribed to the Google Groups 
 modwsgi group.
 To post to this group, send email to modw...@googlegroups.com.
 To unsubscribe from this group, send email to 
 modwsgi+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/modwsgi?hl=en.





-- 
---
Carl J. Nobile (Software Engineer)
carl.nob...@gmail.com
---

-- 
You received this message because you are subscribed to the Google Groups 
modwsgi group.
To post to this group, send email to modw...@googlegroups.com.
To unsubscribe from this group, send email to 
modwsgi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.



[modwsgi] Problem with Python versions

2010-04-11 Thread Diego H.
I install the wsgi library of ubuntu and i want to know how could i
change the version of python shw is using the 2.6 i need use the 3.1

-- 
You received this message because you are subscribed to the Google Groups 
modwsgi group.
To post to this group, send email to modw...@googlegroups.com.
To unsubscribe from this group, send email to 
modwsgi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.



[modwsgi] Re: mod_wsgi redhat installation error

2010-04-11 Thread MMRUser
Yes apr-devel packages are there in my system.. It's not the problem I
guess..

On Apr 12, 1:08 am, vishwajeet singh dextrou...@gmail.com wrote:
 On Mon, Apr 12, 2010 at 12:36 AM, MMRUser oshadha.ro...@gmail.com wrote:
  ./configure

  checking for apxs2... no
  checking for apxs... /usr/sbin/apxs
  checking Apache version... 2.2.3
  configure: creating ./config.status
  config.status: creating Makefile

  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
  /apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -
  pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --
  param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-
  unwind-tables -fno-strict-aliasing  -DLINUX=2 -D_REENTRANT -
  D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/usr/include/httpd  -I/
  usr/include/apr-1   -I/usr/include/apr-1  -I/usr/local/include/
  python2.6 -DNDEBUG  -c -o mod_wsgi.lo mod_wsgi.c  touch mod_wsgi.slo
  sh: /apr-1/build/libtool: No such file or directory
  apxs:Error: Command failed with rc=8323072
  .
  make: *** [mod_wsgi.la] Error 1

  apr is there in my system ..

  mod_wsgi 3.2
  Apache 2.2
  Python 2.6
  apr-1.2.7-11

 you need apr-devel as well if I am not wrong



  Thanks

  --
  You received this message because you are subscribed to the Google Groups
  modwsgi group.
  To post to this group, send email to modw...@googlegroups.com.
  To unsubscribe from this group, send email to
  modwsgi+unsubscr...@googlegroups.commodwsgi%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/modwsgi?hl=en.

 --
 Vishwajeet Singh
 +91-9657702154 | dextrou...@gmail.com |http://bootstraptoday.com
 Twitter:http://twitter.com/vishwajeets| 
 LinkedIn:http://www.linkedin.com/in/singhvishwajeet

-- 
You received this message because you are subscribed to the Google Groups 
modwsgi group.
To post to this group, send email to modw...@googlegroups.com.
To unsubscribe from this group, send email to 
modwsgi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.



[modwsgi] Re: mod_wsgi redhat installation error

2010-04-11 Thread MMRUser
Can you be more specific about dev packages ..

On Apr 12, 1:10 am, Carl Nobile carl.nob...@gmail.com wrote:
 But are the dev packages for all of those on your system? To build
 mod_wsgi you not only need the libs, but you need the dev packages for
 the libs also. This does for python, apache and everything else.

 ~Carl



 On Sun, Apr 11, 2010 at 3:06 PM, MMRUser oshadha.ro...@gmail.com wrote:
  ./configure

  checking for apxs2... no
  checking for apxs... /usr/sbin/apxs
  checking Apache version... 2.2.3
  configure: creating ./config.status
  config.status: creating Makefile

  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
  /apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -
  pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --
  param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-
  unwind-tables -fno-strict-aliasing  -DLINUX=2 -D_REENTRANT -
  D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/usr/include/httpd  -I/
  usr/include/apr-1   -I/usr/include/apr-1  -I/usr/local/include/
  python2.6 -DNDEBUG  -c -o mod_wsgi.lo mod_wsgi.c  touch mod_wsgi.slo
  sh: /apr-1/build/libtool: No such file or directory
  apxs:Error: Command failed with rc=8323072
  .
  make: *** [mod_wsgi.la] Error 1

  apr is there in my system ..

  mod_wsgi 3.2
  Apache 2.2
  Python 2.6
  apr-1.2.7-11

  Thanks

  --
  You received this message because you are subscribed to the Google Groups 
  modwsgi group.
  To post to this group, send email to modw...@googlegroups.com.
  To unsubscribe from this group, send email to 
  modwsgi+unsubscr...@googlegroups.com.
  For more options, visit this group 
  athttp://groups.google.com/group/modwsgi?hl=en.

 --
 ---
 Carl J. Nobile (Software Engineer)
 carl.nob...@gmail.com
 ---

-- 
You received this message because you are subscribed to the Google Groups 
modwsgi group.
To post to this group, send email to modw...@googlegroups.com.
To unsubscribe from this group, send email to 
modwsgi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.



Re: [modwsgi] Problem with Python versions

2010-04-11 Thread Carl Nobile
You need to recompile mod_wsgi yourself and you will need at least
version 3 of mod_wsgi or the trunk. You will also need to remove
mod_python if it is being loaded into apache. You cannot have to
python dependent modules in apache using different versions of python.

~Carl

On Sun, A you received this message because you are subscribed to the
Google Groups modwsgi group.
 To post to this group, send email to modw...@googlegroups.com.
 To unsubscribe from this group, send email to 
 modwsgi+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/modwsgi?hl=en.





-- 
---
Carl J. Nobile (Software Engineer)
carl.nob...@gmail.com
---

-- 
You received this message because you are subscribed to the Google Groups 
modwsgi group.
To post to this group, send email to modw...@googlegroups.com.
To unsubscribe from this group, send email to 
modwsgi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.



Re: [modwsgi] Re: mod_wsgi redhat installation error

2010-04-11 Thread Carl Nobile
These are the development packages for all the dependencies used by
mod_python. The package names are different depending on which
distribution of Linux you are using. They will usually have dev or
devl in the name.

~Carl

On Sun, Apr 11, 2010 at 3:18 PM, MMRUser oshadha.ro...@gmail.com wrote:
 Can you be more specific about dev packages ..

 On Apr 12, 1:10 am, Carl Nobile carl.nob...@gmail.com wrote:
 But are the dev packages for all of those on your system? To build
 mod_wsgi you not only need the libs, but you need the dev packages for
 the libs also. This does for python, apache and everything else.

 ~Carl



 On Sun, Apr 11, 2010 at 3:06 PM, MMRUser oshadha.ro...@gmail.com wrote:
  ./configure

  checking for apxs2... no
  checking for apxs... /usr/sbin/apxs
  checking Apache version... 2.2.3
  configure: creating ./config.status
  config.status: creating Makefile

  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
  /apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -
  pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --
  param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-
  unwind-tables -fno-strict-aliasing  -DLINUX=2 -D_REENTRANT -
  D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/usr/include/httpd  -I/
  usr/include/apr-1   -I/usr/include/apr-1  -I/usr/local/include/
  python2.6 -DNDEBUG  -c -o mod_wsgi.lo mod_wsgi.c  touch mod_wsgi.slo
  sh: /apr-1/build/libtool: No such file or directory
  apxs:Error: Command failed with rc=8323072
  .
  make: *** [mod_wsgi.la] Error 1

  apr is there in my system ..

  mod_wsgi 3.2
  Apache 2.2
  Python 2.6
  apr-1.2.7-11

  Thanks

  --
  You received this message because you are subscribed to the Google Groups 
  modwsgi group.
  To post to this group, send email to modw...@googlegroups.com.
  To unsubscribe from this group, send email to 
  modwsgi+unsubscr...@googlegroups.com.
  For more options, visit this group 
  athttp://groups.google.com/group/modwsgi?hl=en.

 --
 ---
 Carl J. Nobile (Software Engineer)
 carl.nob...@gmail.com
 ---

 --
 You received this message because you are subscribed to the Google Groups 
 modwsgi group.
 To post to this group, send email to modw...@googlegroups.com.
 To unsubscribe from this group, send email to 
 modwsgi+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/modwsgi?hl=en.





-- 
---
Carl J. Nobile (Software Engineer)
carl.nob...@gmail.com
---

-- 
You received this message because you are subscribed to the Google Groups 
modwsgi group.
To post to this group, send email to modw...@googlegroups.com.
To unsubscribe from this group, send email to 
modwsgi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.



[modwsgi] Re: mod_wsgi redhat installation error

2010-04-11 Thread MMRUser
Where ?

On Apr 12, 1:36 am, Carl Nobile carl.nob...@gmail.com wrote:
 These are the development packages for all the dependencies used by
 mod_python. The package names are different depending on which
 distribution of Linux you are using. They will usually have dev or
 devl in the name.

 ~Carl



 On Sun, Apr 11, 2010 at 3:18 PM, MMRUser oshadha.ro...@gmail.com wrote:
  Can you be more specific about dev packages ..

  On Apr 12, 1:10 am, Carl Nobile carl.nob...@gmail.com wrote:
  But are the dev packages for all of those on your system? To build
  mod_wsgi you not only need the libs, but you need the dev packages for
  the libs also. This does for python, apache and everything else.

  ~Carl

  On Sun, Apr 11, 2010 at 3:06 PM, MMRUser oshadha.ro...@gmail.com wrote:
   ./configure

   checking for apxs2... no
   checking for apxs... /usr/sbin/apxs
   checking Apache version... 2.2.3
   configure: creating ./config.status
   config.status: creating Makefile

   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
   /apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -
   pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --
   param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-
   unwind-tables -fno-strict-aliasing  -DLINUX=2 -D_REENTRANT -
   D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/usr/include/httpd  -I/
   usr/include/apr-1   -I/usr/include/apr-1  -I/usr/local/include/
   python2.6 -DNDEBUG  -c -o mod_wsgi.lo mod_wsgi.c  touch mod_wsgi.slo
   sh: /apr-1/build/libtool: No such file or directory
   apxs:Error: Command failed with rc=8323072
   .
   make: *** [mod_wsgi.la] Error 1

   apr is there in my system ..

   mod_wsgi 3.2
   Apache 2.2
   Python 2.6
   apr-1.2.7-11

   Thanks

   --
   You received this message because you are subscribed to the Google 
   Groups modwsgi group.
   To post to this group, send email to modw...@googlegroups.com.
   To unsubscribe from this group, send email to 
   modwsgi+unsubscr...@googlegroups.com.
   For more options, visit this group 
   athttp://groups.google.com/group/modwsgi?hl=en.

  --
  ---
  Carl J. Nobile (Software Engineer)
  carl.nob...@gmail.com
  ---

  --
  You received this message because you are subscribed to the Google Groups 
  modwsgi group.
  To post to this group, send email to modw...@googlegroups.com.
  To unsubscribe from this group, send email to 
  modwsgi+unsubscr...@googlegroups.com.
  For more options, visit this group 
  athttp://groups.google.com/group/modwsgi?hl=en.

 --
 ---
 Carl J. Nobile (Software Engineer)
 carl.nob...@gmail.com
 ---

-- 
You received this message because you are subscribed to the Google Groups 
modwsgi group.
To post to this group, send email to modw...@googlegroups.com.
To unsubscribe from this group, send email to 
modwsgi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.



Re: [modwsgi] Re: mod_wsgi redhat installation error

2010-04-11 Thread Carl Nobile
What distribution are you using? There are many of them but the most
common are Red Hat, Ubuntu, Mandriva, etc.

You will find them listed in whatever package manager you are using.
If you don't know what I'm talking about then you probably should find
somebody that does. You need to have some experience with Linux admin
to be compiling anything on a UNIX/Linux box.

~Carl

On Sun, Apr 11, 2010 at 3:45 PM, MMRUser oshadha.ro...@gmail.com wrote:
 Where ?

 On Apr 12, 1:36 am, Carl Nobile carl.nob...@gmail.com wrote:
 These are the development packages for all the dependencies used by
 mod_python. The package names are different depending on which
 distribution of Linux you are using. They will usually have dev or
 devl in the name.

 ~Carl



 On Sun, Apr 11, 2010 at 3:18 PM, MMRUser oshadha.ro...@gmail.com wrote:
  Can you be more specific about dev packages ..

  On Apr 12, 1:10 am, Carl Nobile carl.nob...@gmail.com wrote:
  But are the dev packages for all of those on your system? To build
  mod_wsgi you not only need the libs, but you need the dev packages for
  the libs also. This does for python, apache and everything else.

  ~Carl

  On Sun, Apr 11, 2010 at 3:06 PM, MMRUser oshadha.ro...@gmail.com wrote:
   ./configure

   checking for apxs2... no
   checking for apxs... /usr/sbin/apxs
   checking Apache version... 2.2.3
   configure: creating ./config.status
   config.status: creating Makefile

   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
   /apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -
   pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --
   param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-
   unwind-tables -fno-strict-aliasing  -DLINUX=2 -D_REENTRANT -
   D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/usr/include/httpd  -I/
   usr/include/apr-1   -I/usr/include/apr-1  -I/usr/local/include/
   python2.6 -DNDEBUG  -c -o mod_wsgi.lo mod_wsgi.c  touch mod_wsgi.slo
   sh: /apr-1/build/libtool: No such file or directory
   apxs:Error: Command failed with rc=8323072
   .
   make: *** [mod_wsgi.la] Error 1

   apr is there in my system ..

   mod_wsgi 3.2
   Apache 2.2
   Python 2.6
   apr-1.2.7-11

   Thanks

   --
   You received this message because you are subscribed to the Google 
   Groups modwsgi group.
   To post to this group, send email to modw...@googlegroups.com.
   To unsubscribe from this group, send email to 
   modwsgi+unsubscr...@googlegroups.com.
   For more options, visit this group 
   athttp://groups.google.com/group/modwsgi?hl=en.

  --
  ---
  Carl J. Nobile (Software Engineer)
  carl.nob...@gmail.com
  ---

  --
  You received this message because you are subscribed to the Google Groups 
  modwsgi group.
  To post to this group, send email to modw...@googlegroups.com.
  To unsubscribe from this group, send email to 
  modwsgi+unsubscr...@googlegroups.com.
  For more options, visit this group 
  athttp://groups.google.com/group/modwsgi?hl=en.

 --
 ---
 Carl J. Nobile (Software Engineer)
 carl.nob...@gmail.com
 ---

 --
 You received this message because you are subscribed to the Google Groups 
 modwsgi group.
 To post to this group, send email to modw...@googlegroups.com.
 To unsubscribe from this group, send email to 
 modwsgi+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/modwsgi?hl=en.





-- 
---
Carl J. Nobile (Software Engineer)
carl.nob...@gmail.com
---

-- 
You received this message because you are subscribed to the Google Groups 
modwsgi group.
To post to this group, send email to modw...@googlegroups.com.
To unsubscribe from this group, send email to 
modwsgi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.



[modwsgi] Re: mod_wsgi redhat installation error

2010-04-11 Thread MMRUser
I'm using Redhat EL see the title .. I wanted to know exact packages
which will solve this issue.

On Apr 12, 1:52 am, Carl Nobile carl.nob...@gmail.com wrote:
 What distribution are you using? There are many of them but the most
 common are Red Hat, Ubuntu, Mandriva, etc.

 You will find them listed in whatever package manager you are using.
 If you don't know what I'm talking about then you probably should find
 somebody that does. You need to have some experience with Linux admin
 to be compiling anything on a UNIX/Linux box.

 ~Carl



 On Sun, Apr 11, 2010 at 3:45 PM, MMRUser oshadha.ro...@gmail.com wrote:
  Where ?

  On Apr 12, 1:36 am, Carl Nobile carl.nob...@gmail.com wrote:
  These are the development packages for all the dependencies used by
  mod_python. The package names are different depending on which
  distribution of Linux you are using. They will usually have dev or
  devl in the name.

  ~Carl

  On Sun, Apr 11, 2010 at 3:18 PM, MMRUser oshadha.ro...@gmail.com wrote:
   Can you be more specific about dev packages ..

   On Apr 12, 1:10 am, Carl Nobile carl.nob...@gmail.com wrote:
   But are the dev packages for all of those on your system? To build
   mod_wsgi you not only need the libs, but you need the dev packages for
   the libs also. This does for python, apache and everything else.

   ~Carl

   On Sun, Apr 11, 2010 at 3:06 PM, MMRUser oshadha.ro...@gmail.com 
   wrote:
./configure

checking for apxs2... no
checking for apxs... /usr/sbin/apxs
checking Apache version... 2.2.3
configure: creating ./config.status
config.status: creating Makefile

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
/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -
pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --
param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
-fasynchronous-
unwind-tables -fno-strict-aliasing  -DLINUX=2 -D_REENTRANT -
D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/usr/include/httpd  -I/
usr/include/apr-1   -I/usr/include/apr-1  -I/usr/local/include/
python2.6 -DNDEBUG  -c -o mod_wsgi.lo mod_wsgi.c  touch mod_wsgi.slo
sh: /apr-1/build/libtool: No such file or directory
apxs:Error: Command failed with rc=8323072
.
make: *** [mod_wsgi.la] Error 1

apr is there in my system ..

mod_wsgi 3.2
Apache 2.2
Python 2.6
apr-1.2.7-11

Thanks

--
You received this message because you are subscribed to the Google 
Groups modwsgi group.
To post to this group, send email to modw...@googlegroups.com.
To unsubscribe from this group, send email to 
modwsgi+unsubscr...@googlegroups.com.
For more options, visit this group 
athttp://groups.google.com/group/modwsgi?hl=en.

   --
   ---
   Carl J. Nobile (Software Engineer)
   carl.nob...@gmail.com
   ---

   --
   You received this message because you are subscribed to the Google 
   Groups modwsgi group.
   To post to this group, send email to modw...@googlegroups.com.
   To unsubscribe from this group, send email to 
   modwsgi+unsubscr...@googlegroups.com.
   For more options, visit this group 
   athttp://groups.google.com/group/modwsgi?hl=en.

  --
  ---
  Carl J. Nobile (Software Engineer)
  carl.nob...@gmail.com
  ---

  --
  You received this message because you are subscribed to the Google Groups 
  modwsgi group.
  To post to this group, send email to modw...@googlegroups.com.
  To unsubscribe from this group, send email to 
  modwsgi+unsubscr...@googlegroups.com.
  For more options, visit this group 
  athttp://groups.google.com/group/modwsgi?hl=en.

 --
 ---
 Carl J. Nobile (Software Engineer)
 carl.nob...@gmail.com
 ---

-- 
You received this message because you are subscribed to the Google Groups 
modwsgi group.
To post to this group, send email to modw...@googlegroups.com.
To unsubscribe from this group, send email to 
modwsgi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.



Re: [modwsgi] Re: mod_wsgi redhat installation error

2010-04-11 Thread Carl Nobile
I don't know the exact packages. I don't use Red Hat. However, this
should be easy enough to find in the package manager. If you are using
a headless box you can go to the red hat package site on a different
computer and lookup the package names for the version of Red Hat you
have, then type them in on the command line in the headless box.

Sorry that's the best I can offer. Unless there is anybody on this
list with the exact same version of Red Hat that you have and can help
you I don't think you'll get a lot of help here. Your issue seems to
be administration of your box not mod_wsgi. Try a group dedicated to
sys admin for Red hat for how to find and install packages on Red Hat,
then if you have compilation issues with mod_wsgi itself then coma
back and we can help you.

I'm not trying to be rude here, but there are many different
distribution of Linux and they all use different package names. So
unless you just happen to hit the right person in this group you won't
find your answer here.

~Carl

On Sun, Apr 11, 2010 at 4:28 PM, MMRUser oshadha.ro...@gmail.com wrote:
 I'm using Redhat EL see the title .. I wanted to know exact packages
 which will solve this issue.

 On Apr 12, 1:52 am, Carl Nobile carl.nob...@gmail.com wrote:
 What distribution are you using? There are many of them but the most
 common are Red Hat, Ubuntu, Mandriva, etc.

 You will find them listed in whatever package manager you are using.
 If you don't know what I'm talking about then you probably should find
 somebody that does. You need to have some experience with Linux admin
 to be compiling anything on a UNIX/Linux box.

 ~Carl



 On Sun, Apr 11, 2010 at 3:45 PM, MMRUser oshadha.ro...@gmail.com wrote:
  Where ?

  On Apr 12, 1:36 am, Carl Nobile carl.nob...@gmail.com wrote:
  These are the development packages for all the dependencies used by
  mod_python. The package names are different depending on which
  distribution of Linux you are using. They will usually have dev or
  devl in the name.

  ~Carl

  On Sun, Apr 11, 2010 at 3:18 PM, MMRUser oshadha.ro...@gmail.com wrote:
   Can you be more specific about dev packages ..

   On Apr 12, 1:10 am, Carl Nobile carl.nob...@gmail.com wrote:
   But are the dev packages for all of those on your system? To build
   mod_wsgi you not only need the libs, but you need the dev packages for
   the libs also. This does for python, apache and everything else.

   ~Carl

   On Sun, Apr 11, 2010 at 3:06 PM, MMRUser oshadha.ro...@gmail.com 
   wrote:
./configure

checking for apxs2... no
checking for apxs... /usr/sbin/apxs
checking Apache version... 2.2.3
configure: creating ./config.status
config.status: creating Makefile

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
/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -
pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --
param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
-fasynchronous-
unwind-tables -fno-strict-aliasing  -DLINUX=2 -D_REENTRANT -
D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/usr/include/httpd  -I/
usr/include/apr-1   -I/usr/include/apr-1  -I/usr/local/include/
python2.6 -DNDEBUG  -c -o mod_wsgi.lo mod_wsgi.c  touch 
mod_wsgi.slo
sh: /apr-1/build/libtool: No such file or directory
apxs:Error: Command failed with rc=8323072
.
make: *** [mod_wsgi.la] Error 1

apr is there in my system ..

mod_wsgi 3.2
Apache 2.2
Python 2.6
apr-1.2.7-11

Thanks

--
You received this message because you are subscribed to the Google 
Groups modwsgi group.
To post to this group, send email to modw...@googlegroups.com.
To unsubscribe from this group, send email to 
modwsgi+unsubscr...@googlegroups.com.
For more options, visit this group 
athttp://groups.google.com/group/modwsgi?hl=en.

   --
   ---
   Carl J. Nobile (Software Engineer)
   carl.nob...@gmail.com
   ---

   --
   You received this message because you are subscribed to the Google 
   Groups modwsgi group.
   To post to this group, send email to modw...@googlegroups.com.
   To unsubscribe from this group, send email to 
   modwsgi+unsubscr...@googlegroups.com.
   For more options, visit this group 
   athttp://groups.google.com/group/modwsgi?hl=en.

  --
  ---
  Carl J. Nobile (Software Engineer)
  carl.nob...@gmail.com
  ---

  --
  You received this message because you are subscribed to the Google Groups 
  modwsgi group.
  To post to this group, send email to 

Re: [modwsgi] Re: mod_wsgi redhat installation error

2010-04-11 Thread Clodoaldo Neto
Try as root:

# yum install python-devel httpd-devel

Regards, Clodoaldo

2010/4/11 MMRUser oshadha.ro...@gmail.com:
 I'm using Redhat EL see the title .. I wanted to know exact packages
 which will solve this issue.

 On Apr 12, 1:52 am, Carl Nobile carl.nob...@gmail.com wrote:
 What distribution are you using? There are many of them but the most
 common are Red Hat, Ubuntu, Mandriva, etc.

 You will find them listed in whatever package manager you are using.
 If you don't know what I'm talking about then you probably should find
 somebody that does. You need to have some experience with Linux admin
 to be compiling anything on a UNIX/Linux box.

 ~Carl



 On Sun, Apr 11, 2010 at 3:45 PM, MMRUser oshadha.ro...@gmail.com wrote:
  Where ?

  On Apr 12, 1:36 am, Carl Nobile carl.nob...@gmail.com wrote:
  These are the development packages for all the dependencies used by
  mod_python. The package names are different depending on which
  distribution of Linux you are using. They will usually have dev or
  devl in the name.

  ~Carl

  On Sun, Apr 11, 2010 at 3:18 PM, MMRUser oshadha.ro...@gmail.com wrote:
   Can you be more specific about dev packages ..

   On Apr 12, 1:10 am, Carl Nobile carl.nob...@gmail.com wrote:
   But are the dev packages for all of those on your system? To build
   mod_wsgi you not only need the libs, but you need the dev packages for
   the libs also. This does for python, apache and everything else.

   ~Carl

   On Sun, Apr 11, 2010 at 3:06 PM, MMRUser oshadha.ro...@gmail.com 
   wrote:
./configure

checking for apxs2... no
checking for apxs... /usr/sbin/apxs
checking Apache version... 2.2.3
configure: creating ./config.status
config.status: creating Makefile

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
/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -
pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --
param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
-fasynchronous-
unwind-tables -fno-strict-aliasing  -DLINUX=2 -D_REENTRANT -
D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/usr/include/httpd  -I/
usr/include/apr-1   -I/usr/include/apr-1  -I/usr/local/include/
python2.6 -DNDEBUG  -c -o mod_wsgi.lo mod_wsgi.c  touch 
mod_wsgi.slo
sh: /apr-1/build/libtool: No such file or directory
apxs:Error: Command failed with rc=8323072
.
make: *** [mod_wsgi.la] Error 1

apr is there in my system ..

mod_wsgi 3.2
Apache 2.2
Python 2.6
apr-1.2.7-11

Thanks

--
You received this message because you are subscribed to the Google 
Groups modwsgi group.
To post to this group, send email to modw...@googlegroups.com.
To unsubscribe from this group, send email to 
modwsgi+unsubscr...@googlegroups.com.
For more options, visit this group 
athttp://groups.google.com/group/modwsgi?hl=en.

   --
   ---
   Carl J. Nobile (Software Engineer)
   carl.nob...@gmail.com
   ---

   --
   You received this message because you are subscribed to the Google 
   Groups modwsgi group.
   To post to this group, send email to modw...@googlegroups.com.
   To unsubscribe from this group, send email to 
   modwsgi+unsubscr...@googlegroups.com.
   For more options, visit this group 
   athttp://groups.google.com/group/modwsgi?hl=en.

  --
  ---
  Carl J. Nobile (Software Engineer)
  carl.nob...@gmail.com
  ---

  --
  You received this message because you are subscribed to the Google Groups 
  modwsgi group.
  To post to this group, send email to modw...@googlegroups.com.
  To unsubscribe from this group, send email to 
  modwsgi+unsubscr...@googlegroups.com.
  For more options, visit this group 
  athttp://groups.google.com/group/modwsgi?hl=en.

 --
 ---
 Carl J. Nobile (Software Engineer)
 carl.nob...@gmail.com
 ---

 --
 You received this message because you are subscribed to the Google Groups 
 modwsgi group.
 To post to this group, send email to modw...@googlegroups.com.
 To unsubscribe from this group, send email to 
 modwsgi+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/modwsgi?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
modwsgi group.
To post to this group, send email to modw...@googlegroups.com.
To unsubscribe from this group, send email to 

Re: [modwsgi] Re: mod_wsgi redhat installation error

2010-04-11 Thread Graham Dumpleton
On 12 April 2010 07:23, Clodoaldo Neto clodoaldo.pi...@gmail.com wrote:
 Try as root:

 # yum install python-devel httpd-devel

The 'httpd' package may only be Apache itself and APR libraries may be
separate packages, so may need 'devel' versions of apr and aprutil.

This is based on it wanting to use  '/apr-1/build/libtool'. Ie., wants
to get libtool out of APR directory.

If after putting all development packages for Apache, APR and APR-UTIL
it still doesn't work because '/apr-1/build/libtool' cant be found,
then start to question whether your apxs isn't configured incorrectly.
Where did your Apache installation come from?

Graham

 Regards, Clodoaldo

 2010/4/11 MMRUser oshadha.ro...@gmail.com:
 I'm using Redhat EL see the title .. I wanted to know exact packages
 which will solve this issue.

 On Apr 12, 1:52 am, Carl Nobile carl.nob...@gmail.com wrote:
 What distribution are you using? There are many of them but the most
 common are Red Hat, Ubuntu, Mandriva, etc.

 You will find them listed in whatever package manager you are using.
 If you don't know what I'm talking about then you probably should find
 somebody that does. You need to have some experience with Linux admin
 to be compiling anything on a UNIX/Linux box.

 ~Carl



 On Sun, Apr 11, 2010 at 3:45 PM, MMRUser oshadha.ro...@gmail.com wrote:
  Where ?

  On Apr 12, 1:36 am, Carl Nobile carl.nob...@gmail.com wrote:
  These are the development packages for all the dependencies used by
  mod_python. The package names are different depending on which
  distribution of Linux you are using. They will usually have dev or
  devl in the name.

  ~Carl

  On Sun, Apr 11, 2010 at 3:18 PM, MMRUser oshadha.ro...@gmail.com wrote:
   Can you be more specific about dev packages ..

   On Apr 12, 1:10 am, Carl Nobile carl.nob...@gmail.com wrote:
   But are the dev packages for all of those on your system? To build
   mod_wsgi you not only need the libs, but you need the dev packages for
   the libs also. This does for python, apache and everything else.

   ~Carl

   On Sun, Apr 11, 2010 at 3:06 PM, MMRUser oshadha.ro...@gmail.com 
   wrote:
./configure

checking for apxs2... no
checking for apxs... /usr/sbin/apxs
checking Apache version... 2.2.3
configure: creating ./config.status
config.status: creating Makefile

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
/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g 
-
pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --
param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
-fasynchronous-
unwind-tables -fno-strict-aliasing  -DLINUX=2 -D_REENTRANT -
D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/usr/include/httpd  
-I/
usr/include/apr-1   -I/usr/include/apr-1  -I/usr/local/include/
python2.6 -DNDEBUG  -c -o mod_wsgi.lo mod_wsgi.c  touch 
mod_wsgi.slo
sh: /apr-1/build/libtool: No such file or directory
apxs:Error: Command failed with rc=8323072
.
make: *** [mod_wsgi.la] Error 1

apr is there in my system ..

mod_wsgi 3.2
Apache 2.2
Python 2.6
apr-1.2.7-11

Thanks

--
You received this message because you are subscribed to the Google 
Groups modwsgi group.
To post to this group, send email to modw...@googlegroups.com.
To unsubscribe from this group, send email to 
modwsgi+unsubscr...@googlegroups.com.
For more options, visit this group 
athttp://groups.google.com/group/modwsgi?hl=en.

   --
   ---
   Carl J. Nobile (Software Engineer)
   carl.nob...@gmail.com
   ---

   --
   You received this message because you are subscribed to the Google 
   Groups modwsgi group.
   To post to this group, send email to modw...@googlegroups.com.
   To unsubscribe from this group, send email to 
   modwsgi+unsubscr...@googlegroups.com.
   For more options, visit this group 
   athttp://groups.google.com/group/modwsgi?hl=en.

  --
  ---
  Carl J. Nobile (Software Engineer)
  carl.nob...@gmail.com
  ---

  --
  You received this message because you are subscribed to the Google Groups 
  modwsgi group.
  To post to this group, send email to modw...@googlegroups.com.
  To unsubscribe from this group, send email to 
  modwsgi+unsubscr...@googlegroups.com.
  For more options, visit this group 
  athttp://groups.google.com/group/modwsgi?hl=en.

 --
 ---
 Carl J. Nobile (Software Engineer)
 carl.nob...@gmail.com
 

Re: [modwsgi] Re: mod_wsgi redhat installation error

2010-04-11 Thread Clodoaldo Neto
2010/4/11 Graham Dumpleton graham.dumple...@gmail.com:
 On 12 April 2010 07:23, Clodoaldo Neto clodoaldo.pi...@gmail.com wrote:
 Try as root:

 # yum install python-devel httpd-devel

 The 'httpd' package may only be Apache itself and APR libraries may be
 separate packages, so may need 'devel' versions of apr and aprutil.

 This is based on it wanting to use  '/apr-1/build/libtool'. Ie., wants
 to get libtool out of APR directory.

He can then try:

# yum install apr-devel apr-util-devel

Clodoaldo


 If after putting all development packages for Apache, APR and APR-UTIL
 it still doesn't work because '/apr-1/build/libtool' cant be found,
 then start to question whether your apxs isn't configured incorrectly.
 Where did your Apache installation come from?

 Graham

 Regards, Clodoaldo

 2010/4/11 MMRUser oshadha.ro...@gmail.com:
 I'm using Redhat EL see the title .. I wanted to know exact packages
 which will solve this issue.

 On Apr 12, 1:52 am, Carl Nobile carl.nob...@gmail.com wrote:
 What distribution are you using? There are many of them but the most
 common are Red Hat, Ubuntu, Mandriva, etc.

 You will find them listed in whatever package manager you are using.
 If you don't know what I'm talking about then you probably should find
 somebody that does. You need to have some experience with Linux admin
 to be compiling anything on a UNIX/Linux box.

 ~Carl



 On Sun, Apr 11, 2010 at 3:45 PM, MMRUser oshadha.ro...@gmail.com wrote:
  Where ?

  On Apr 12, 1:36 am, Carl Nobile carl.nob...@gmail.com wrote:
  These are the development packages for all the dependencies used by
  mod_python. The package names are different depending on which
  distribution of Linux you are using. They will usually have dev or
  devl in the name.

  ~Carl

  On Sun, Apr 11, 2010 at 3:18 PM, MMRUser oshadha.ro...@gmail.com 
  wrote:
   Can you be more specific about dev packages ..

   On Apr 12, 1:10 am, Carl Nobile carl.nob...@gmail.com wrote:
   But are the dev packages for all of those on your system? To build
   mod_wsgi you not only need the libs, but you need the dev packages 
   for
   the libs also. This does for python, apache and everything else.

   ~Carl

   On Sun, Apr 11, 2010 at 3:06 PM, MMRUser oshadha.ro...@gmail.com 
   wrote:
./configure

checking for apxs2... no
checking for apxs... /usr/sbin/apxs
checking Apache version... 2.2.3
configure: creating ./config.status
config.status: creating Makefile

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
/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 
-g -
pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--
param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
-fasynchronous-
unwind-tables -fno-strict-aliasing  -DLINUX=2 -D_REENTRANT -
D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/usr/include/httpd  
-I/
usr/include/apr-1   -I/usr/include/apr-1  -I/usr/local/include/
python2.6 -DNDEBUG  -c -o mod_wsgi.lo mod_wsgi.c  touch 
mod_wsgi.slo
sh: /apr-1/build/libtool: No such file or directory
apxs:Error: Command failed with rc=8323072
.
make: *** [mod_wsgi.la] Error 1

apr is there in my system ..

mod_wsgi 3.2
Apache 2.2
Python 2.6
apr-1.2.7-11

Thanks

--
You received this message because you are subscribed to the Google 
Groups modwsgi group.
To post to this group, send email to modw...@googlegroups.com.
To unsubscribe from this group, send email to 
modwsgi+unsubscr...@googlegroups.com.
For more options, visit this group 
athttp://groups.google.com/group/modwsgi?hl=en.

   --
   ---
   Carl J. Nobile (Software Engineer)
   carl.nob...@gmail.com
   ---

   --
   You received this message because you are subscribed to the Google 
   Groups modwsgi group.
   To post to this group, send email to modw...@googlegroups.com.
   To unsubscribe from this group, send email to 
   modwsgi+unsubscr...@googlegroups.com.
   For more options, visit this group 
   athttp://groups.google.com/group/modwsgi?hl=en.

  --
  ---
  Carl J. Nobile (Software Engineer)
  carl.nob...@gmail.com
  ---

  --
  You received this message because you are subscribed to the Google 
  Groups modwsgi group.
  To post to this group, send email to modw...@googlegroups.com.
  To unsubscribe from this group, send email to 
  modwsgi+unsubscr...@googlegroups.com.
  For more options, visit this group 
  athttp://groups.google.com/group/modwsgi?hl=en.

 --
 

Re: [modwsgi] Re: mod_wsgi redhat installation error

2010-04-11 Thread Jason Garber
FWIW, the packages for RHEL 5 / Centos 5 are already built over here:
http://iuscommunity.org/


On Sun, Apr 11, 2010 at 7:07 PM, Clodoaldo Neto
clodoaldo.pi...@gmail.comwrote:

 2010/4/11 Graham Dumpleton graham.dumple...@gmail.com:
  On 12 April 2010 07:23, Clodoaldo Neto clodoaldo.pi...@gmail.com
 wrote:
  Try as root:
 
  # yum install python-devel httpd-devel
 
  The 'httpd' package may only be Apache itself and APR libraries may be
  separate packages, so may need 'devel' versions of apr and aprutil.
 
  This is based on it wanting to use  '/apr-1/build/libtool'. Ie., wants
  to get libtool out of APR directory.

 He can then try:

 # yum install apr-devel apr-util-devel

 Clodoaldo

 
  If after putting all development packages for Apache, APR and APR-UTIL
  it still doesn't work because '/apr-1/build/libtool' cant be found,
  then start to question whether your apxs isn't configured incorrectly.
  Where did your Apache installation come from?
 
  Graham
 
  Regards, Clodoaldo
 
  2010/4/11 MMRUser oshadha.ro...@gmail.com:
  I'm using Redhat EL see the title .. I wanted to know exact packages
  which will solve this issue.
 
  On Apr 12, 1:52 am, Carl Nobile carl.nob...@gmail.com wrote:
  What distribution are you using? There are many of them but the most
  common are Red Hat, Ubuntu, Mandriva, etc.
 
  You will find them listed in whatever package manager you are using.
  If you don't know what I'm talking about then you probably should find
  somebody that does. You need to have some experience with Linux admin
  to be compiling anything on a UNIX/Linux box.
 
  ~Carl
 
 
 
  On Sun, Apr 11, 2010 at 3:45 PM, MMRUser oshadha.ro...@gmail.com
 wrote:
   Where ?
 
   On Apr 12, 1:36 am, Carl Nobile carl.nob...@gmail.com wrote:
   These are the development packages for all the dependencies used by
   mod_python. The package names are different depending on which
   distribution of Linux you are using. They will usually have dev or
   devl in the name.
 
   ~Carl
 
   On Sun, Apr 11, 2010 at 3:18 PM, MMRUser oshadha.ro...@gmail.com
 wrote:
Can you be more specific about dev packages ..
 
On Apr 12, 1:10 am, Carl Nobile carl.nob...@gmail.com wrote:
But are the dev packages for all of those on your system? To
 build
mod_wsgi you not only need the libs, but you need the dev
 packages for
the libs also. This does for python, apache and everything else.
 
~Carl
 
On Sun, Apr 11, 2010 at 3:06 PM, MMRUser 
 oshadha.ro...@gmail.com wrote:
 ./configure
 
 checking for apxs2... no
 checking for apxs... /usr/sbin/apxs
 checking Apache version... 2.2.3
 configure: creating ./config.status
 config.status: creating Makefile
 
 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
 /apr-1/build/libtool --silent --mode=compile gcc -prefer-pic
 -O2 -g -
 pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
 -fstack-protector --
 param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
 -fasynchronous-
 unwind-tables -fno-strict-aliasing  -DLINUX=2 -D_REENTRANT -
 D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread
 -I/usr/include/httpd  -I/
 usr/include/apr-1   -I/usr/include/apr-1
  -I/usr/local/include/
 python2.6 -DNDEBUG  -c -o mod_wsgi.lo mod_wsgi.c  touch
 mod_wsgi.slo
 sh: /apr-1/build/libtool: No such file or directory
 apxs:Error: Command failed with rc=8323072
 .
 make: *** [mod_wsgi.la] Error 1
 
 apr is there in my system ..
 
 mod_wsgi 3.2
 Apache 2.2
 Python 2.6
 apr-1.2.7-11
 
 Thanks
 
 --
 You received this message because you are subscribed to the
 Google Groups modwsgi group.
 To post to this group, send email to modwsgi@googlegroups.com
 .
 To unsubscribe from this group, send email to
 modwsgi+unsubscr...@googlegroups.commodwsgi%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group athttp://
 groups.google.com/group/modwsgi?hl=en.
 
--
   
 ---
Carl J. Nobile (Software Engineer)
carl.nob...@gmail.com
   
 ---
 
--
You received this message because you are subscribed to the
 Google Groups modwsgi group.
To post to this group, send email to modw...@googlegroups.com.
To unsubscribe from this group, send email to
 modwsgi+unsubscr...@googlegroups.commodwsgi%2bunsubscr...@googlegroups.com
 .
For more options, visit this group athttp://
 groups.google.com/group/modwsgi?hl=en.
 
   --
  
 ---
   Carl J. Nobile (Software Engineer)
   carl.nob...@gmail.com
  
 ---
 
   --
   You received this message 

[modwsgi] Re: mod_wsgi redhat installation error

2010-04-11 Thread MMRUser
Still getting the same error, the only installed new package is python-
devel others were already in the system. I installed Apache using yum
command. Apxs installed from the source, but when I do locate apxs
nothings returns, also if I try to install yum install httpd-devel
well it's already there as mentioned (httpd-devel-2.2.3-31).

but see this

I found the location of libtool, it's there on my system /usr/lib/
apr-1/build/libtool

Please help me..

Thanks.

On Apr 12, 5:01 am, Graham Dumpleton graham.dumple...@gmail.com
wrote:
 On 12 April 2010 07:23, Clodoaldo Neto clodoaldo.pi...@gmail.com wrote:

  Try as root:

  # yum install python-devel httpd-devel

 The 'httpd' package may only be Apache itself and APR libraries may be
 separate packages, so may need 'devel' versions of apr and aprutil.

 This is based on it wanting to use  '/apr-1/build/libtool'. Ie., wants
 to get libtool out of APR directory.

 If after putting all development packages for Apache, APR and APR-UTIL
 it still doesn't work because '/apr-1/build/libtool' cant be found,
 then start to question whether your apxs isn't configured incorrectly.
 Where did your Apache installation come from?

 Graham

  Regards, Clodoaldo

  2010/4/11 MMRUser oshadha.ro...@gmail.com:
  I'm using Redhat EL see the title .. I wanted to know exact packages
  which will solve this issue.

  On Apr 12, 1:52 am, Carl Nobile carl.nob...@gmail.com wrote:
  What distribution are you using? There are many of them but the most
  common are Red Hat, Ubuntu, Mandriva, etc.

  You will find them listed in whatever package manager you are using.
  If you don't know what I'm talking about then you probably should find
  somebody that does. You need to have some experience with Linux admin
  to be compiling anything on a UNIX/Linux box.

  ~Carl

  On Sun, Apr 11, 2010 at 3:45 PM, MMRUser oshadha.ro...@gmail.com wrote:
   Where ?

   On Apr 12, 1:36 am, Carl Nobile carl.nob...@gmail.com wrote:
   These are the development packages for all the dependencies used by
   mod_python. The package names are different depending on which
   distribution of Linux you are using. They will usually have dev or
   devl in the name.

   ~Carl

   On Sun, Apr 11, 2010 at 3:18 PM, MMRUser oshadha.ro...@gmail.com 
   wrote:
Can you be more specific about dev packages ..

On Apr 12, 1:10 am, Carl Nobile carl.nob...@gmail.com wrote:
But are the dev packages for all of those on your system? To build
mod_wsgi you not only need the libs, but you need the dev packages 
for
the libs also. This does for python, apache and everything else.

~Carl

On Sun, Apr 11, 2010 at 3:06 PM, MMRUser oshadha.ro...@gmail.com 
wrote:
 ./configure

 checking for apxs2... no
 checking for apxs... /usr/sbin/apxs
 checking Apache version... 2.2.3
 configure: creating ./config.status
 config.status: creating Makefile

 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
 /apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 
 -g -
 pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
 --
 param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
 -fasynchronous-
 unwind-tables -fno-strict-aliasing  -DLINUX=2 -D_REENTRANT -
 D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/usr/include/httpd  
 -I/
 usr/include/apr-1   -I/usr/include/apr-1  -I/usr/local/include/
 python2.6 -DNDEBUG  -c -o mod_wsgi.lo mod_wsgi.c  touch 
 mod_wsgi.slo
 sh: /apr-1/build/libtool: No such file or directory
 apxs:Error: Command failed with rc=8323072
 .
 make: *** [mod_wsgi.la] Error 1

 apr is there in my system ..

 mod_wsgi 3.2
 Apache 2.2
 Python 2.6
 apr-1.2.7-11

 Thanks

 --
 You received this message because you are subscribed to the 
 Google Groups modwsgi group.
 To post to this group, send email to modw...@googlegroups.com.
 To unsubscribe from this group, send email to 
 modwsgi+unsubscr...@googlegroups.com.
 For more options, visit this group 
 athttp://groups.google.com/group/modwsgi?hl=en.

--
---
Carl J. Nobile (Software Engineer)
carl.nob...@gmail.com
---

--
You received this message because you are subscribed to the Google 
Groups modwsgi group.
To post to this group, send email to modw...@googlegroups.com.
To unsubscribe from this group, send email to 
modwsgi+unsubscr...@googlegroups.com.
For more options, visit this group 
athttp://groups.google.com/group/modwsgi?hl=en.

   --
   ---
   Carl J. Nobile 

Re: [modwsgi] Re: mod_wsgi redhat installation error

2010-04-11 Thread Graham Dumpleton
On 12 April 2010 13:50, MMRUser oshadha.ro...@gmail.com wrote:
 Still getting the same error, the only installed new package is python-
 devel others were already in the system. I installed Apache using yum
 command. Apxs installed from the source,

Installed from what source?

It looks very much like that 'apxs' and Apache itself weren't built
against the same APR/APU-UTIL you have installed.

In other words, you have a inconsistent set of packages which weren't
designed to be used together, possibly being from different
repositories.

What you can try doing is the following, but because of the possible
package mismatches, it may all crash later on.

1. Edit '/usr/sbin/apxs' and look for the directory specified by the variable:

  my $installbuilddir = /usr/share/httpd/build;

2. Edit the file in that directory called 'config_vars.mk'.

3. Look for the variable:

  LIBTOOL = /usr/share/apr-1/build-1/libtool --silent

Change the path to be where your libtool is actually installed.

I would though recommend you just get a consistent set of packages
which are designed to work together from the outset.

Graham

 but when I do locate apxs
 nothings returns, also if I try to install yum install httpd-devel
 well it's already there as mentioned (httpd-devel-2.2.3-31).

 but see this

 I found the location of libtool, it's there on my system /usr/lib/
 apr-1/build/libtool

 Please help me..

 Thanks.

 On Apr 12, 5:01 am, Graham Dumpleton graham.dumple...@gmail.com
 wrote:
 On 12 April 2010 07:23, Clodoaldo Neto clodoaldo.pi...@gmail.com wrote:

  Try as root:

  # yum install python-devel httpd-devel

 The 'httpd' package may only be Apache itself and APR libraries may be
 separate packages, so may need 'devel' versions of apr and aprutil.

 This is based on it wanting to use  '/apr-1/build/libtool'. Ie., wants
 to get libtool out of APR directory.

 If after putting all development packages for Apache, APR and APR-UTIL
 it still doesn't work because '/apr-1/build/libtool' cant be found,
 then start to question whether your apxs isn't configured incorrectly.
 Where did your Apache installation come from?

 Graham

  Regards, Clodoaldo

  2010/4/11 MMRUser oshadha.ro...@gmail.com:
  I'm using Redhat EL see the title .. I wanted to know exact packages
  which will solve this issue.

  On Apr 12, 1:52 am, Carl Nobile carl.nob...@gmail.com wrote:
  What distribution are you using? There are many of them but the most
  common are Red Hat, Ubuntu, Mandriva, etc.

  You will find them listed in whatever package manager you are using.
  If you don't know what I'm talking about then you probably should find
  somebody that does. You need to have some experience with Linux admin
  to be compiling anything on a UNIX/Linux box.

  ~Carl

  On Sun, Apr 11, 2010 at 3:45 PM, MMRUser oshadha.ro...@gmail.com wrote:
   Where ?

   On Apr 12, 1:36 am, Carl Nobile carl.nob...@gmail.com wrote:
   These are the development packages for all the dependencies used by
   mod_python. The package names are different depending on which
   distribution of Linux you are using. They will usually have dev or
   devl in the name.

   ~Carl

   On Sun, Apr 11, 2010 at 3:18 PM, MMRUser oshadha.ro...@gmail.com 
   wrote:
Can you be more specific about dev packages ..

On Apr 12, 1:10 am, Carl Nobile carl.nob...@gmail.com wrote:
But are the dev packages for all of those on your system? To build
mod_wsgi you not only need the libs, but you need the dev packages 
for
the libs also. This does for python, apache and everything else.

~Carl

On Sun, Apr 11, 2010 at 3:06 PM, MMRUser oshadha.ro...@gmail.com 
wrote:
 ./configure

 checking for apxs2... no
 checking for apxs... /usr/sbin/apxs
 checking Apache version... 2.2.3
 configure: creating ./config.status
 config.status: creating Makefile

 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
 /apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 
 -g -
 pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
 -fstack-protector --
 param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
 -fasynchronous-
 unwind-tables -fno-strict-aliasing  -DLINUX=2 -D_REENTRANT -
 D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/usr/include/httpd 
  -I/
 usr/include/apr-1   -I/usr/include/apr-1  -I/usr/local/include/
 python2.6 -DNDEBUG  -c -o mod_wsgi.lo mod_wsgi.c  touch 
 mod_wsgi.slo
 sh: /apr-1/build/libtool: No such file or directory
 apxs:Error: Command failed with rc=8323072
 .
 make: *** [mod_wsgi.la] Error 1

 apr is there in my system ..

 mod_wsgi 3.2
 Apache 2.2
 Python 2.6
 apr-1.2.7-11

 Thanks

 --
 You received this message because you are subscribed to the 
 Google Groups modwsgi group.
 To post 

[modwsgi] Re: mod_wsgi redhat installation error

2010-04-11 Thread MMRUser
Hey.. I checked the files that you have mentioned

LIBTOOL  in config_vars.mk

LIBTOOL = /usr/lib/apr-1/build/libtool --silent

Which is exact path in my system...

installbuilddir in apxs

my $installbuilddir = $libdir . /usr/lib/httpd/build;

and I need to say something, that is I changed this variable (as u can
see) in order to work out ./configure..!
because that was the first place I found the error .. ./configure
couldn't find the location. of  config_vars.mk. I think now I messed
up the whole thing :( .. Can you please suggest a solution can't build
the whole thing from the beginning..

Thanks.


On Apr 12, 10:03 am, Graham Dumpleton graham.dumple...@gmail.com
wrote:
 On 12 April 2010 13:50, MMRUser oshadha.ro...@gmail.com wrote:

  Still getting the same error, the only installed new package is python-
  devel others were already in the system. I installed Apache using yum
  command. Apxs installed from the source,

 Installed from what source?

 It looks very much like that 'apxs' and Apache itself weren't built
 against the same APR/APU-UTIL you have installed.

 In other words, you have a inconsistent set of packages which weren't
 designed to be used together, possibly being from different
 repositories.

 What you can try doing is the following, but because of the possible
 package mismatches, it may all crash later on.

 1. Edit '/usr/sbin/apxs' and look for the directory specified by the variable:

   my $installbuilddir = /usr/share/httpd/build;

 2. Edit the file in that directory called 'config_vars.mk'.

 3. Look for the variable:

   LIBTOOL = /usr/share/apr-1/build-1/libtool --silent

 Change the path to be where your libtool is actually installed.

 I would though recommend you just get a consistent set of packages
 which are designed to work together from the outset.

 Graham

  but when I do locate apxs
  nothings returns, also if I try to install yum install httpd-devel
  well it's already there as mentioned (httpd-devel-2.2.3-31).

  but see this

  I found the location of libtool, it's there on my system /usr/lib/
  apr-1/build/libtool

  Please help me..

  Thanks.

  On Apr 12, 5:01 am, Graham Dumpleton graham.dumple...@gmail.com
  wrote:
  On 12 April 2010 07:23, Clodoaldo Neto clodoaldo.pi...@gmail.com wrote:

   Try as root:

   # yum install python-devel httpd-devel

  The 'httpd' package may only be Apache itself and APR libraries may be
  separate packages, so may need 'devel' versions of apr and aprutil.

  This is based on it wanting to use  '/apr-1/build/libtool'. Ie., wants
  to get libtool out of APR directory.

  If after putting all development packages for Apache, APR and APR-UTIL
  it still doesn't work because '/apr-1/build/libtool' cant be found,
  then start to question whether your apxs isn't configured incorrectly.
  Where did your Apache installation come from?

  Graham

   Regards, Clodoaldo

   2010/4/11 MMRUser oshadha.ro...@gmail.com:
   I'm using Redhat EL see the title .. I wanted to know exact packages
   which will solve this issue.

   On Apr 12, 1:52 am, Carl Nobile carl.nob...@gmail.com wrote:
   What distribution are you using? There are many of them but the most
   common are Red Hat, Ubuntu, Mandriva, etc.

   You will find them listed in whatever package manager you are using.
   If you don't know what I'm talking about then you probably should find
   somebody that does. You need to have some experience with Linux admin
   to be compiling anything on a UNIX/Linux box.

   ~Carl

   On Sun, Apr 11, 2010 at 3:45 PM, MMRUser oshadha.ro...@gmail.com 
   wrote:
Where ?

On Apr 12, 1:36 am, Carl Nobile carl.nob...@gmail.com wrote:
These are the development packages for all the dependencies used by
mod_python. The package names are different depending on which
distribution of Linux you are using. They will usually have dev or
devl in the name.

~Carl

On Sun, Apr 11, 2010 at 3:18 PM, MMRUser oshadha.ro...@gmail.com 
wrote:
 Can you be more specific about dev packages ..

 On Apr 12, 1:10 am, Carl Nobile carl.nob...@gmail.com wrote:
 But are the dev packages for all of those on your system? To 
 build
 mod_wsgi you not only need the libs, but you need the dev 
 packages for
 the libs also. This does for python, apache and everything else.

 ~Carl

 On Sun, Apr 11, 2010 at 3:06 PM, MMRUser 
 oshadha.ro...@gmail.com wrote:
  ./configure

  checking for apxs2... no
  checking for apxs... /usr/sbin/apxs
  checking Apache version... 2.2.3
  configure: creating ./config.status
  config.status: creating Makefile

  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
  /apr-1/build/libtool --silent --mode=compile gcc -prefer-pic 
  -O2 -g -
  pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
 

Re: [modwsgi] Re: mod_wsgi redhat installation error

2010-04-11 Thread Graham Dumpleton
On 12 April 2010 14:53, MMRUser oshadha.ro...@gmail.com wrote:
 Hey.. I checked the files that you have mentioned

 LIBTOOL  in config_vars.mk

 LIBTOOL = /usr/lib/apr-1/build/libtool --silent

 Which is exact path in my system...

 installbuilddir in apxs

 my $installbuilddir = $libdir . /usr/lib/httpd/build;

What is 'libdir' variable in apxs set to?

Does '/usr/lib/httpd/build' exist?

 and I need to say something, that is I changed this variable (as u can
 see) in order to work out ./configure..!
 because that was the first place I found the error .. ./configure
 couldn't find the location. of  config_vars.mk. I think now I messed
 up the whole thing :( .. Can you please suggest a solution can't build
 the whole thing from the beginning..

Do you remember what changes you made to apxs in the first place?

Graham

 Thanks.


 On Apr 12, 10:03 am, Graham Dumpleton graham.dumple...@gmail.com
 wrote:
 On 12 April 2010 13:50, MMRUser oshadha.ro...@gmail.com wrote:

  Still getting the same error, the only installed new package is python-
  devel others were already in the system. I installed Apache using yum
  command. Apxs installed from the source,

 Installed from what source?

 It looks very much like that 'apxs' and Apache itself weren't built
 against the same APR/APU-UTIL you have installed.

 In other words, you have a inconsistent set of packages which weren't
 designed to be used together, possibly being from different
 repositories.

 What you can try doing is the following, but because of the possible
 package mismatches, it may all crash later on.

 1. Edit '/usr/sbin/apxs' and look for the directory specified by the 
 variable:

   my $installbuilddir = /usr/share/httpd/build;

 2. Edit the file in that directory called 'config_vars.mk'.

 3. Look for the variable:

   LIBTOOL = /usr/share/apr-1/build-1/libtool --silent

 Change the path to be where your libtool is actually installed.

 I would though recommend you just get a consistent set of packages
 which are designed to work together from the outset.

 Graham

  but when I do locate apxs
  nothings returns, also if I try to install yum install httpd-devel
  well it's already there as mentioned (httpd-devel-2.2.3-31).

  but see this

  I found the location of libtool, it's there on my system /usr/lib/
  apr-1/build/libtool

  Please help me..

  Thanks.

  On Apr 12, 5:01 am, Graham Dumpleton graham.dumple...@gmail.com
  wrote:
  On 12 April 2010 07:23, Clodoaldo Neto clodoaldo.pi...@gmail.com wrote:

   Try as root:

   # yum install python-devel httpd-devel

  The 'httpd' package may only be Apache itself and APR libraries may be
  separate packages, so may need 'devel' versions of apr and aprutil.

  This is based on it wanting to use  '/apr-1/build/libtool'. Ie., wants
  to get libtool out of APR directory.

  If after putting all development packages for Apache, APR and APR-UTIL
  it still doesn't work because '/apr-1/build/libtool' cant be found,
  then start to question whether your apxs isn't configured incorrectly.
  Where did your Apache installation come from?

  Graham

   Regards, Clodoaldo

   2010/4/11 MMRUser oshadha.ro...@gmail.com:
   I'm using Redhat EL see the title .. I wanted to know exact packages
   which will solve this issue.

   On Apr 12, 1:52 am, Carl Nobile carl.nob...@gmail.com wrote:
   What distribution are you using? There are many of them but the most
   common are Red Hat, Ubuntu, Mandriva, etc.

   You will find them listed in whatever package manager you are using.
   If you don't know what I'm talking about then you probably should find
   somebody that does. You need to have some experience with Linux admin
   to be compiling anything on a UNIX/Linux box.

   ~Carl

   On Sun, Apr 11, 2010 at 3:45 PM, MMRUser oshadha.ro...@gmail.com 
   wrote:
Where ?

On Apr 12, 1:36 am, Carl Nobile carl.nob...@gmail.com wrote:
These are the development packages for all the dependencies used by
mod_python. The package names are different depending on which
distribution of Linux you are using. They will usually have dev or
devl in the name.

~Carl

On Sun, Apr 11, 2010 at 3:18 PM, MMRUser oshadha.ro...@gmail.com 
wrote:
 Can you be more specific about dev packages ..

 On Apr 12, 1:10 am, Carl Nobile carl.nob...@gmail.com wrote:
 But are the dev packages for all of those on your system? To 
 build
 mod_wsgi you not only need the libs, but you need the dev 
 packages for
 the libs also. This does for python, apache and everything else.

 ~Carl

 On Sun, Apr 11, 2010 at 3:06 PM, MMRUser 
 oshadha.ro...@gmail.com wrote:
  ./configure

  checking for apxs2... no
  checking for apxs... /usr/sbin/apxs
  checking Apache version... 2.2.3
  configure: creating ./config.status
  config.status: creating Makefile

  make

  /usr/sbin/apxs -c -I/usr/local/include/python2.6 -DNDEBUG   
  mod_wsgi.c
  

[modwsgi] Re: mod_wsgi redhat installation error

2010-04-11 Thread MMRUser
/usr/lib/httpd/build is exist and libdir is set to

my $installbuilddir = $libdir . /usr/lib/httpd/build;

On Apr 12, 11:04 am, Graham Dumpleton graham.dumple...@gmail.com
wrote:
 On 12 April 2010 14:53, MMRUser oshadha.ro...@gmail.com wrote:

  Hey.. I checked the files that you have mentioned

  LIBTOOL  in config_vars.mk

  LIBTOOL = /usr/lib/apr-1/build/libtool --silent

  Which is exact path in my system...

  installbuilddir in apxs

  my $installbuilddir = $libdir . /usr/lib/httpd/build;

 What is 'libdir' variable in apxs set to?

 Does '/usr/lib/httpd/build' exist?

  and I need to say something, that is I changed this variable (as u can
  see) in order to work out ./configure..!
  because that was the first place I found the error .. ./configure
  couldn't find the location. of  config_vars.mk. I think now I messed
  up the whole thing :( .. Can you please suggest a solution can't build
  the whole thing from the beginning..

 Do you remember what changes you made to apxs in the first place?

 Graham

  Thanks.

  On Apr 12, 10:03 am, Graham Dumpleton graham.dumple...@gmail.com
  wrote:
  On 12 April 2010 13:50, MMRUser oshadha.ro...@gmail.com wrote:

   Still getting the same error, the only installed new package is python-
   devel others were already in the system. I installed Apache using yum
   command. Apxs installed from the source,

  Installed from what source?

  It looks very much like that 'apxs' and Apache itself weren't built
  against the same APR/APU-UTIL you have installed.

  In other words, you have a inconsistent set of packages which weren't
  designed to be used together, possibly being from different
  repositories.

  What you can try doing is the following, but because of the possible
  package mismatches, it may all crash later on.

  1. Edit '/usr/sbin/apxs' and look for the directory specified by the 
  variable:

    my $installbuilddir = /usr/share/httpd/build;

  2. Edit the file in that directory called 'config_vars.mk'.

  3. Look for the variable:

    LIBTOOL = /usr/share/apr-1/build-1/libtool --silent

  Change the path to be where your libtool is actually installed.

  I would though recommend you just get a consistent set of packages
  which are designed to work together from the outset.

  Graham

   but when I do locate apxs
   nothings returns, also if I try to install yum install httpd-devel
   well it's already there as mentioned (httpd-devel-2.2.3-31).

   but see this

   I found the location of libtool, it's there on my system /usr/lib/
   apr-1/build/libtool

   Please help me..

   Thanks.

   On Apr 12, 5:01 am, Graham Dumpleton graham.dumple...@gmail.com
   wrote:
   On 12 April 2010 07:23, Clodoaldo Neto clodoaldo.pi...@gmail.com 
   wrote:

Try as root:

# yum install python-devel httpd-devel

   The 'httpd' package may only be Apache itself and APR libraries may be
   separate packages, so may need 'devel' versions of apr and aprutil.

   This is based on it wanting to use  '/apr-1/build/libtool'. Ie., wants
   to get libtool out of APR directory.

   If after putting all development packages for Apache, APR and APR-UTIL
   it still doesn't work because '/apr-1/build/libtool' cant be found,
   then start to question whether your apxs isn't configured incorrectly.
   Where did your Apache installation come from?

   Graham

Regards, Clodoaldo

2010/4/11 MMRUser oshadha.ro...@gmail.com:
I'm using Redhat EL see the title .. I wanted to know exact 
packages
which will solve this issue.

On Apr 12, 1:52 am, Carl Nobile carl.nob...@gmail.com wrote:
What distribution are you using? There are many of them but the most
common are Red Hat, Ubuntu, Mandriva, etc.

You will find them listed in whatever package manager you are using.
If you don't know what I'm talking about then you probably should 
find
somebody that does. You need to have some experience with Linux 
admin
to be compiling anything on a UNIX/Linux box.

~Carl

On Sun, Apr 11, 2010 at 3:45 PM, MMRUser oshadha.ro...@gmail.com 
wrote:
 Where ?

 On Apr 12, 1:36 am, Carl Nobile carl.nob...@gmail.com wrote:
 These are the development packages for all the dependencies used 
 by
 mod_python. The package names are different depending on which
 distribution of Linux you are using. They will usually have dev 
 or
 devl in the name.

 ~Carl

 On Sun, Apr 11, 2010 at 3:18 PM, MMRUser 
 oshadha.ro...@gmail.com wrote:
  Can you be more specific about dev packages ..

  On Apr 12, 1:10 am, Carl Nobile carl.nob...@gmail.com wrote:
  But are the dev packages for all of those on your system? To 
  build
  mod_wsgi you not only need the libs, but you need the dev 
  packages for
  the libs also. This does for python, apache and everything 
  else.

  ~Carl

  On Sun, Apr 11, 2010 at 3:06 PM, MMRUser 
  oshadha.ro...@gmail.com wrote:
   

[modwsgi] Re: mod_wsgi redhat installation error

2010-04-11 Thread MMRUser
Only one change in apxs that is set the variable /usr/lib/httpd/build
so then it can find the path, before it was something different

On Apr 12, 11:04 am, Graham Dumpleton graham.dumple...@gmail.com
wrote:
 On 12 April 2010 14:53, MMRUser oshadha.ro...@gmail.com wrote:

  Hey.. I checked the files that you have mentioned

  LIBTOOL  in config_vars.mk

  LIBTOOL = /usr/lib/apr-1/build/libtool --silent

  Which is exact path in my system...

  installbuilddir in apxs

  my $installbuilddir = $libdir . /usr/lib/httpd/build;

 What is 'libdir' variable in apxs set to?

 Does '/usr/lib/httpd/build' exist?

  and I need to say something, that is I changed this variable (as u can
  see) in order to work out ./configure..!
  because that was the first place I found the error .. ./configure
  couldn't find the location. of  config_vars.mk. I think now I messed
  up the whole thing :( .. Can you please suggest a solution can't build
  the whole thing from the beginning..

 Do you remember what changes you made to apxs in the first place?

 Graham

  Thanks.

  On Apr 12, 10:03 am, Graham Dumpleton graham.dumple...@gmail.com
  wrote:
  On 12 April 2010 13:50, MMRUser oshadha.ro...@gmail.com wrote:

   Still getting the same error, the only installed new package is python-
   devel others were already in the system. I installed Apache using yum
   command. Apxs installed from the source,

  Installed from what source?

  It looks very much like that 'apxs' and Apache itself weren't built
  against the same APR/APU-UTIL you have installed.

  In other words, you have a inconsistent set of packages which weren't
  designed to be used together, possibly being from different
  repositories.

  What you can try doing is the following, but because of the possible
  package mismatches, it may all crash later on.

  1. Edit '/usr/sbin/apxs' and look for the directory specified by the 
  variable:

    my $installbuilddir = /usr/share/httpd/build;

  2. Edit the file in that directory called 'config_vars.mk'.

  3. Look for the variable:

    LIBTOOL = /usr/share/apr-1/build-1/libtool --silent

  Change the path to be where your libtool is actually installed.

  I would though recommend you just get a consistent set of packages
  which are designed to work together from the outset.

  Graham

   but when I do locate apxs
   nothings returns, also if I try to install yum install httpd-devel
   well it's already there as mentioned (httpd-devel-2.2.3-31).

   but see this

   I found the location of libtool, it's there on my system /usr/lib/
   apr-1/build/libtool

   Please help me..

   Thanks.

   On Apr 12, 5:01 am, Graham Dumpleton graham.dumple...@gmail.com
   wrote:
   On 12 April 2010 07:23, Clodoaldo Neto clodoaldo.pi...@gmail.com 
   wrote:

Try as root:

# yum install python-devel httpd-devel

   The 'httpd' package may only be Apache itself and APR libraries may be
   separate packages, so may need 'devel' versions of apr and aprutil.

   This is based on it wanting to use  '/apr-1/build/libtool'. Ie., wants
   to get libtool out of APR directory.

   If after putting all development packages for Apache, APR and APR-UTIL
   it still doesn't work because '/apr-1/build/libtool' cant be found,
   then start to question whether your apxs isn't configured incorrectly.
   Where did your Apache installation come from?

   Graham

Regards, Clodoaldo

2010/4/11 MMRUser oshadha.ro...@gmail.com:
I'm using Redhat EL see the title .. I wanted to know exact 
packages
which will solve this issue.

On Apr 12, 1:52 am, Carl Nobile carl.nob...@gmail.com wrote:
What distribution are you using? There are many of them but the most
common are Red Hat, Ubuntu, Mandriva, etc.

You will find them listed in whatever package manager you are using.
If you don't know what I'm talking about then you probably should 
find
somebody that does. You need to have some experience with Linux 
admin
to be compiling anything on a UNIX/Linux box.

~Carl

On Sun, Apr 11, 2010 at 3:45 PM, MMRUser oshadha.ro...@gmail.com 
wrote:
 Where ?

 On Apr 12, 1:36 am, Carl Nobile carl.nob...@gmail.com wrote:
 These are the development packages for all the dependencies used 
 by
 mod_python. The package names are different depending on which
 distribution of Linux you are using. They will usually have dev 
 or
 devl in the name.

 ~Carl

 On Sun, Apr 11, 2010 at 3:18 PM, MMRUser 
 oshadha.ro...@gmail.com wrote:
  Can you be more specific about dev packages ..

  On Apr 12, 1:10 am, Carl Nobile carl.nob...@gmail.com wrote:
  But are the dev packages for all of those on your system? To 
  build
  mod_wsgi you not only need the libs, but you need the dev 
  packages for
  the libs also. This does for python, apache and everything 
  else.

  ~Carl

  On Sun, Apr 11, 2010 at 3:06 PM, MMRUser 
  

Re: [modwsgi] Re: How to define Authorization script

2010-04-11 Thread Graham Dumpleton
On 11 April 2010 16:41, Vishwajeet dextrou...@gmail.com wrote:


 On Apr 11, 9:45 am, Graham Dumpleton graham.dumple...@gmail.com
 wrote:
 On 11 April 2010 05:16, Vishwajeet dextrou...@gmail.com wrote:





  I don't think I have anything like that and I am sure that request is
  not going to django.
  The configuration which I have is something as shown below

     Directory /setup/trunk/sspl/src/ssplsite/data/dav/test

                 DAV on
                 AuthType Basic
                 AuthName WebDAV Authentication
                 AuthBasicProvider wsgi
                 WSGIAuthUserScript /setup/trunk/sspl/src/ssplsite/data/
  repos/svn_wsgi.py application-group=webdav
                 WSGIAuthGroupScript /setup/trunk/sspl/src/ssplsite/
  data/repos/svn_wsgi.py application-group=webdav
                 Require group allowed
                 #Require valid-user

 Not that it will necessarily make a difference, you still need the
 'Require valid-user' line.
 I had required valid-user but commented it while experimenting, you
 are right it does not makes any difference.

 BTW, it is 'mod_authz_default' that returns HTTP_UNAUTHORIZED. It
 seems that returning 401 is the correct thing to do as you want to
 give the user the option of entering different user credentials. If
 you return HTTP_FORBIDDEN then the browser will remember the user
 credentials and you will not get an option to change them as there is
 no concept of logout for Basic authentication. If you say so, it will
 even remember the credentials across browser restarts, so restarting
 browser doesn't help. I should have remembered this before when
 thought that forbidden should be returned, has to be unauthorized.
 I am not sure about this but Subversion also uses basic auth and
 returns forbidden in case you enter right credentials and do not have
 access.
 Browser restart does clear the Basic authentication as far as I have
 seen,

Sorry, my mistake. Confusing it with firewall proxy passwords which
are remembered.

 I still feel it should give 403 otherwise user will not know
 whether his credentials are wrong or he does not have access to
 resource.

Which subversion can do because it is actually providing the whole
authorization handler.

In mod_wsgi it is implementing what is called an authorization
provider, it is the whole authorization handler so technically it
isn't providing the actual HTTP response code, instead the Apache
authorization handler which uses the authorization provider is.

That said, this authorization provider mechanism will only be
introduced into Apache in version 2.3 and isn't actually a part of
Apache 2.2.

As such, I still present to the user level the same type of interface
as if it was implemented the same way so for Apache 2.2 I do control
the authorization handler.

Hope your not too confused at this point.

Now, where it gets interesting is that for Apache 2.2 I believed I was
returning the same HTTP status codes as what Apache 2.3 would when
real authorization provider mechanisms are used. As such, I was return
HTTP_UNAUTHORIZED.

It appears though that since I did that the Apache 2.3 code has
changed, and they don't always return HTTP_UNAUTHORIZED and can also
return HTTP_FORBIDDEN if certain situations exist.

The code from Apache 2.3 is now:

auth_result = apply_authz_sections(r, conf-section, AUTHZ_LOGIC_AND);

if (auth_result == AUTHZ_GRANTED) {
return OK;
}
else if (auth_result == AUTHZ_DENIED || auth_result == AUTHZ_NEUTRAL) {
if (r-ap_auth_type == NULL) {
ap_log_rerror(APLOG_MARK, APLOG_ERR, APR_SUCCESS, r,
  client denied by server configuration: %s%s,
  r-filename ?  : uri ,
  r-filename ? r-filename : r-uri);

return HTTP_FORBIDDEN;
}
else {
ap_log_rerror(APLOG_MARK, APLOG_ERR, APR_SUCCESS, r,
  user %s: authorization failure for \%s\: ,
  r-user, r-uri);

/* If we're returning 403, tell them to try again. */
ap_note_auth_failure(r);

return HTTP_UNAUTHORIZED;
}
}

The specific case where HTTP_FORBIDDEN is returned is where
r-ap_auth_type is not set.

This is an internal variable in Apache which when translated to CGI or
WSGI is what is passed in the AUTH_TYPE variable.

The variable indicates that an Apache handler handled the
authentication. For example, might be set to Basic or Digest.

This thus follows what I described previously, with Apache still
believing that failure of authorization even when authentication has
occurred, should result in HTTP_UNAUTHORIZED.

I guess what it comes down to is the meaning of HTTP_FORBIDDEN. Wikipedia says:

403 Forbidden
The request was a legal request, but the server is refusing to respond
to it. Unlike a 401 Unauthorized response, authenticating will make no
difference.


Thus, returning HTTP_FORBIDDEN