Hi Markus, Am 21.03.2013 um 15:22 schrieb Markus Sonnenberg <[email protected]>: > never mind. i was missing apache2_dev. > > however, any way to tell apxs to use gcc instead of sun cc?
That is hard as you need to rewrite compiler flags. > i had solarisstudio12.3 already installed but had to create a link to get > apxs to work. > 'ln -s /opt/sunstudio12.3/bin/cc /opt/SUNWspro/bin/cc' This is the correct solution. BEst regards -- Dago > > > regards > markus > > ct, > > On 3/21/2013 3:16 PM, Markus Sonnenberg wrote: >> Hi, >> >> i want to compile 'pwauth' on a solaris 10 box and therefore i need to >> have mod_auth_external compiled. since i have apache2 from opencsw i >> thought someone on this list could give me some helping hints on this. >> >> i'm getting the following. >> <snip> >> ismine/Download/mod_auth_external-2.2.11# /opt/csw/apache2/sbin/apxs -c >> mod_auth_external.c >> /opt/csw/libexec/apr/build-1/libtool --silent --mode=compile >> /opt/SUNWspro/bin/cc -prefer-pic -DSSL_EXPERIMENTAL -DSSL_ENGINE -xO3 -m32 >> -xarch=v8 -DSOLARIS2=9 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT >> -D_LARGEFILE64_SOURCE -mt -I/opt/csw/apache2/include -I/opt/csw/include >> -I/opt/csw/include -I/opt/csw/bdb48/include -c -o mod_auth_external.lo >> mod_auth_external.c && touch mod_auth_external.slo >> cc: Warning: illegal use of -xarch option, illegal value ignored: v8 >> "mod_auth_external.c", line 224: cannot find include file: "httpd.h" >> "mod_auth_external.c", line 225: cannot find include file: "http_config.h" >> "mod_auth_external.c", line 226: cannot find include file: "http_core.h" >> "mod_auth_external.c", line 227: cannot find include file: "http_log.h" >> "mod_auth_external.c", line 228: cannot find include file: "http_protocol.h" >> "mod_auth_external.c", line 229: cannot find include file: "http_request.h" >> "mod_auth_external.c", line 237: bad token in #error directive: 2.0.0 >> "mod_auth_external.c", line 237: #error: This module requires Apache 2.0.0 >> or later. >> cc: acomp failed for mod_auth_external.c >> apxs:Error: Command failed with rc=65536 >> . >> ismine/Download/mod_auth_external-2.2.11# >> </snip> >> >> is there anything i'm missing? >> >> regards >> markus >> >> ct, >> _______________________________________________ >> users mailing list >> [email protected] >> https://lists.opencsw.org/mailman/listinfo/users >> > _______________________________________________ > users mailing list > [email protected] > https://lists.opencsw.org/mailman/listinfo/users -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 _______________________________________________ users mailing list [email protected] https://lists.opencsw.org/mailman/listinfo/users
