compiling Apache module for all of httpd's architectures
Hi,
I'm trying to get CoSign ( http://www.umich.edu/~umweb/software/cosign/) up and running on my XServe (PPC) running Leopard (10.5.1). I was able to get a version of CoSign to compile and made the necessary config changes to my sites/sitename.conf files. Apache won't restart though. So, I ran a configtest and got this error:
httpd: Syntax error on line 156 of /private/etc/apache2/httpd.conf:
Cannot load /usr/libexec/apache2/mod_cosign.so into server:
dlopen(/usr/libexec/apache2/mod_cosign.so, 10): no suitable image
found. Did find:\n\t/usr/libexec/apache2/mod_cosign.so: mach-o, but
wrong architecture
It looks like I need to get mod_sign.so to compile on more achitectures; here's the "file" output for my current version:
$ file mod_cosign.so
mod_cosign.so: Mach-O bundle ppc
I have XCode 3.0 installed. Is there a way for me to compile the module using approriate CFLAGS and LDFLAGS? What might those be? How can I get XCode to compile for httpd's 4 architectures?
It looks like similar problems have happened with other modules. Here's a site I've found and am willing to try, but I'm hoping someone here has more info: http://www.fatcatsoftware.com/blog/2007/running-fogbugz-on-leopard
Thanks for your help!
Libby
I'm trying to get CoSign ( http://www.umich.edu/~umweb/software/cosign/) up and running on my XServe (PPC) running Leopard (10.5.1). I was able to get a version of CoSign to compile and made the necessary config changes to my sites/sitename.conf files. Apache won't restart though. So, I ran a configtest and got this error:
httpd: Syntax error on line 156 of /private/etc/apache2/httpd.conf:
Cannot load /usr/libexec/apache2/mod_cosign.so into server:
dlopen(/usr/libexec/apache2/mod_cosign.so, 10): no suitable image
found. Did find:\n\t/usr/libexec/apache2/mod_cosign.so: mach-o, but
wrong architecture
It looks like I need to get mod_sign.so to compile on more achitectures; here's the "file" output for my current version:
$ file mod_cosign.so
mod_cosign.so: Mach-O bundle ppc
I have XCode 3.0 installed. Is there a way for me to compile the module using approriate CFLAGS and LDFLAGS? What might those be? How can I get XCode to compile for httpd's 4 architectures?
It looks like similar problems have happened with other modules. Here's a site I've found and am willing to try, but I'm hoping someone here has more info: http://www.fatcatsoftware.com/blog/2007/running-fogbugz-on-leopard
Thanks for your help!
Libby
PowerPC XServe, Mac OS X (10.5.1), Leopard Server