https://issues.apache.org/bugzilla/show_bug.cgi?id=48466

           Summary: unable to build module as .so - apxs failure
           Product: Apache httpd-2
           Version: 2.0.63
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Build
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Taken from:

http://httpd.apache.org/docs/2.0/programs/apxs.html

For a quick test of the apxs mechanism you can create a sample Apache module
template plus a corresponding Makefile via:

$ apxs -g -n foo
Creating [DIR] foo
Creating [FILE] foo/Makefile
Creating [FILE] foo/mod_foo.c

   Up to here I think everything is ok

When I do:

$ make all

bin/sh /usr/share/apache_2.0.63/build/libtool --silent --mode=compile gcc  -g
-O2 -pthread    -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-DAP_HAVE_DESIGNATED_INITIALIZER  
-I/usr/src/Apache/httpd-2.0.63/srclib/apr/include
-I/usr/src/Apache/httpd-2.0.63/srclib/apr-util/include -I.
-I/usr/share/apache_2.0.63/os/unix
-I/usr/share/apache_2.0.63/server/mpm/prefork
-I/usr/share/apache_2.0.63/modules/http
-I/usr/share/apache_2.0.63/modules/filters
-I/usr/share/apache_2.0.63/modules/proxy -I/usr/share/apache_2.0.63/include
-I/usr/share/apache_2.0.63/modules/generators
-I/usr/share/openssl-0.9.8j/include/openssl -I/usr/share/openssl-0.9.8j/include
-I/usr/share/apache_2.0.63/modules/dav/main -prefer-pic -c mod_foo.c && touch
mod_foo.slo
/bin/sh /usr/share/apache_2.0.63/build/libtool --silent --mode=link gcc  -g -O2
-pthread    -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-DAP_HAVE_DESIGNATED_INITIALIZER  
-I/usr/src/Apache/httpd-2.0.63/srclib/apr/include
-I/usr/src/Apache/httpd-2.0.63/srclib/apr-util/include -I.
-I/usr/share/apache_2.0.63/os/unix
-I/usr/share/apache_2.0.63/server/mpm/prefork
-I/usr/share/apache_2.0.63/modules/http
-I/usr/share/apache_2.0.63/modules/filters
-I/usr/share/apache_2.0.63/modules/proxy -I/usr/share/apache_2.0.63/include
-I/usr/share/apache_2.0.63/modules/generators
-I/usr/share/openssl-0.9.8j/include/openssl -I/usr/share/openssl-0.9.8j/include
-I/usr/share/apache_2.0.63/modules/dav/main -export-dynamic
-L/usr/share/openssl-0.9.8j/lib      -o mod_foo.la -rpath
/usr/share/apache_2.0.63/modules -module -avoid-version  mod_foo.lo


And there is no .so file, so the install fails.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to