Skip to Content.
Sympa Menu

shibboleth-dev - Re: Problems Compiling 'apache.cpp'

Subject: Shibboleth Developers

List archive

Re: Problems Compiling 'apache.cpp'


Chronological Thread 
  • From: Philip Mötteli <>
  • To:
  • Subject: Re: Problems Compiling 'apache.cpp'
  • Date: Wed, 31 Jan 2007 09:32:52 +0100

Hello,


Am 25.01.2007 um 18:11 schrieb Scott Cantor:

I followed your recommendation and tried it on a 32bit OpenSuSE 10.2
installation. And yes, it has less errors:

I don't support SUSE, so I have no direct experience with it. I can't say
anything one way or the other as to whether the code builds there right now.
I thought it did, but Apache is a moving target these days.

I checked out the SVN cpp-sp and bootstrapped:

You're using trunk, that isn't stable. I was talking about the 1.3 branch,
Rel_1_3.

Sorry, changed that (on a 32bit machine):

Well, I can't compare, but already the bootstrap doesn't seem to me very kosher:

aaitest:/usr/src/SVN/cpp-sp/branches/Rel_1_3 # ./bootstrap
./bootstrap: line 8: aclocal-1.7: command not found
./bootstrap: line 8: autoheader-2.53: command not found
./bootstrap: line 8: automake-1.7: command not found
./bootstrap: line 8: autoconf-2.53: command not found
+ rm -rf autom4te.cache
+ aclocal -I .
acinclude.m4:57: warning: underquoted definition of YAD_CHECK_INCLUDE_LIB
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending- aclocal
+ autoheader
+ automake --foreign --add-missing --copy
+ autoconf


Probably the error is already in the bootstrap. But for the sake of completeness, here the output of 'configure':

aaitest:/usr/src/SVN/cpp-sp/branches/Rel_1_3 # ./configure --enable- apache-20 --with-apr=/usr/bin/apr-1-config --with-apxs2=/usr/sbin/apxs2
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
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 style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking build system type... i686-suse-linux-gnu
checking host system type... i686-suse-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by gcc... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking whether the compiler implements namespaces... yes
checking whether the compiler supports Standard Template Library... yes
checking whether the compiler implements namespaces... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for strftime... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking for strchr... yes
checking for strdup... yes
checking for strstr... yes
checking for gmtime_r... yes
checking for ctime_r... yes
checking for strtok_r... yes
checking for strcasecmp... yes
checking for dlfcn.h... (cached) yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc
checking for pthread_rwlock_init... yes
checking for library containing svcfd_create... none required
checking for library containing socket... none required
configure: does the native Sun RPC library support svcfd_create...yes
configure: WARNING: embedded Sun RPC library does not support Linux
checking whether svcfd_create is declared... no
checking for pkg-config... /usr/bin/pkg-config
checking for OpenSSL libraries... -lssl -lcrypto -ldl -lz
checking for OpenSSL cflags...
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking for ERR_load_CRYPTO_string... yes
checking for SSL_library_init... yes
checking for log4cpp-config... /usr/local/bin/log4cpp-config
checking log4cpp/Category.hh usability... yes
checking log4cpp/Category.hh presence... yes
checking for log4cpp/Category.hh... yes
checking xercesc/dom/DOM.hpp usability... yes
checking xercesc/dom/DOM.hpp presence... yes
checking for xercesc/dom/DOM.hpp... yes
checking Xerces version... OK
checking for xsec/xenc/XENCEncryptionMethod.hpp... yes
checking saml/saml.h usability... yes
checking saml/saml.h presence... yes
checking for saml/saml.h... yes
checking for NSAPI module option... no
checking whether to build Apache 1.3 module... no
checking whether to build Apache 2.0 module... yes
checking for user-specified Apache2 apxs name/location... "/usr/sbin/ apxs2"
checking to see if Apache2 apxs was located... /usr/sbin/apxs2
checking for user-specified apr-config name/location... "/usr/bin/ apr-1-config"
checking whether to build Apache 2.2 module... no
checking whether to build the MySQL ccache... yes, if it can be found
checking for mysql_config... /usr/bin/mysql_config
checking for mysql version >= 4... yes
checking for embedded-MySQL libraries... yes
checking mysql.h usability... yes
checking mysql.h presence... yes
checking for mysql.h... yes
checking if we can link againt mysql... no. skipping MySQL
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating shib/Makefile
config.status: creating schemas/Makefile
config.status: creating configs/Makefile
config.status: creating oncrpc/Makefile
config.status: creating oncrpc/rpc/Makefile
config.status: creating shib-target/Makefile
config.status: creating shar/Makefile
config.status: creating siterefresh/Makefile
config.status: creating test/Makefile
config.status: creating xmlproviders/Makefile
config.status: creating adfs/Makefile
config.status: creating selinux/Makefile
config.status: creating nsapi_shib/Makefile
config.status: creating apache/Makefile
config.status: creating shib-mysql-ccache/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands


And here the compiling stopper:

make do-build-file FILE=apache22.config
make[3]: Entering directory `/usr/src/SVN/cpp-sp/branches/Rel_1_3/ configs'
rm -f apache22.config.tmp
sed < ./apache22.config.in > apache22.config.tmp \
-e 's:@-PREFIX-@:/usr/local:' \
-e 's:@-LIBEXECDIR-@:/usr/local/libexec:' \
-e 's:@-PKGSYSCONFDIR-@:/usr/local/etc/shibboleth:' \
-e 's:@-PKGXMLDIR-@:/usr/local/share/xml/shibboleth:' \
-e 's:@-PKGLOGDIR-@:/usr/local/var/log/shibboleth:' \
-e 's:@-SHIRELOGDIR-@:/usr/local/var/log/httpd:' \
-e 's:@-VARRUNDIR-@:/usr/local/var/run:'
cmp -s apache22.config apache22.config.tmp || mv apache22.config.tmp apache22.config
rm -f apache22.config.tmp
make[3]: Leaving directory `/usr/src/SVN/cpp-sp/branches/Rel_1_3/ configs'
make[2]: *** No rule to make target `inqueue.pem', needed by `all- am'. Stop.
make[2]: Leaving directory `/usr/src/SVN/cpp-sp/branches/Rel_1_3/ configs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/SVN/cpp-sp/branches/Rel_1_3'
make: *** [all] Error 2


Do I have to conclude, that it is not possible to use Shibboleth on OpenSuSE 10.2?


Thanks for all your help
Phil




Archive powered by MHonArc 2.6.16.

Top of Page