I'm passing this along in case any of this is of interest to the cosign 
developers/other 10.7 installers.


So, I fixed the ./configure line and that appears to work:

sudo ./configure --enable-apache2=/usr/sbin/apxs --enable-krb --with-gss
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i686-apple-darwin11.2.0
checking host system type... i686-apple-darwin11.2.0
checking for inet_ntoa in -lnsl... no
checking for socket in -lsocket... no
apache 1.3 not enabled
checking for apache 2... using apxs2 as '/usr/sbin/apxs'
apache 2 filter will be built
lighttpd not enabled
checking for krb... Kerberos found at /usr
mysql not enabled
checking for gss... /usr
checking for ssl... /usr
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
Disabled SASL
configure: creating ./config.status
config.status: creating Makefile
config.status: creating version.c
config.status: creating cgi/Makefile
config.status: creating common/Makefile
config.status: creating html/Makefile
config.status: creating daemon/Makefile
config.status: WARNING:  daemon/Makefile.in seems to ignore the --datarootdir 
setting
config.status: creating filters/common/cosignpaths.h
config.status: creating filters/apache2/Makefile
config.status: creating common/config.h
=== configuring in libsnet (/Users/ottadmin/.Trash/cosign-3.1.2/libsnet)
configure: running /bin/sh ./configure '--prefix=/usr/local'  
'--enable-apache2=/usr/sbin/apxs' '--enable-krb' '--with-gss' '--with-sasl=no' 
--cache-file=/dev/null --srcdir=.
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i386-apple-darwin11.2.0
checking host system type... i386-apple-darwin11.2.0
checking target system type... i386-apple-darwin11.2.0
checking for SSL_accept in -lssl... yes
checking for SSLeay_version in -lcrypto... yes
checking for sasl... no
checking whether to build profiled libraries... yes
checking for ld used by GCC... 
/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld
checking if the linker 
(/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) is GNU ld... no
checking for /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld option 
to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm
checking for a sed that does not truncate output... /opt/local/bin/gsed
checking whether ln -s works... yes
checking how to recognise dependent libraries... file_magic Mach-O dynamically 
linked shared library
checking command to parse /usr/bin/nm output... rm: conftest.dSYM: is a 
directory
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
ok
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking whether the linker 
(/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports shared 
libraries... yes
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... darwin11.2.0 dyld
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
creating libtool
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
=== configuring in libcgi (/Users/ottadmin/.Trash/cosign-3.1.2/libcgi)
configure: running /bin/sh ./configure '--prefix=/usr/local'  
'--enable-apache2=/usr/sbin/apxs' '--enable-krb' '--with-gss' '--with-sasl=no' 
--cache-file=/dev/null --srcdir=.
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking build system type... i686-apple-darwin11.2.0
checking host system type... i686-apple-darwin11.2.0
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for memchr... yes
checking for memmove... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strstr... yes
checking for strtol... yes
configure: creating ./config.statu




However "make" throws up a bunch of "warnings":

sudo make
cd filters/apache2; make  all
/usr/sbin/apxs -c  -I../../common  -I/usr/include -I../../libsnet 
-I/usr/include -I../common  -L/usr/lib   -L/usr/lib  -lssl -lcrypto 
-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err  mod_cosign.c ../common/connect.c 
../common/cookiefs.c ../common/sparse.c ../../common/argcargv.c 
../../common/fbase64.c ../../common/mkcookie.c ../../common/rate.c 
../../version.c ../../libsnet/snet.c
/usr/share/apr-1/build-1/libtool --silent --mode=compile gcc    -DDARWIN 
-DSIGPROCMASK_SETS_THREAD_MASK -I/usr/local/include -I/usr/include/apache2  
-I/usr/include/apr-1   -I/usr/include/apr-1  -I../../common -I/usr/include 
-I../../libsnet -I/usr/include -I../common  -c -o mod_cosign.lo mod_cosign.c && 
touch mod_cosign.slo
mod_cosign.c: In function 'set_cosign_certs':
mod_cosign.c:957: warning: 'SSL_load_error_strings' is deprecated (declared at 
/usr/include/openssl/ssl.h:1416)
mod_cosign.c:958: warning: 'SSL_library_init' is deprecated (declared at 
/usr/include/openssl/ssl.h:1553)
mod_cosign.c:959: warning: 'SSL_CTX_new' is deprecated (declared at 
/usr/include/openssl/ssl.h:1346)
mod_cosign.c:959: warning: 'SSLv23_client_method' is deprecated (declared at 
/usr/include/openssl/ssl.h:1517)
mod_cosign.c:960: warning: 'ERR_error_string' is deprecated (declared at 
/usr/include/openssl/err.h:279)
mod_cosign.c:960: warning: 'ERR_get_error' is deprecated (declared at 
/usr/include/openssl/err.h:266)
mod_cosign.c:964: warning: 'SSL_CTX_use_PrivateKey_file' is deprecated 
(declared at /usr/include/openssl/ssl.h:1401)
mod_cosign.c:966: warning: 'ERR_error_string' is deprecated (declared at 
/usr/include/openssl/err.h:279)
mod_cosign.c:966: warning: 'ERR_get_error' is deprecated (declared at 
/usr/include/openssl/err.h:266)
mod_cosign.c:971: warning: 'SSL_CTX_use_certificate_chain_file' is deprecated 
(declared at /usr/include/openssl/ssl.h:1403)
mod_cosign.c:972: warning: 'ERR_error_string' is deprecated (declared at 
/usr/include/openssl/err.h:279)
mod_cosign.c:972: warning: 'ERR_get_error' is deprecated (declared at 
/usr/include/openssl/err.h:266)
mod_cosign.c:977: warning: 'SSL_CTX_check_private_key' is deprecated (declared 
at /usr/include/openssl/ssl.h:1475)
mod_cosign.c:978: warning: 'ERR_error_string' is deprecated (declared at 
/usr/include/openssl/err.h:279)
mod_cosign.c:978: warning: 'ERR_get_error' is deprecated (declared at 
/usr/include/openssl/err.h:266)
mod_cosign.c:984: warning: 'SSL_CTX_load_verify_locations' is deprecated 
(declared at /usr/include/openssl/ssl.h:1572)
mod_cosign.c:985: warning: 'ERR_error_string' is deprecated (declared at 
/usr/include/openssl/err.h:279)
mod_cosign.c:985: warning: 'ERR_get_error' is deprecated (declared at 
/usr/include/openssl/err.h:266)
mod_cosign.c:990: warning: 'SSL_CTX_load_verify_locations' is deprecated 
(declared at /usr/include/openssl/ssl.h:1572)
mod_cosign.c:992: warning: 'ERR_error_string' is deprecated (declared at 
/usr/include/openssl/err.h:279)
mod_cosign.c:992: warning: 'ERR_get_error' is deprecated (declared at 
/usr/include/openssl/err.h:266)
mod_cosign.c:997: warning: 'SSL_CTX_set_verify' is deprecated (declared at 
/usr/include/openssl/ssl.h:1459)
/usr/share/apr-1/build-1/libtool --silent --mode=compile gcc    -DDARWIN 
-DSIGPROCMASK_SETS_THREAD_MASK -I/usr/local/include -I/usr/include/apache2  
-I/usr/include/apr-1   -I/usr/include/apr-1  -I../../common -I/usr/include 
-I../../libsnet -I/usr/include -I../common  -c -o ../common/connect.lo 
../common/connect.c && touch ../common/connect.slo
../common/connect.c: In function 'connect_sn':
../common/connect.c:846: warning: 'ERR_error_string' is deprecated (declared at 
/usr/include/openssl/err.h:279)
../common/connect.c:846: warning: 'ERR_get_error' is deprecated (declared at 
/usr/include/openssl/err.h:266)
../common/connect.c:851: warning: 'SSL_get_peer_certificate' is deprecated 
(declared at /usr/include/openssl/ssl.h:1450)
../common/connect.c:856: warning: 'X509_NAME_get_text_by_NID' is deprecated 
(declared at /usr/include/openssl/x509.h:1099)
../common/connect.c:856: warning: 'X509_get_subject_name' is deprecated 
(declared at /usr/include/openssl/x509.h:1013)
/usr/share/apr-1/build-1/libtool --silent --mode=compile gcc    -DDARWIN 
-DSIGPROCMASK_SETS_THREAD_MASK -I/usr/local/include -I/usr/include/apache2  
-I/usr/include/apr-1   -I/usr/include/apr-1  -I../../common -I/usr/include 
-I../../libsnet -I/usr/include -I../common  -c -o ../common/cookiefs.lo 
../common/cookiefs.c && touch ../common/cookiefs.slo
/usr/share/apr-1/build-1/libtool --silent --mode=compile gcc    -DDARWIN 
-DSIGPROCMASK_SETS_THREAD_MASK -I/usr/local/include -I/usr/include/apache2  
-I/usr/include/apr-1   -I/usr/include/apr-1  -I../../common -I/usr/include 
-I../../libsnet -I/usr/include -I../common  -c -o ../common/sparse.lo 
../common/sparse.c && touch ../common/sparse.slo
/usr/share/apr-1/build-1/libtool --silent --mode=compile gcc    -DDARWIN 
-DSIGPROCMASK_SETS_THREAD_MASK -I/usr/local/include -I/usr/include/apache2  
-I/usr/include/apr-1   -I/usr/include/apr-1  -I../../common -I/usr/include 
-I../../libsnet -I/usr/include -I../common  -c -o ../../common/argcargv.lo 
../../common/argcargv.c && touch ../../common/argcargv.slo
/usr/share/apr-1/build-1/libtool --silent --mode=compile gcc    -DDARWIN 
-DSIGPROCMASK_SETS_THREAD_MASK -I/usr/local/include -I/usr/include/apache2  
-I/usr/include/apr-1   -I/usr/include/apr-1  -I../../common -I/usr/include 
-I../../libsnet -I/usr/include -I../common  -c -o ../../common/fbase64.lo 
../../common/fbase64.c && touch ../../common/fbase64.slo
/usr/share/apr-1/build-1/libtool --silent --mode=compile gcc    -DDARWIN 
-DSIGPROCMASK_SETS_THREAD_MASK -I/usr/local/include -I/usr/include/apache2  
-I/usr/include/apr-1   -I/usr/include/apr-1  -I../../common -I/usr/include 
-I../../libsnet -I/usr/include -I../common  -c -o ../../common/mkcookie.lo 
../../common/mkcookie.c && touch ../../common/mkcookie.slo
../../common/mkcookie.c: In function 'mkcookie':
../../common/mkcookie.c:70: warning: 'RAND_bytes' is deprecated (declared at 
/usr/include/openssl/rand.h:104)
/usr/share/apr-1/build-1/libtool --silent --mode=compile gcc    -DDARWIN 
-DSIGPROCMASK_SETS_THREAD_MASK -I/usr/local/include -I/usr/include/apache2  
-I/usr/include/apr-1   -I/usr/include/apr-1  -I../../common -I/usr/include 
-I../../libsnet -I/usr/include -I../common  -c -o ../../common/rate.lo 
../../common/rate.c && touch ../../common/rate.slo
/usr/share/apr-1/build-1/libtool --silent --mode=compile gcc    -DDARWIN 
-DSIGPROCMASK_SETS_THREAD_MASK -I/usr/local/include -I/usr/include/apache2  
-I/usr/include/apr-1   -I/usr/include/apr-1  -I../../common -I/usr/include 
-I../../libsnet -I/usr/include -I../common  -c -o ../../version.lo 
../../version.c && touch ../../version.slo
/usr/share/apr-1/build-1/libtool --silent --mode=compile gcc    -DDARWIN 
-DSIGPROCMASK_SETS_THREAD_MASK -I/usr/local/include -I/usr/include/apache2  
-I/usr/include/apr-1   -I/usr/include/apr-1  -I../../common -I/usr/include 
-I../../libsnet -I/usr/include -I../common  -c -o ../../libsnet/snet.lo 
../../libsnet/snet.c && touch ../../libsnet/snet.slo
../../libsnet/snet.c: In function 'snet_starttls':
../../libsnet/snet.c:151: warning: 'SSL_new' is deprecated (declared at 
/usr/include/openssl/ssl.h:1481)
../../libsnet/snet.c:154: warning: 'SSL_set_fd' is deprecated (declared at 
/usr/include/openssl/ssl.h:1370)
../../libsnet/snet.c:158: warning: 'SSL_accept' is deprecated (declared at 
/usr/include/openssl/ssl.h:1491)
../../libsnet/snet.c:160: warning: 'SSL_connect' is deprecated (declared at 
/usr/include/openssl/ssl.h:1492)
../../libsnet/snet.c: In function 'snet_write':
../../libsnet/snet.c:538: warning: 'SSL_write' is deprecated (declared at 
/usr/include/openssl/ssl.h:1495)
../../libsnet/snet.c:574: warning: 'SSL_ctrl' is deprecated (declared at 
/usr/include/openssl/ssl.h:1496)
../../libsnet/snet.c:576: warning: 'SSL_write' is deprecated (declared at 
/usr/include/openssl/ssl.h:1495)
../../libsnet/snet.c:577: warning: 'SSL_get_error' is deprecated (declared at 
/usr/include/openssl/ssl.h:1501)
../../libsnet/snet.c: In function 'snet_readread':
../../libsnet/snet.c:644: warning: 'SSL_pending' is deprecated (declared at 
/usr/include/openssl/ssl.h:1368)
../../libsnet/snet.c:671: warning: 'SSL_read' is deprecated (declared at 
/usr/include/openssl/ssl.h:1493)
/usr/share/apr-1/build-1/libtool --silent --mode=link gcc -o mod_cosign.la  
-L/usr/lib -L/usr/lib -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err 
-rpath /usr/libexec/apache2 -module -avoid-version    ../../libsnet/snet.lo 
../../version.lo ../../common/rate.lo ../../common/mkcookie.lo 
../../common/fbase64.lo ../../common/argcargv.lo ../common/sparse.lo 
../common/cookiefs.lo ../common/connect.lo mod_cosign.lo
warning: no debug symbols in executable (-arch x86_64)
rm -rf ../../common/.libs ../common/.libs ../../libsnet/.libs ../../.libs
rm -f ../../common/argcargv.slo ../../common/argcargv.lo 
../../common/mkcookie.slo ../../common/fbase64.lo ../../common/fbase64.slo 
../../common/rate.lo ../../common/rate.slo ../../common/mkcookie.lo 
../../filters/common/cookiefs.lo ../../filters/common/connect.lo 
../../filters/common/connect.slo ../../filters/common/cookiefs.slo 
../../filters/common/sparse.lo ../../filters/common/sparse.slo 
../../libsnet/snet.slo ../../libsnet/snet.lo ../../version.slo ../../version.lo
spy:cosign-3.1.2 ottadmin$ 




but "make install" seems like it worked:

sudo make install
cd filters/apache2; make  all
make[1]: Nothing to be done for `all'.
for i in filters/apache2 ; \
            do (cd $i; make  install); \
        done
/usr/sbin/apxs -i -a -n 'cosign' mod_cosign.la
/usr/share/httpd/build/instdso.sh SH_LIBTOOL='/usr/share/apr-1/build-1/libtool' 
mod_cosign.la /usr/libexec/apache2
/usr/share/apr-1/build-1/libtool --mode=install cp mod_cosign.la 
/usr/libexec/apache2/
libtool: install: cp .libs/mod_cosign.so /usr/libexec/apache2/mod_cosign.so
libtool: install: cp .libs/mod_cosign.lai /usr/libexec/apache2/mod_cosign.la
libtool: install: cp .libs/mod_cosign.a /usr/libexec/apache2/mod_cosign.a
libtool: install: chmod 644 /usr/libexec/apache2/mod_cosign.a
libtool: install: ranlib /usr/libexec/apache2/mod_cosign.a
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/libexec/apache2

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable
     during execution

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
chmod 755 /usr/libexec/apache2/mod_cosign.so
[activating module `cosign' in /private/etc/apache2/httpd.conf]



Again, just passing this on in case anybody wants me to test anything as I'm 
moving along -- I'm setting this up on a test box I can reformat while I figure 
things out, so I can always try something again if that would be of any 
assitance to anybody...

- Steve




------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Cosign-discuss mailing list
Cosign-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cosign-discuss

Reply via email to