Update Apache module build advice
[shibboleth/cpp-sp.git] / doc / INSTALL.txt
index e149ca9..9bfe1e5 100644 (file)
@@ -1,5 +1,5 @@
-7/31/03
-Version 1.1
+3/15/04
+Version 1.2
 
 Binary distributions of the Shibboleth code are available.
 Information on obtaining and installing binaries can be found at
@@ -24,18 +24,6 @@ however need to provide the necessary build flags during configure, or
 ideally, let our configure script use your Apache's apxs script to extract
 the necessary information.
 
-Once Apache is in place, you'll also need to build the libapreq library.
-Adjust the include path as needed.
-
-http://www.apache.org/dist/httpd/libapreq/libapreq-1.1.tar.gz
-
-$ tar xvzf libapreq-1.1.tar.gz
-$ cd libapreq-1.1
-$ ./configure --prefix=/opt/shibboleth --enable-static=no \
-    --with-apache-includes=/usr/local/apache/include
-$ make
-$ make install
-
 --- MySQL (optional)
 
 The distribution now includes a session cache plugin using embedded MySQL.
@@ -78,11 +66,12 @@ modules is more or less like building OpenSAML. You can get the code from
 CVS and run the bootstrap script if you want, or just use a source tarball.
 With the source distribution or the results of your bootstrap:
 
-$ ./configure --prefix=/opt/shibboleth --with-xmlsec=/opt/shibboleth --with-apxs -C
+$ ./configure --prefix=/opt/shibboleth --with-log4cpp=/opt/shibboleth \
+    --enable-apache-13 --with-apxs -C
 $ make
 $ make install
 
-This will build the Apache modules by extracting build settings from apxs.
+This will build the Apache 1.x modules by extracting build settings from apxs.
 The configure script will look in normal spots for the script
 (/usr/bin/apxs, /usr/local/apache/bin/apxs) but you can point it if you need to.
 
@@ -95,8 +84,7 @@ To test your installation, you can try this:
 
 $ set LD_LIBRARY_PATH=/opt/shibboleth/lib; export LD_LIBRARY_PATH
 $ cd /opt/shibboleth
-$ bin/shibtest -d etc/shibboleth/ -h foo -q urn:mace:inqueue:example.edu \
-    -r http://www.foo.edu/ -a http://wayf.internet2.edu/InQueue/AA
+$ bin/shibtest -d etc/shibboleth/ -h foo -q urn:mace:inqueue:example.edu -r http://www.foo.edu/
 
 You should get some reasonably structured output back that lists some simple
 attributes. An error here is a pretty good sign there's trouble.