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 <[email protected]> wrote: > On 12 April 2010 14:53, MMRUser <[email protected]> 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 <[email protected]> > > wrote: > >> On 12 April 2010 13:50, MMRUser <[email protected]> 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 <[email protected]> > >> > wrote: > >> >> On 12 April 2010 07:23, Clodoaldo Neto <[email protected]> > >> >> 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 <[email protected]>: > >> >> >> 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 <[email protected]> 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 <[email protected]> > >> >> >>> wrote: > >> >> >>> > Where> ? > > >> >> >>> > On Apr 12, 1:36 am, Carl Nobile <[email protected]> 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 > >> >> >>> >> <[email protected]> wrote: > >> >> >>> >> > Can you be more specific about dev packages .. > > >> >> >>> >> > On Apr 12, 1:10 am, Carl Nobile <[email protected]> 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 > >> >> >>> >> >> <[email protected]> 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 > >> >> >>> >> >> > [email protected]. > >> >> >>> >> >> > To unsubscribe from this group, send email to > >> >> >>> >> >> > [email protected]. > >> >> >>> >> >> > For more options, visit this group > >> >> >>> >> >> > athttp://groups.google.com/group/modwsgi?hl=en. > > >> >> >>> >> >> -- > >> >> >>> >> >> ------------------------------------------------------------------------------- > >> >> >>> >> >> Carl J. Nobile (Software Engineer) > >> >> >>> >> >> [email protected] > >> >> >>> >> >> ------------------------------------------------------------------------------- > > >> >> >>> >> > -- > >> >> >>> >> > You received this message because you are subscribed to the > >> >> >>> >> > Google Groups "modwsgi" group. > >> >> >>> >> > To post to this group, send email to [email protected]. > >> >> >>> >> > To unsubscribe from this group, send email to > >> >> >>> >> > [email protected]. > >> >> >>> >> > For more options, visit this group > >> >> >>> >> > athttp://groups.google.com/group/modwsgi?hl=en. > > >> >> >>> >> -- > >> >> >>> >> ------------------------------------------------------------------------------- > >> >> >>> >> Carl J. Nobile (Software Engineer) > >> >> >>> >> [email protected] > >> >> >>> >> ------------------------------------------------------------------------------- > > >> >> >>> > -- > >> >> >>> > You received this message because you are subscribed to the > >> >> >>> > Google Groups "modwsgi" group. > >> >> >>> > To post to this group, send email to [email protected]. > >> >> >>> > To unsubscribe from this group, send email to > >> >> >>> > [email protected]. > >> >> >>> > For more options, visit this group > >> >> >>> > athttp://groups.google.com/group/modwsgi?hl=en. > > >> >> >>> -- > >> >> >>> ------------------------------------------------------------------------------- > >> >> >>> Carl J. Nobile (Software Engineer) > >> >> >>> [email protected] > >> >> >>> ------------------------------------------------------------------------------- > > >> >> >> -- > >> >> >> You received this message because you are subscribed to the Google > >> >> >> Groups "modwsgi" group. > >> >> >> To post to this group, send email to [email protected]. > >> >> >> To unsubscribe from this group, send email to > >> >> >> [email protected]. > >> >> >> For more options, visit this group > >> >> >> athttp://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 [email protected]. > >> >> > To unsubscribe from this group, send email to > >> >> > [email protected]. > >> >> > For more options, visit this group > >> >> > athttp://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 [email protected]. > >> > To unsubscribe from this group, send email to > >> > [email protected]. > >> > For more options, visit this group > >> > athttp://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 > > ... > > read more » -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
