[pubcookie-users] Problem compiling Pubcookie 3.3.2c on Debian Etch
x86
Matt Weatherford
mbw at u.washington.edu
Thu Mar 22 12:13:37 PDT 2007
Hi,
Im trying to get Pubcookie 3.3.2c compiled on x86 Debian Debain Etch with
Apache 2.2 and have got the "./configure" working, but the "make" fails
without a useful error message... it seems like I might be missing some
local apache2 sources or something, but I think I have everything installed
that I need (apache2-threaded-dev, openssl, apache2-src) ... any ideas?
Thanks in advance,
-Matt
yadda:/usr/share/apache2/build/build# apt-show-versions | grep apache
apache2/etch uptodate 2.2.3-3.3
libapache2-mod-auth-pam/etch uptodate 1.1.1-6.1
apache2-utils/etch uptodate 2.2.3-3.3
apache2-doc/etch uptodate 2.2.3-3.3
apache2-src/etch uptodate 2.2.3-3.3
apache2-threaded-dev/etch uptodate 2.2.3-3.3
apache2-mpm-worker/etch uptodate 2.2.3-3.3
apache2.2-common/etch uptodate 2.2.3-3.3
yadda:/usr/share/apache2/build/build#
yadda:/etc/apache2/pubcookie/src/pubcookie-3.3.2c# ./configure
--prefix=/etc/apache2/pubcookie --with-apxs=/usr/bin/apxs2
configure: Configuring for Pubcookie 3.3.2c
checking if I should build the apache module... yes
checking if I should build the login cgi... no
checking for gcc... gcc
checking for C compiler default output... 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 ANSI C... none needed
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for AIX... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking for gawk... no
checking for mawk... mawk
checking for ar... /usr/bin/ar
checking for rm... /bin/rm
checking for cp... /bin/cp
checking for sed... /bin/sed
checking for tar... /bin/tar
checking for gzip... /bin/gzip
checking for mkdir... /bin/mkdir
checking for mv... /bin/mv
checking for chmod... /bin/chmod
checking for test... /usr/bin/test
checking for make... /usr/bin/make
checking for gmake... no
checking for pwd... /etc/apache2/pubcookie/src/pubcookie-3.3.2c
checking for ls... /bin/ls
checking for ranlib... /usr/bin/ranlib
checking if /usr/bin/make is GNU make ... yes
checking for apache src... no
checking for apxs2... /usr/bin/apxs2
checking if /usr/bin/apxs2 works ... yes
checking Apache version... 2
checking for socket in -lsocket... no
checking for gethostent in -lnsl... yes
checking for dlopen in -ldl... yes
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... 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 arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking varargs.h usability... no
checking varargs.h presence... no
checking for varargs.h... no
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for sys/types.h... (cached) yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking for sys/stat.h... (cached) yes
checking sysexits.h usability... yes
checking sysexits.h presence... yes
checking for sysexits.h... yes
checking mango/messages.h usability... no
checking mango/messages.h presence... no
checking for mango/messages.h... no
checking mango/mgoapi2.h usability... no
checking mango/mgoapi2.h presence... no
checking for mango/mgoapi2.h... no
checking mango/sidapi.h usability... no
checking mango/sidapi.h presence... no
checking for mango/sidapi.h... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking fnmatch.h usability... yes
checking fnmatch.h presence... yes
checking for fnmatch.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for LOG_AUTHPRIV in syslog.h... found
checking for LOG_MAKEPRI in syslog.h... found
checking for LOG_FAC in syslog.h... found
checking for facilitynames in syslog.h... found
checking audit log facility... LOG_AUTHPRIV
checking general log facility... LOG_AUTHPRIV
checking for openssl krb5 includes... none
checking for ERR_load_ASN1_strings in -lcrypto... yes
checking for SSL_library_init in -lssl... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking openssl/crypto.h usability... yes
checking openssl/crypto.h presence... yes
checking for openssl/crypto.h... yes
checking openssl/x509.h usability... yes
checking openssl/x509.h presence... yes
checking for openssl/x509.h... yes
checking openssl/pem.h usability... yes
checking openssl/pem.h presence... yes
checking for openssl/pem.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking openssl/rand.h usability... yes
checking openssl/rand.h presence... yes
checking for openssl/rand.h... yes
checking openssl/des.h usability... yes
checking openssl/des.h presence... yes
checking for openssl/des.h... yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for working memcmp... yes
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... no
checking for bzero... yes
checking for dup2... yes
checking for gethostbyname... yes
checking for gethostname... yes
checking for getspnam... yes
checking for gettimeofday... yes
checking for memset... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strstr... yes
checking for uname... yes
checking for strlcpy... no
checking for strlcat... no
checking for bcopy... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking whether to enable maintainer-specific portions of Makefiles... no
Copying apache module sources to module.
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/pbc_path.h
config.status: creating src/pbc_version.h
config.status: creating cgic/Makefile
config.status: creating src/Win32/PubCookieFilter.h
config.status: creating src/Win32/PubCookieFilter.rc
config.status: creating stamp-h
config.status: creating module/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
yadda:/etc/apache2/pubcookie/src/pubcookie-3.3.2c# make
gcc -c -g -O2 -I/usr/include/openssl -DHAVE_CONFIG_H -DLOGIN_SERVER -I./src
src/libpubcookie.c -o src/libpubcookie.o
gcc -c -g -O2 -I/usr/include/openssl -DHAVE_CONFIG_H -DLOGIN_SERVER -I./src
src/base64.c -o src/base64.o
gcc -c -g -O2 -I/usr/include/openssl -DHAVE_CONFIG_H -DLOGIN_SERVER -I./src
src/strlcpy.c -o src/strlcpy.o
gcc -c -g -O2 -I/usr/include/openssl -DHAVE_CONFIG_H -DLOGIN_SERVER -I./src
src/pbc_myconfig.c -o src/pbc_myconfig.o
gcc -c -g -O2 -I/usr/include/openssl -DHAVE_CONFIG_H -DLOGIN_SERVER -I./src
src/security_legacy.c -o src/security_legacy.o
gcc -c -g -O2 -I/usr/include/openssl -DHAVE_CONFIG_H -DLOGIN_SERVER -I./src
src/pbc_logging.c -o src/pbc_logging.o
gcc -c -g -O2 -I/usr/include/openssl -DHAVE_CONFIG_H -DLOGIN_SERVER -I./src
src/capture_cmd_output.c -o src/capture_cmd_output.o
gcc -c -g -O2 -I/usr/include/openssl -DHAVE_CONFIG_H -DLOGIN_SERVER -I./src
src/pbc_configure.c -o src/pbc_configure.o
gcc -c -g -O2 -I/usr/include/openssl -DHAVE_CONFIG_H -DLOGIN_SERVER -I./src
src/pbc_time.c -o src/pbc_time.o
gcc -g -O2 -I/usr/include/openssl -DHAVE_CONFIG_H -DLOGIN_SERVER -I./src -o
keyclient ./src/keyclient.o ./src/libpubcookie.o ./src/base64.o
./src/strlcpy.o ./src/pbc_myconfig.o ./src/security_legacy.o
./src/pbc_logging.o ./src/capture_cmd_output.o ./src/pbc_configure.o
./src/pbc_time.o -L/usr/lib/gcc/i486-linux-gnu/4.1.2 -L/usr/local/ssl/lib
-lssl -lcrypto -ldl -lnsl -lgcc -lssl -lcrypto -ldl -lnsl -lgcc
(cd module; make)
make[1]: Entering directory `/etc/apache2/pubcookie/src/pubcookie-3.3.2c/module'
/usr/share/apache2/build/special.mk:27: /build/rules.mk: No such file or
directory
make[1]: *** No rule to make target `/build/rules.mk'. Stop.
make[1]: Leaving directory `/etc/apache2/pubcookie/src/pubcookie-3.3.2c/module'
make: *** [apache_module] Error 2
yadda:/etc/apache2/pubcookie/src/pubcookie-3.3.2c#
--
Matt Weatherford
Computing Core Director
Center for Studies in Demography and Ecology
218H Raitt Hall, Box 353412
University of Washington
Seattle, WA, USA, 98195 206-616-6169
http://csde.washington.edu
More information about the pubcookie-users
mailing list