Skip to Content.
Sympa Menu

shibboleth-dev - Problems Compiling 'apache.cpp'

Subject: Shibboleth Developers

List archive

Problems Compiling 'apache.cpp'


Chronological Thread 
  • From: Philip Mötteli <>
  • To:
  • Subject: Problems Compiling 'apache.cpp'
  • Date: Wed, 24 Jan 2007 15:01:43 +0100

Hi,


I don't know, if this is the right list to post this question. If not, please excuse and direct me to the right one. Thanks.

Our faculty wants me to install Shibboleth and CAS on OpenSuSE.
The system has the following edge points:

- OpenSuSE 10.2.
- gcc 4.1.2 20061115 (prerelease) (SUSE Linux)
- apache2 2.2.3.20.
- apache2-devel 2.2.3.20.
- Shibboleth-1.3

I have succeeded in installing all the libraries, Shibboleth depends on. But Shibboleth gives me some problems with its apache module:

make[2]: Entering directory `/tmp/shibboleth-1.3/apache'
if /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ - DHAVE_CONFIG_H -I. -I. -I.. -I/opt/shibboleth/include -I/opt/ shibboleth/include -pthread -O2 -DNDEBUG -DSSL_EXPERIMENTAL_ENGINE -DMAX_SERVER_LIMIT=200000 -DLDAP_DEPRECATED -DMAXLINE=4096 -O2 - fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fPIC -Wall -fno- strict-aliasing -DLDAP_DEPRECATED -pthread -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1 -I/usr/include/apache2 -pthread -Wall -O2 -DNDEBUG -MT mod_shib_20_la-mod_shib_20.lo -MD -MP -MF ".deps/mod_shib_20_la-mod_shib_20.Tpo" -c -o mod_shib_20_la- mod_shib_20.lo `test -f 'mod_shib_20.cpp' || echo './'`mod_shib_20.cpp; \
then mv -f ".deps/mod_shib_20_la-mod_shib_20.Tpo" ".deps/ mod_shib_20_la-mod_shib_20.Plo"; else rm -f ".deps/mod_shib_20_la- mod_shib_20.Tpo"; exit 1; fi
mod_apache.cpp: In function 'const char* shib_set_server_string_slot (cmd_parms*, void*, const char*)':
mod_apache.cpp:196: error: cast from 'void*' to 'int' loses precision
mod_apache.cpp: In constructor 'ShibTargetApache::ShibTargetApache (request_rec*)':
mod_apache.cpp:224: error: 'ap_http_method' was not declared in this scope
mod_apache.cpp: In function 'int shib_check_user(request_rec*)':
mod_apache.cpp:344: error: cast from 'void*' to 'int' loses precision
mod_apache.cpp:348: error: cast from 'void*' to 'int' loses precision
mod_apache.cpp: In function 'int shib_handler(request_rec*)':
mod_apache.cpp:393: error: cast from 'void*' to 'int' loses precision
mod_apache.cpp: In function 'int shib_auth_checker(request_rec*)':
mod_apache.cpp:430: error: cast from 'void*' to 'int' loses precision
make[2]: *** [mod_shib_20_la-mod_shib_20.lo] Error 1
make[2]: Leaving directory `/tmp/shibboleth-1.3/apache'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/shibboleth-1.3'
make: *** [all] Error 2


Can anybody give me an idea?


Thanks
Phil




Archive powered by MHonArc 2.6.16.

Top of Page