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.

Reply via email to