Graham,
Thanks for your insights. I am now able to install mod_wsgi 3.4.
Thanks,
Sree
On Wednesday, 19 March 2014 16:51:45 UTC+5:30, sree vatsa wrote:
>
> Sure Graham, I will look into it. Thanks a lot.
>
> Thanks,
> Sree
>
> On Wednesday, 19 March 2014 16:49:03 UTC+5:30, Graham Dumpleton wrote:
>>
>> Since there is no .so file in .libs, then you need to look at:
>>
>> *** Warning: linker path does not have real file for library -lgdbm.
>> *** I have the capability to make that library automatically link in when
>> *** you link to this library. But I can only do this if you have a
>> *** shared version of the library, which you do not appear to have
>> *** because I did check the linker path looking for a file starting
>> *** with libgdbm and none of the candidates passed a file format test
>> *** using a file magic. Last file checked: /usr/lib/libpthread.a
>>
>> *** Warning: libtool could not satisfy all declared inter-library
>> *** dependencies of module mod_wsgi. Therefore, libtool will create
>> *** a static module, that should work as long as the dlopening
>> *** application is linked with the -dlopen flag.
>>
>> Because of that libgdbm issue, with there being no shared version of that
>> library, it wasn't able to produce a .so version of mod_wsgi either.
>>
>> I don't know enough about cygwin to know exactly what that implies. It is
>> possible that the libraries it is looking for have .dll versions, but
>> libtool isn't recognising them.
>>
>> You are likely going to have to Google for that error message and see if
>> you can find a solution elsewhere, or find a cygwin focused forum where you
>> might get an answer.
>>
>> Graham
>>
>> On 19/03/2014, at 10:07 PM, sree vatsa <[email protected]> wrote:
>>
>> Hi Graham,
>> Yes, the following is the output for ls -las .libs,
>>
>> total 753
>> 0 drwxr-xr-x+ 1 sreevatsa.b Domain Users 0 Mar 19 16:35 .
>> 4 drwxr-xr-x+ 1 sreevatsa.b Domain Users 0 Mar 19 16:35 ..
>> 372 -rw-r--r-- 1 sreevatsa.b Domain Users 379476 Mar 19 16:35
>> mod_wsgi.a
>> 1 lrwxrwxrwx 1 sreevatsa.b Domain Users 14 Mar 19 16:35
>> mod_wsgi.la -> ../mod_wsgi.la
>> 4 -rw-r--r-- 1 sreevatsa.b Domain Users 1107 Mar 19 16:35
>> mod_wsgi.lai
>> 372 -rw-r--r-- 1 sreevatsa.b Domain Users 379296 Mar 19 16:35
>> mod_wsgi.o
>>
>>
>> Thanks,
>> Sree
>>
>> On Wednesday, 19 March 2014 16:28:25 UTC+5:30, Graham Dumpleton wrote:
>>>
>>> When you are in the mod_wsgi source code directory, after you have done
>>> 'make', what do you get for:
>>>
>>> ls -las
>>>
>>> That .libs directory should exist and if it doesn't you can't have got
>>> as far as you even did. Make sure you were in the correct directory when
>>> you were looking for it.
>>>
>>> Graham
>>>
>>> On 19/03/2014, at 9:54 PM, sree vatsa <[email protected]> wrote:
>>>
>>> Graham,
>>> Thanks for your time..
>>>
>>> The following is the output for ls -las /usr/lib/apache2,
>>> 356 -rw-r--r-- 1 sreevatsa.b Domain Users 363882 Mar 17 14:05
>>> mod_wsgi.a
>>> 4 -rw-r--r-- 1 sreevatsa.b Domain Users 1107 Mar 17 14:05
>>> mod_wsgi.la
>>>
>>> I could not find mod_wsgi in /usr/lib/apache2 directory. There
>>> are other modules as well
>>>
>>> The following is the output for ls -las .libs,
>>> ls: cannot access .libs: No such file or directory
>>>
>>> Libtool is installed in the env.
>>>
>>> Thanks,
>>> Sree
>>>
>>>
>>>
>>> On Saturday, 15 March 2014 05:04:41 UTC+5:30, Graham Dumpleton wrote:
>>>>
>>>> So what do you get for:
>>>>
>>>> ls -las /usr/lib/apache2
>>>>
>>>> and also:
>>>>
>>>> ls -las .libs
>>>>
>>>> when in the mod_wsgi source code directory.
>>>>
>>>> Graham
>>>>
>>>> On 14/03/2014, at 5:58 PM, sree vatsa <[email protected]> wrote:
>>>>
>>>> Hi,
>>>> I am not able to install mod_wsgi(version 3.4) into cygwin.
>>>> Any help would be appreciated.
>>>>
>>>> The following are the details,
>>>>
>>>> 1) When I did ./configure,
>>>> $ ./configure
>>>> checking for apxs2... /usr/sbin/apxs2
>>>> checking Apache version... 2.2.23
>>>> checking for python... /usr/bin/python
>>>> configure: creating ./config.status
>>>> config.status: creating Makefile
>>>>
>>>> 2) make
>>>> /usr/sbin/apxs2 -c -I/usr/include/python2.7 -DNDEBUG mod_wsgi.c
>>>> -L/usr/lib -L/usr/lib/python2.7/config -lpython2.7 -ldl
>>>> /usr/share/apr/build-1/libtool --silent --mode=compile gcc -prefer-pic
>>>> -ggdb -O2 -pipe
>>>> -fdebug-prefix-map=/usr/src/ports/apache2/apache2-2.2.23-2/build=/usr/src/debug/apache2-2.2.23-2
>>>>
>>>> -fdebug-prefix-map=/usr/src/ports/apache2/apache2-2.2.23-2/src/httpd-2.2.23=/usr/src/debug/apache2-2.2.23-2
>>>>
>>>> -DCYGWIN -I/usr/include/apache2 -I/usr/include/apr-1
>>>> -I/usr/include/apr-1 -I/usr/include -I/usr/include/python2.7 -DNDEBUG -c
>>>> -o mod_wsgi.lo mod_wsgi.c && touch mod_wsgi.slo
>>>> /usr/share/apr/build-1/libtool --silent --mode=link gcc -o mod_wsgi.la
>>>> -rpath /usr/lib/apache2 -module -avoid-version -no-undefined -shrext .so
>>>> -lhttpd2core -L/usr/lib /usr/lib/libaprutil-1.la -lldap -llber
>>>> -ldb-4.8 -lgdbm -lexpat -liconv /usr/lib/libapr-1.la -luuid -lcrypt
>>>> mod_wsgi.lo -L/usr/lib -L/usr/lib/python2.7/config -lpython2.7 -ldl
>>>>
>>>> *** Warning: linker path does not have real file for library -lgdbm.
>>>> *** I have the capability to make that library automatically link in
>>>> when
>>>> *** you link to this library. But I can only do this if you have a
>>>> *** shared version of the library, which you do not appear to have
>>>> *** because I did check the linker path looking for a file starting
>>>> *** with libgdbm and none of the candidates passed a file format test
>>>> *** using a file magic. Last file checked: /usr/lib/libpthread.a
>>>>
>>>> *** Warning: libtool could not satisfy all declared inter-library
>>>> *** dependencies of module mod_wsgi. Therefore, libtool will create
>>>> *** a static module, that should work as long as the dlopening
>>>> *** application is linked with the -dlopen flag.
>>>>
>>>> 3) make install
>>>> /usr/sbin/apxs2 -i -S LIBEXECDIR=/usr/lib/apache2 -n
>>>> 'mod_wsgi' mod_wsgi.la
>>>> /usr/share/apache2/build/instdso.sh
>>>> SH_LIBTOOL='/usr/share/apr/build-1/libtool' mod_wsgi.la/usr/lib/apache2
>>>> /usr/share/apr/build-1/libtool --mode=install cp
>>>> mod_wsgi.la/usr/lib/apache2/
>>>> libtool: install: cp .libs/mod_wsgi.lai /usr/lib/apache2/mod_wsgi.la
>>>> libtool: install: cp .libs/mod_wsgi.a /usr/lib/apache2/mod_wsgi.a
>>>> libtool: install: chmod 644 /usr/lib/apache2/mod_wsgi.a
>>>> libtool: install: ranlib /usr/lib/apache2/mod_wsgi.a
>>>> chmod 755 /usr/lib/apache2/mod_wsgi.so
>>>> chmod: cannot access `/usr/lib/apache2/mod_wsgi.so': No such file or
>>>> directory
>>>> apxs:Error: Command failed with rc=65536
>>>> .
>>>> Makefile:35: recipe for target 'install' failed
>>>> make: *** [install] Error 1
>>>>
>>>>
>>>>
>>>>
>>>> Thanks,
>>>> Sree
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "modwsgi" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> To post to this group, send email to [email protected].
>>>> Visit this group at http://groups.google.com/group/modwsgi.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>>
>>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "modwsgi" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at http://groups.google.com/group/modwsgi.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>>
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "modwsgi" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/modwsgi.
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
--
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.